Soft key crashes program but works in Flash 8 emulator
I am developing for the Nokia E62 in Flashlite 2.1 using
Flash 8, The E62 is a Symbian S60 v 3 phone with a 320 x 240 pixel
screen. The Flashlite 2.1 standalone player works fine on it but
the phone comes only with a Flashlite 1.1 player. Flash 8 does not
have a Flashlite 2.1 device profile available for the Nokia E62, so
I am using teh generic Windows Mobile profile as it is the only one
with the proper screen size.
My program works on the emulator but when I test it on the
phone, pressing the soft key crashes the program (my program quits
but the standalone Flash 2,1 Player dos not die and I am returned
to its menu fo choosing a movie to run.) In a previous version of
the program, I was able to make the soft keys work fine on the
phone so I know that the phone supports remapping softkeys.
I am working in fullscreen mode so the Symbian system labels
for the softkeys are not visible. Nonetheless, my past experience
is that the program will crash if I do not use the fscommand2
command:
fscommand2("SetSoftKeys", "Menu", "Submit");
Anyway, here is the code to handle softkeys which crashes on
the phone when either soft key is pressed, but works on the
emulator:
fscommand2("SetSoftKeys", "Menu", "Submit");
var softListener = new Object();
softListener.onKeyDown = function() {
var code = Key.getCode();
switch(code) {
case ExtendedKey.SOFT1:
_root.gotoAndStop(3);
break;
case ExtendedKey.SOFT2:
submit();
break;
Key.addListener(softListener);
It appears that the phone crashes in the
softListener.onKeyDown routine and not later on in the submit
function.
Thanks!
What is the difference in how soft keys are used between AS 1
and AS 2?
I was publishing in Actionscript 2, but you are right, my
code is AS1-style on the timeline, not AS2 using external class
files. I wanted to publish as AS 2 to use strict typing in order to
debug more easily.
Except that in the snippet I sent, I declared
var softLIstener = new Object() instead of
var softListener:Object = new Object()
and I did not do the type declarations in the function
definition...
So should I get rid of all the places where I did declare
types and publish as AS1? Or do the declarations consistently and
keep it AS2? If this is Flashlite 2.1, doesn't that mean I get
Flash 7 - style AS 1 and not Flash 5 style? AS 1 prior to Flash MX
is really limited and I don't remember it well. I thought AS 2 was
backward compatible with AS 1 so that my hybrid code should work as
AS 2. It does in the non-mobile versions of Flash...
Similar Messages
-
microsoft office 2008 keeps crashing - program has worked fine for the last 3.5 years, but now crashes v. often - why? computer too old? any way to fix?
http://answers.microsoft.com/en-us/mac/forum/macoffice2008?tab=Threads
27" i7 iMac (Mid 2011) refurb, OS X Yo (10.10.2), Mavs, ML & SL, G4 450 MP w/10.5 & 9.2.2 -
After update to Firefox 18 Firefox keeps crashing within few mins of opening. At the time of crashing Firefox Freeze and CPU usage rise upto 50% in my Windows 7. NO matter how many tab I open in my Firefox even Firefox crash when I just open 1-2 tab.
I disable Hardware Acceleration but still face same problem. But its working fine in Safe Mode.
Here is my last few crash report
http://crash-stats.mozilla.com/report/index/bp-9b6f1cac-55ec-49c0-91ee-b99fe2130115
Report id - f2b23dc8-95bc-47b9-9f88-5394c1ac5ed6 (http://crash-stats.mozilla.com/about/throttling)
http://crash-stats.mozilla.com/report/index/bp-438ff7cc-167c-4d70-a893-bb8942130114
http://crash-stats.mozilla.com/report/index/bp-8750d31d-51e3-4b08-8a2b-4ce412130114If it works in Firefox Safe-mode then disable all extensions (Tools > Add-ons > Extensions) and then try to find which is causing it by enabling one extension at a time until the problem reappears.
Close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")
*https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
Which security software (firewall, anti-virus) do you have?
Try to boot the computer in Windows Safe mode with network support (press F8 on the boot screen) as a test to see if that helps. -
Yet another Crashing iPhoto, but works in another account
iPhoto crashes on start up, the report log gives this bit of information
Thread 4 Crashed:
0 com.apple.CoreFoundation 0x0150a5c4 0x1505000 + 21956
1 com.apple.MediaBrowser 0x3e6622cc -[MediaGrabberiTunes _loadMusicThreaded] + 636
2 com.apple.Foundation 0x02a8e1a0 forkThreadForFunction + 108
3 libSystem.B.dylib 0x01e14d08 0x1de9000 + 179464
I have searched thru this forum and done a Google search on iPhoto crashes.
I have Verfied the drive using Techtools - this corrects any errors in the file system. I have corrected the permissions.
I have removed the iPhoto library and the crash still occurs.
I have created a new account on the system and iPhoto runs ok when started from the new account.
What has changed since I last remember using it in March, I have updated iTunes and I believe iPhoto and also OSX and added an iPod for synching with iTunes, and the pictures in iPhoto.
Fortunately I do not use iPhoto for storing my photos, I use Finder and a series of date related folders and use either Qpict or Preview for slideshows.
I only use iPhoto for when I want to put images on Home page or transfer viewable images to the iPod - so this is not a life crisis issue but I would like to get it fixed.
So please can any one suggest any other activities I should do to get iPhoto working.
Thanks for any comments
G5 Dual 2.0mhz Mac OS X (10.4.10) 3.5gb memory
G5 Dual 2.0mhz Mac OS X (10.4.10) 3.5gb memory
G5 Dual 2.0mhz Mac OS X (10.4.10) 3.5gb memorycwog:
Welcome to the Apple Discussions. First delete your iPhoto preference file, com.apple.iPhoto.plist, from your User/Library/Preferences folder. If that doesn't help then it may be another preference file in your Preference folder. Here's a method to see if it's one of the other files;
Trouble Shooting Preferences
Go to HD/Users/Your_name/Library. Move the Preferences folder (in its entirety) to the Desktop and make a second copy of it so you have Copy A and B. Now try the the process again and determine if problem is fixed.
If the problem IS fixed, then go to the new Prefs folder that the OS will have created and open it up.
Open Copy B on the Desktop and select all of the items inside. Drag them into the open new library folder. When the Copy window comes up check the Apply to All check box and then click on the Don't Replace button as seen here. That will keep the new files created and bring back all of the others.
If the problem is NOT fixed, trash the new Prefs folder and move the intact Copy A folder back to the Library folder .
Do you Twango?
TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
I've written an Automator workflow application (requires Tiger), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file. -
HttpServices not working Online but working with Flash Builder
I am using Flash Builder and worked on different modules. it works perfectly
when am testing with Flash Builder
but once i close it, the httpservices stop working. I search and now got
error message i.e.
===============================================
Can't load data: (mx.messaging.messages::ErrorMessage)#0
body = ""
clientId = "DirectHTTPChannel0"
correlationId = "A10EF203-C28B-A5C6-73D6-1C765EAA0714"
destination = ""
extendedData = (null)
faultCode = "Server.Error.Request"
faultDetail = "Error: [IOErrorEvent type="ioError" bubbles=false
cancelable=false eventPhase=2 text="Error #2032: Stream Error. URL:
http://localhost:37813/1/users/show.xml?screen_name=charagh?hostport=api.twitter.com&https =N&id=A10EF203-C28B-A5C6-73D6-1C765EAA0714"].
URL: http://api.twitter.com/1/users/show.xml?screen_name=charagh"
faultString = "HTTP request error"
headers = (Object)#1
DSStatusCode = 0
messageId = "542DB993-AA3F-7E05-636C-1C7662BB7FFF"
rootCause = (flash.events::IOErrorEvent)#2
bubbles = false
cancelable = false
currentTarget = (flash.net::URLLoader)#3
bytesLoaded = 0
bytesTotal = 0
data = ""
dataFormat = "text"
errorID = 0
eventPhase = 2
target = (flash.net::URLLoader)#3
text = "Error #2032: Stream Error. URL:
http://localhost:37813/1/users/show.xml?screen_name=charagh?hostport=api.twitter.com&https =N&id=A10EF203-C28B-A5C6-73D6-1C765EAA0714
type = "ioError"
timestamp = 0
timeToLive = 0
===============================================
my code i.e.
==================
<?xml version="1.0" encoding="utf-8"?>
<mx:Module xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
width="550" height="58" backgroundAlpha="1.0"
backgroundColor="#000000"
borderVisible="false" creationComplete="init(event)"
layout="absolute">
<fx:Script>
<![CDATA[
import mx.events.FlexEvent;
import mx.rpc.events.FaultEvent;
import mx.rpc.events.ResultEvent;
import mx.controls.Alert;
import mx.rpc.http.HTTPService;
private var twitterText:String;
private var twitterCount:String;
private var tweetdate:String;
private var twitterImage:String;
protected function
image1_clickHandler(event:MouseEvent):void
navigateToURL(new URLRequest("
https://twitter.com/charagh"),"_blank");
protected function init(event:FlexEvent):void
twitterText = "charagh";
tweetUser.url="
http://api.twitter.com/1/users/show.xml?screen_name="+twitterText;
tweetUser.send();
protected function
tweetUser_resultHandler(event:ResultEvent):void
tweetdate =
event.result.user.status.created_at;
twitterCount =
event.result.user.status.text " "tweetdate;
twitterImage =
event.result.user.profile_image_url;
protected function
tweetUser_faultHandler(event:FaultEvent):void
Alert.show("Can't load data: " +
event.message);
]]>
</fx:Script>
<fx:Declarations>
<s:HTTPService id="tweetUser" method="GET"
result="tweetUser_resultHandler(event)"
fault="tweetUser_faultHandler(event)">
</s:HTTPService>
</fx:Declarations>
<s:Image buttonMode="true" width="48" height="48" x="5" y="5"
click="image1_clickHandler(event)" source=""/>
<s:Label id="twitterNumber" x="56" y="5" width="488" height="47"
color="#EDEDED"
fontFamily="Georgia" fontSize="12"
fontWeight="normal" text=""
textAlign="center" verticalAlign="middle"/>
</mx:Module>
===================
Regards,
Asim Ahmed
~ http://www.charag.com ~updated code: with cross domain policy! but still getting error
<?xml version="1.0" encoding="utf-8"?>
<mx:Module xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
width="550" height="58" backgroundAlpha="1.0" backgroundColor="#000000"
borderVisible="false" creationComplete="init(event)" layout="absolute">
<fx:Style>
@namespace s "library://ns.adobe.com/flex/spark";
@namespace mx "library://ns.adobe.com/flex/mx";
@font-face{
src: url("./module/font/fonts/DroidSans.ttf");
fontFamily: "Base02";
mx|Alert {
titleStyleName: "alertTitle";
messageStyleName: "alertMessage";
buttonStyleName: "alertButton";
cornerRadius: 0;
embedFonts: true;
fontFamily: Base02;
backgroundColor:aqua;
.alertButton {
letterSpacing: 0;
fontSize: 11;
cornerRadius: 10;
fontWeight: normal;
textRollOverColor: white;
color: red;
skin: ClassReference(null);
.alertTitle {
letterSpacing: 0;
fontSize: 14;
color: red;
.alertMessage {
letterSpacing: 0;
fontSize: 10;
fontWeight: normal;
color: black;
</fx:Style>
<fx:Script>
<![CDATA[
import module.user_logged;
import mx.collections.ArrayCollection;
import mx.collections.XMLListCollection;
import mx.controls.Alert;
import mx.events.FlexEvent;
import mx.rpc.events.FaultEvent;
import mx.rpc.events.ResultEvent;
import mx.rpc.http.HTTPService;
private var twitterText:String;
[Bindable]
private var twitterCount:String;
[Bindable]
private var tweetdate:String;
[Bindable]
private var twitterImage:String;
[Bindable]
private var tweetArray:ArrayCollection;
[Bindable]
private var datalist:XMLListCollection;
private var a:Alert;
protected function image1_clickHandler(event:MouseEvent):void
navigateToURL(new URLRequest("https://twitter.com/charagh"),"_blank");
protected function init(event:FlexEvent):void
Security.allowDomain( "charag.com" );
Security.loadPolicyFile( "./module/crossdomain.xml" );
var request:URLRequest =
new URLRequest( "./module/crossdomain.xml" );
var loader:URLLoader = new URLLoader();
loader.load(request);
twitterText = "charagh";
tweetUser.url="http://api.twitter.com/1/users/show.xml?screen_name="+twitterText;
tweetUser.send();
tweetUser.addEventListener(ResultEvent.RESULT,tweetUser_resultHandler );
protected function tweetUser_resultHandler(event:ResultEvent):void
Alert.buttonWidth = 120;
var x:XML = event.result as XML;
var childName:String = "status";
//Alert.show(x.child(childName).text);
yourmessage = x.profile_image_url;
a = Alert.show( yourmessage,title);
a.mx_internal::alertForm.mx_internal::textField.selectable = false;
twitterImage = x.profile_image_url;
twitterText = x.status.text;
tweetdate = x.status.created_at;
twitterCount = twitterText+" "+tweetdate;
protected function tweetUser_faultHandler(event:FaultEvent):void
var faultstring:String = event.fault.faultString;
a = Alert.show(faultstring);
]]>
</fx:Script>
<fx:Declarations>
<fx:String id="title">Error Message</fx:String>
<fx:String id="yourmessage"></fx:String>
<s:HTTPService id="tweetUser" useProxy="false" method="GET" fault="tweetUser_faultHandler(event)" resultFormat="e4x">
</s:HTTPService>
</fx:Declarations>
<s:Image buttonMode="true" width="48" height="48" x="5" y="5" click="image1_clickHandler(event)" source="{twitterImage}"/>
<s:Label id="twitterNumber" x="56" y="5" width="488" height="47" color="#EDEDED"
fontFamily="Georgia" fontSize="12" fontWeight="normal" text="{twitterCount}"
textAlign="center" verticalAlign="middle"/>
</mx:Module> -
Has anyone had the same problem and does anyone have a suggested fix.
Try closing the Mail app completely and see if it rotates when you re-open it : from the home screen (i.e. not with the Mail app 'open' on-screen) double-click the home button to bring up the taskbar, then press and hold any of the apps on the taskbar for a couple of seconds or so until they start shaking, then press the '-' in the top left of the Mail app to close it, and touch any part of the screen above the taskbar so as to stop the shaking and close the taskbar.
If that doesn't work then also do a reset : press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot. -
My security system, VMS, becomes unstable and tells me that it has found an issue and needs to close down when using Firefox v4. when i uninstall v4 and revert to 3.6.16 everything is fine.
Hi, I have had exactly the same problem as you. EE reset my account, I did several Network resets. No joy. Got a new SIM from an EE shop yesterday, started working about an hour ago, only to stop working 30 mins later. Switiching phone on and off, performing Network resets haven't helped. Phoned EE. They promised it would be sorted by 8AM this morning. Here's hoping..... In the meantime, I have topped up a PAYG SIM which works perfectly. Looking at this forum, Twitter and Facebook, tens of thousands of users appear to be having a similar problem. Seems to affect the whole country and be fairly random in whom it affects (None of the other phones on my account are affected).
-
hi
i followed the steps in the tutorial http://www.thetechlabs.com/tutorials/flash/creating-a-flash-lite-application-with-flash-cs 4-and-actionscript-20/ but when i run the application in the device central emulator, the soft keys do not respond. i even edited the action script code to change the text in the textboxes when the soft key is pressed but there is still no response.
ThanxHi dahaka2010,
Has your problem been solved?
On what profile/s and what content type/s were you trying it out? Wallpaper, Screensaver and Embedded in HTML for example do not have soft key functionality. Some profiles also might not support soft keys altogether.
Thanks,
Nandi -
Script crashes IDE and Flash Player but works in browsers
I'm building a game program and I've got a script that loads
an external swf, and then duplicates the clip for the user to play.
It worked until a few days ago when I reinstalled my OS (Mac OS
10.4.11) to fix an unrelated problem. The strange thing is that I
had reinstalled the browser plugin to fix a related problem. Now
the code works in the browser, but crashes the IDE and the Flash
Player every time. I called Adobe Support but they were no help
since it's "project related." I've reinstalled CS3 and Flash
itself, but nothing helps.
Here's the code that crashes:
// INITIALIZE LOADER AND ADD TO STAGE
var myLoader:Loader = new Loader;
addChild (myLoader);
myLoader.contentLoaderInfo.addEventListener (Event.COMPLETE,
isLoaded);
// DUPLICATE CLIP WHEN LOADED
function isLoaded (event:Event):void {
event.target.content.width = 100;
event.target.content.height= 200;
// THIS IS THE LINE THAT CRASHES
var copyClass:Class =
Object(event.target.content).constructor;
var newThing:DisplayObject = new (copyClass);
addChild (newThing);
newThing.x +=50;
myLoader.load (new
URLRequest('coloring/coloring1.swf'));See this cool mp3 xml player with visualization, playlist and
skins. Fully customisable. Vector.
http://flashden.net/item/mp3-xml-strongplayerstrong-with-visualization-and-skins-vectorise d/11851 -
I purchased Label Printer Pro 7, but it does not work. It crashes. I press print, and the program closes. I press save, and the program closes. I press print and the program closes. I have had an email exchange with Pabel Printer Pro 7, but the best they could offer was to go to Utilities and click on fixed permssions. I have done that several times, and the program still doesn't work.
Can you please recommend an address.shipping label program that works with Avery labels that I can purchase, and that is also simple to use?
Thanks,
PaulaI purchased Label Printer Pro 7, but it does not work. It crashes. I press print, and the program closes. I press save, and the program closes. I press print and the program closes. I have had an email exchange with Pabel Printer Pro 7, but the best they could offer was to go to Utilities and click on fixed permssions. I have done that several times, and the program still doesn't work.
Can you please recommend an address.shipping label program that works with Avery labels that I can purchase, and that is also simple to use?
Thanks,
Paula -
I am working on a PC. My InDesign CS6 was working but is now missing its amtlib.dll file. To fix it it says to reinstall program but I was am idiot and didn't make a copy. Is there any way to reinstall this missing file?
It was bought for my son and he never registered it.
I still don't understand why Neema was trying to reinstall it when she didn't have the serial number but after she uninstalled it, said she couldn't reinstall it because I didn't have the serial number. I never had it yet she didn't have a problem with trying to install it originally.
Still won't buy another Adobe product again. I've talked to a lot of people who can't stand Adobe and I now know why. I can't even update Flash without my whole system crashing or getting a virus.
I won't re-purchase InDesign either. I realize it should have been registered and I explained that my email had been hacked and my proof of purchase was deleted with ALL of my emails and I also had a major virus after updating Flash.
I can't afford to buy the same product twice.
I will find out what other formats my book distributor (Ingram Books) accepts and purchase that program.
Not impressed with Adobe and will share my experience with others so they can be sure to register their product and make a copy of the program BEFORE allowing an Adobe employee to take control of their computers.
If you knew the answer to my question, customer support should have too.
Thanks for your help.
Denise -
I am trying to trigger a custom event using a program but does not work ..
HI ....i am trying to trigger a custom event of a custom object type using a program but does not work. If trigger the same event using SWUE it works.
below is the code...
{Key = '0010001115'. "Sales Order Number (hard-coded)
CALL FUNCTION 'SWE_EVENT_CREATE'
EXPORTING
objtype = 'ZXXXXXXXF'
objkey = KEY
event = 'ZEVENT'
CREATOR = ' '
TAKE_WORKITEM_REQUESTER = ' '
START_WITH_DELAY = ' '
START_RECFB_SYNCHRON = ' '
NO_COMMIT_FOR_QUEUE = ' '
DEBUG_FLAG = ' '
NO_LOGGING = ' '
IDENT =
IMPORTING
EVENT_ID =
RECEIVER_COUNT =
TABLES
EVENT_CONTAINER =
EXCEPTIONS
OBJTYPE_NOT_FOUND = 1
OTHERS = 2}
Please guide me if i am missing something.Hi Sunny,
I think you should try creating the event using FM SAP_WAPI_CREATE_EVENT.
CALL FUNCTION 'SAP_WAPI_CREATE_EVENT'
EXPORTING
OBJECT_TYPE = 'ZXXXXXXXF'
OBJECT_KEY = key
EVENT = 'ZEVENT'
* COMMIT_WORK = 'X'
* EVENT_LANGUAGE = SY-LANGU
* LANGUAGE = SY-LANGU
* USER = SY-UNAME
* IFS_XML_CONTAINER =
IMPORTING
RETURN_CODE = rcode
EVENT_ID = event_id
* TABLES
* INPUT_CONTAINER =
* MESSAGE_LINES =
* MESSAGE_STRUCT =
Regards,
Saumya -
Flex mobile 4.6 app works inside flash builder but not in android emulator
Originally posted on stackoverflow: http://stackoverflow.com/questions/8663892/flex-mobile-4-6-app-works-inside-flash-builder- but-not-in-android-emulator
I have a basic flex mobile 4.6 app and it works fully fine in the flash builder built-in emulator using an android device profile like aria...
It also launches fine in the android emulator but one particular view shows blank (and this view works fine in flash builder).
Before I get in to many details of the view are there any categorical gotchas that can be causing this?
I can't seem to get the trace statements from the app to show in 'adb logcat'. It seems I need to compile a debug version of the apk but I don't know how to do this. I use the 'Export Release Build' from the Project menu in flash builder and it doesn't seem to have an option for debug=true.
The problematic/blank view basically uses the stagewebview and iotashan's oauth library to call linkedin rest apis... A different (and working) view can make restful web service calls in the emulator fine, so it doesn't seem to be an internet permission.
The source code contained in the problematic/blank view is almost identical to the tutorial found at:http://www.riagora.com/2011/01/air-and-linkedin/
The differences are: a) The root tag is a View b) I use StageWebView instead of HtmlContainer c) I use my own linkedin key and tokens.
I would appreciate it if someone can provide me with some pointers on how to troubleshoot this situation. Perhaps someone can tell me how to debug the app while running in the emulator (I think I need the correct adt command arguments for this which matches the 'Export Release Build' menu but adds the debug param?)
Thanks for your help in advance.
Comment Added:
I suspect that this has to do with connections to https:// api.linkedin.com and https:// www.linkedin.com. The only reason I can think of that the same code is not having issues inside of Flex Builder but indeed having issues in the Android emulator is something to do with certificates. Any ideas?Thanks er453r,
I have created a project that clearly reproduces the bug. Here are the steps:
1) Create a UrlLoader and point it to https://www.google.com (HTTPS is important because http works but HTTPS does not)
2) Load it
3) Run in Flash Builder 4.6/Air 3.1 and then run in Android emulator. The former works with an http status 200. The latter gives you an ioerror 2032. I am assuming what works in Flash Builder is supposed to work in the Android Emulator and what what works in the emulator is supposed to work in a physical device (plus or minus boundary conditions).
I see a certificate exception in adb logcat but not sure if it's related...
Here is the self contained View code which works with a TabbedViewNavigatorApplication:
<?xml version="1.0" encoding="utf-8"?>
<s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
xmlns:ns1="*"
xmlns:local="*"
creationComplete="windowedapplication1_creationCompleteHandler(event) "
actionBarVisible="true" tabBarVisible="true">
<fx:Script>
<![CDATA[
import mx.events.FlexEvent;
protected var requestTokenUrl:String = "https://www.google.com";
protected function windowedapplication1_creationCompleteHandler(event:FlexEvent):void
var loader:URLLoader = new URLLoader();
loader.addEventListener(ErrorEvent.ERROR, onError);
loader.addEventListener(AsyncErrorEvent.ASYNC_ERROR, onAsyncError);
loader.addEventListener(SecurityErrorEvent.SECURITY_ERROR, securityErrorHandler);
loader.addEventListener(HTTPStatusEvent.HTTP_RESPONSE_STATUS, httpResponseStatusHandler);
loader.addEventListener(IOErrorEvent.IO_ERROR, ioErrorHandler);
var urlRequest:URLRequest = new URLRequest(requestTokenUrl);
loader.load(urlRequest);
protected function requestTokenHandler(event:Event):void
protected function httpResponse(event:HTTPStatusEvent):void
label.text += event.status;
// TODO Auto-generated method stub
private function completeHandler(event:Event):void {
label.text += event.toString();
trace("completeHandler data: " + event.currentTarget.data);
private function openHandler(event:Event):void {
label.text += event.toString();
trace("openHandler: " + event);
private function onError(event:ErrorEvent):void {
label.text += event.toString();
trace("onError: " + event.type);
private function onAsyncError(event:AsyncErrorEvent):void {
label.text += event.toString();
trace("onAsyncError: " + event);
private function onNetStatus(event:NetStatusEvent):void {
label.text += event.toString();
trace("onNetStatus: " + event);
private function progressHandler(event:ProgressEvent):void {
label.text += event.toString();
trace("progressHandler loaded:" + event.bytesLoaded + " total: " + event.bytesTotal);
private function securityErrorHandler(event:SecurityErrorEvent):void {
label.text += event.toString();
trace("securityErrorHandler: " + event);
private function httpStatusHandler(event:HTTPStatusEvent):void {
label.text += event.toString();
//label.text += event.responseHeaders.toString();
trace("httpStatusHandler: " + event);
private function httpResponseStatusHandler(event:HTTPStatusEvent):void {
label.text += event.toString();
trace("httpStatusHandler: " + event);
private function ioErrorHandler(event:IOErrorEvent):void {
label.text += event.toString();
label.text += event.text;
trace("ioErrorHandler: " + event);
]]>
</fx:Script>
<fx:Declarations>
<!-- Place non-visual elements (e.g., services, value objects) here -->
</fx:Declarations>
<s:Label id="label" y="185" width="100%" color="#0A0909" horizontalCenter="0" text=""/>
</s:View> -
So you guys were killing it until this version. Since I have installed it my comp has gone haywire. The browser crashes regularly and i have have a few instances where it has been the cause of my computer crashing. It may be FF running with another program but in the last week i have just been running safari and have had no issues with crashing. Love FF3 and actually switched to FF after tons of issues with safari (still not my fav), not tuning my back on you, tho. Hoping for some fixes. thanks
I've tried to ad the songs like i did before on my pc, dragging them over to my playlist or library. Since I live in Norway, I have some difficulties with transferring to english, so it be some bad spelling.
On the music that I can't get to my itunes, is a "mp3 - lyd" which in norwegian is a the same standard mp3 format. All of the files is in this format, even those that I'm able to transfer to itunes. Which is an album by an single artist.
I know that itunes does not support all formats, which is why I always make sure that all of my music has the same format.
So I will try to explain once more. Earlier today, I downloaded some new music, both albums and singles. And it's the singles I have difficulties to transfer to itunes. Neither dragging them nor by clicking "import/add" songs to library works. What happens when I try to do this, is that I get that circle thingy,(the circle who comes when the computer is working), and when it disappers, nothing happens and no files(of the singles) is transfered. And I'm going crazy, because I thought that I could do this without help, and noe I'm sitting here like a questionmark, and don't understand what I'm doing wrong.
And, first of all, thank you so much for your time, and your links Limnos. Even though they were'nt the answers for my problem, thank you:) and I hope that you with the information above, may have an answer for me, or that someone else has. -
our online software on java crashes on latest firefox 3.6.12 but worked on 3.0.9
Your above posted system details show outdated plugin(s) with known security and stability risks.
*Shockwave Flash 9.0 r999
Update the [[Managing the Flash plugin|Flash]] plugin to the latest version.
*http://www.adobe.com/software/flash/about/
In Firefox 3.6 and later versions you need the Next-Generation Java™ Plug-In present in Java 6 U10 and later (Linux: libnpjp2.so; Windows: npjp2.dll).
http://java.com/en/download/faq/firefox_newplugin.xml
See also http://java.sun.com/javase/6/webnotes/install/jre/manual-plugin-install-linux.html
Maybe you are looking for
-
Adobe Flash Builder 4.5 has stopped working
My Adobe Flash Builder 4.5 has stopped working. I receive the following error when trying to start: An error has occured. See the log file C:\ Documents and Settings.......\.metadata.log I have attached the file. I have searched the web to try and fi
-
Adobe form with BPM integration
hi all, I am new to BPM, I am doing some demo so for that i created Adobe Offline form in Adobe Livecycle designer(not in NWDS), I have sample purchase order XSD file by using it i did the data connection in Adobe, and then i created the process in B
-
Clearing downpayment during invoicing EA19
Dear Experts - I have posted a down payment for some consumer - I WANT clearing this down payment during billing EA19 Desired result was that during invoicing, the system would automatic clearing downpayment. Clearing variant assigned to R41 and R
-
This may be a silly question but I can't find my pictures. I have photo stream setup on my iPad 2 and my iPhone 5. I also have iCloud on and I setup my email address. I even tried turning photo stream off and back on. Anybody know what I'm doing wron
-
My G5 died last week - both processors. HDs are OK though and I thought accessing old files would be easy. I would like to recuperate the old Address book contacts and also my old emails from the old HDs. Although I can mount them in the MacPro, I ca