Search:
Type: Posts; User: badaboom55
Search:
Search took 0.03 seconds.
-
Thanks, I'll probably just call my class DataSource or something, sometimes the best names are already taken by Flash, so it just got me thinking.
-
All,
I understand it's probably best practice to name your custom classes differently than the built-in AS3.0 classes; however, what kind of problems could I run into if I don't?
Specifically,...
-
Which, in theory would be faster... using a conditional or allowing the Flash engine to automatically convert the values?
Conditional
var output:int;
var b:Boolean = true;
var i:int = 5;...
-
Ok, so I'm starting to delve into developing for touch enabled devices.
However, in looking over the AS3 Multitouch API documentation, I'm having a hard time seeing how to I can differentiate...
-
-
Well, unfortunately I'm trying to sift through somone else's code... but GENERALLY... for the "top-level" instances (Config1, etc.) are created in a global space. Then, my "2nd level" xmls are...
-
Wow, I'm really off today...
I'm sorry, thanks for taking the time, by the way:
// On launch
var Config1:myCustomLoader = new myCustomLoader("Config1.xml");
var Config2:myCustomLoader = new...
-
oops, that was a typo, it is a class variable:
// myCustomLoader class
package {
public class myCustomLoader extends EventDispatcher {
private var urlLoader:URLLoader = new...
-
All,
I have encountered an interesting problem when I try to load an .xml file using a URLLoader (within my own custom class). I have several configuration .xml files which I use to configure the...
-
Hello all,
Is it possible to reference a constant in an XML attribute (or the node itself)?
Meaning if I have a class with some defined constants like:
package{
public class MyConstants {...
-
No, I'm not loading SWFs...
But, it might have something to do with the way the Navigator gets instantiated?
I have an .fla with a Navigator instance already on the stage. I believe I want the...
-
Well... I agree, but, the data type SHOULD be clear... I will always store a reference to an instance of Navigator in the Global.myNavigator variable... so, it's always been my impression that...
-
Hello All,
Usually, I know why and how to fix the compiler errors I receive, and I can fix the 1118 I'm currently receiving... but I don't really understand WHY I'm getting this particular error,...
-
Oy... should've known that... thanks!
-
Oops... not done yet apparently...
Now I'm encountering an interesting problem when I try to remove the listeners.
In ClassA (the dispatcher) I have:
Broadcaster.broadcastEvent("someEvent");
...
-
Meh, no problem, that's what the Compiler Panel is for! The tricky part is when nothing works and you DON'T get errors =)
I was just posting for completeness for future viewers.
-
Got a compile error... _instance should be "static" as well, I think.
private static var _instance:Broadcaster = null;
-
Ahh, ok, that makes sense... that you need an instance to dispatch the event... and I really only want 1 instance at any given time.
-
Just changing "bubbles" to true doesn't seem to work. At least not with objects outside of the dispatcher's display list hierarchy. Using the above I could "hear" the event in the dispatcher's...
-
All,
Thanks for your patience, I know there's been quite a few posts about events, but I've run into a problem that I haven't really encountered before, and I've kind of confused myself with all...
-
Ahhh...found the answer, do the same thing as I would do for any project that uses the built-in AS3 components (such as FLVPlayback):
Put the Font items into a new .fla library and export a SWC.
...
-
Make sure the progressbar and bar aren't flipped or have some weird rotation on them.
Then make sure you're passing the correct "value" to your function by rewriting it like so:
function...
-
Hello,
I am working in Flash CS5 Professional.
On my stage, I have a dynamic TextField (my_txt) that uses a basic font, we'll say Arial. However, I want to format some of the text within the...
-
buffer?
By this, do you mean storing 10 objects in the Vector and keeping them ready to go... even though most of the application will only need 1 or 2 of those objects at a time, but in a specific...
-
Thanks, ActionScript abounds with exceptions, obviously... but in general, I was thinking this as well.
|
Click Here to Expand Forum to Full Width
|