Search:
Type: Posts; User: senocular
Search:
Search took 1.47 seconds.
-
It depends what your class is used for.
All timelines (movie clips) are defined by their own classes. when you create variables in the timeline, that variable becomes a class member variable of...
-
If you want ButtonA_btn, HolderB_mc, or HolderC_mc, make sure you use e.currentTarget, not e.target
-
you have to use addEventListener on the object dispatching the event. Just like you added the CLICK listener to the rectangle (since the rectangle dispatches the CLICK event), you would need to add...
-
You could at least be a little less obvious in your cross-site posting :P
-
If you've created a script that uses a bunch of classes that require importing and you didn't import them, then yes, you basically have to go through that script, find each case where a class is...
-
I'm with sstalder. Benchmarch. Some things are faster, others are not. For some things, new features and enhancements can take more time to process, while for other things, improvements were made...
-
With this, note that types (anything after the ":" in a variable declaration) cannot be dynamic. They need to be known types at compile time. Any value passed into a function as an argument or...
-
str.match(/[^\/]+/g)
Broken down:
str
The String you're performing the operation on (str being the name of the variable)
match
A method of the String class, match is kind of like a regular...
-
-
That bug, btw, is for handling errors via AS only. If you're strictly interested in logging the errors, you can use ErrorReportingEnable=1
http://livedocs.adobe.com/flex/3/html/logging_04.html
-
http://bugs.adobe.com/jira/browse/FP-1499
-
XML is just text. You would need to store your movie clip reference in a non-xml variable.
-
FWIW, with AS3, you can use the in operator
if ("foo" in gd) { ...
-
1. One instance of the CS3/CS4 application can open many files so it would be wasteful to have multiple instances of the application open.
2. It means that the current object (this) has 4 parents,...
-
And if you're too lazy to make a new Event class but want to have events with custom properties, you can also use a SyncEvent
http://livedocs.adobe.com/flex/3/langref/flash/events/SyncEvent.html...
-
use the TextEvent.TEXT_INPUT event of the TextField
http://help.adobe.com/en_US/AS3LCR/Flash_10.0/flash/text/TextField.html#event:textInput
-
It's usually the other way around. Flash can load images cross-domain without any restrictions. It, however, cannot load text. Security restricts that. To enable the loading of text, the domain...
-
I'm not familiar with the FLAIR toolkit, but the classpath is provided to the compiler by you, or your IDE. So it depends on your environment
-
whatever is handling curImg, say, the "ThumbnailManager" class, should also be responsible for updating the thumbnails to reflect what curImg is. This would typically mean something like
if...
-
You forgot 'new'. You would also want to be sure to set bytesLoaded/bytesTotal in that event
-
If you want to use e.bytesLoaded/e.bytesTotal then you'll need to be sure e has those properties; i.e. you should be dispatching a ProgressEvent
-
addEventListener.(
should be
addEventListener(
-
Download the zip file in the page you linked. It shows you how to save the class file in relation to the FLA
-
Make the image Bitmap persistent; declare it outside of the loadComplete function and immediately add it to the display list. Then in loadComplete simply set its .bitmapData to evt.target.content
-
If you're going to be using the timeline heavily, and you go with AS3, make sure you publish to FP10 - there were a lot of timeline fixes in FP10 that made the timeline a nightmare for AS3 in FP9.
|
Click Here to Expand Forum to Full Width
|