Search:
Type: Posts; User: frizb
Search:
Search took 0.02 seconds.
-
Thanks Flax. Still reading an OOP book & wasn't what the right way was to communicate between the 2 classes. I'll read up on singleton tonight. Thanks again!
-
Ok, here's a simplified version of what I'm trying to do. I have my CustomEvent class & 2 classes (Alpha & Beta) that just extend the MovieClip class. I just drew 2 movieclip squares on the stage &...
-
I'll check this tonight. I tried retyping this from memory so I did leave out a couple of things that you mentioned but I know they are in my code. I'll check the rest. Thanks!
-
Not sure what I'm doing wrong & I've spent the last 8 days trying a billion different examples but can't seem to get it to work. Just to get the "how it works" down, I just want to click a button on...
-
try this...
addChild(baddie[1]); // or whichever baddie you want to add to the stage [0], [1], etc.
-
The EnterFrame event is from my custom loader. I have to wait until it's compltely finished or else the ScrollPane that loads it won't load it properly. I had tried Event.COMPLETE, but that didn't...
-
Thanks...it seems like everytime I post I end up figuring it out right after that. I had to add a removeEventListener inside the mySetter() function & now it seems to work fine.
Can you explain...
-
I've been trying to fix this for weeks & can't figure it out.
My site loads & lands on the home page which has 2 buttons for "pics1" & "pics2". If I click "pics1" it goes to the frame label & a...
-
Nevermind...I figured it out finally. I was using currentTarget instead of target to get my info to relay to the Loader.
http://www.rbararena.com/images/myimage.gif
This should be easy, but...
-
I'm no expert but you could try this...
function wave() {
for(var i:int = 0; i<10; i++) {
//enemies.attachMovie("enemy"+i, i);
var enemies:MovieClip = new MovieClip();
enimies.name =...
-
nevermind...I'm just setting the MovieClip.name to the index of the loop which works for me.
-
I've made a bunch of MovieClips that are loaded dynamically and then loaded into a ScrollPane. I'm able to setup MouseEvents on each MovieClip as they are being made, but I'm not sure how to go from...
-
Ok, I finally got it to load. I'm very happy right now:-) Just one small thing left to figure out in this code...
import flash.events.Event;
import fl.containers.ScrollPane;
var...
-
I have a class that loads images from an xml file. I have a boolean that triggers when the loop is complete. From the stage I have a ScrollPane that I set up once the loop is finished like so:
...
-
Ok, I tried a Timer event & set it to about 3 seconds which then triggered a "make scrollpane" function. That works. So the scrollpane is definitely getting added before my loader is finished...
-
I would like to find something that covers AS3 and working with databases. Writing to a DB & getting info from the DB.
-
If this rbCleveland button isn't used on frame 1 then just wait until you get to the frame that it is used to add this script. That should fix it.
rbCleveland.addEventListener(MouseEvent.CLICK,...
-
Ok I'll try this out & report back tomorrow! Thanks!
-
Sorry if I'm a little slow on this. Where should I pass in an event listener? and for your #2, am I checking to see if "loader" or "sp" is loaded?
-
it calls the constructor which calls another function & so on. Anyway around this?
-
right now MyLoader extends MovieClip. Loader is just a movieclip container linked to the MyLoader class. The ScrollPane (sp) loads the MovieClip container.
-
var loader:MyLoader = new MyLoader("pictures.xml");
sp.source = loader;
sp.addEventListener(Event.COMPLETE, finished);
function finished(evt:Event):void {
trace("loaded the scrollpane");
}
...
-
Thanks ddane! I just found this as you posted & it worked also...gracias!
// I already loaded the data before this part I just needed to use a variable to determine the loop length
var...
-
I guess I should rephrase this. I just need to find out the number of sets that are in the xml file.
-
Both of the shape effects are very cool.
|
Click Here to Expand Forum to Full Width
|