A Flash Developer Resource Site

Search:

Type: Posts; User: frizb

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Replies
    5
    Views
    408

    Thanks Flax. Still reading an OOP book & wasn't...

    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!
  2. Replies
    5
    Views
    408

    Ok, here's a simplified version of what I'm...

    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 &...
  3. Replies
    5
    Views
    408

    I'll check this tonight. I tried retyping this...

    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!
  4. Replies
    5
    Views
    408

    Custom Events....I can't figure this out

    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...
  5. Replies
    5
    Views
    545

    try this... addChild(baddie[1]); // or...

    try this...

    addChild(baddie[1]); // or whichever baddie you want to add to the stage [0], [1], etc.
  6. Replies
    4
    Views
    432

    The EnterFrame event is from my custom loader. I...

    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...
  7. Replies
    4
    Views
    432

    Thanks...it seems like everytime I post I end up...

    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...
  8. Replies
    4
    Views
    432

    Please help...I'm stumped

    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...
  9. Thread: Should be easy

    by frizb
    Replies
    0
    Views
    311

    Should be easy...or not

    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...
  10. I'm no expert but you could try this... ...

    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 =...
  11. Replies
    2
    Views
    381

    nevermind...I'm just setting the MovieClip.name...

    nevermind...I'm just setting the MovieClip.name to the index of the loop which works for me.
  12. Replies
    2
    Views
    381

    Getting index of dynamic movieclips

    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...
  13. Replies
    1
    Views
    457

    Ok, I finally got it to load. I'm very happy...

    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...
  14. Replies
    1
    Views
    457

    scrollPane is driving me nuts

    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:

    ...
  15. Ok, I tried a Timer event & set it to about 3...

    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...
  16. Replies
    55
    Views
    105,442

    I would like to find something that covers AS3...

    I would like to find something that covers AS3 and working with databases. Writing to a DB & getting info from the DB.
  17. Replies
    4
    Views
    600

    If this rbCleveland button isn't used on frame 1...

    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,...
  18. Ok I'll try this out & report back tomorrow!...

    Ok I'll try this out & report back tomorrow! Thanks!
  19. Sorry if I'm a little slow on this. Where should...

    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?
  20. it calls the constructor which calls another...

    it calls the constructor which calls another function & so on. Anyway around this?
  21. right now MyLoader extends MovieClip. Loader is...

    right now MyLoader extends MovieClip. Loader is just a movieclip container linked to the MyLoader class. The ScrollPane (sp) loads the MovieClip container.
  22. Any idea why this function never gets triggered?

    var loader:MyLoader = new MyLoader("pictures.xml");
    sp.source = loader;
    sp.addEventListener(Event.COMPLETE, finished);
    function finished(evt:Event):void {
    trace("loaded the scrollpane");

    }
    ...
  23. Replies
    3
    Views
    3,717

    Thanks ddane! I just found this as you posted &...

    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...
  24. Replies
    3
    Views
    3,717

    I guess I should rephrase this. I just need to...

    I guess I should rephrase this. I just need to find out the number of sets that are in the xml file.
  25. Replies
    7
    Views
    476

    Both of the shape effects are very cool.

    Both of the shape effects are very cool.
Results 1 to 25 of 47
Page 1 of 2 1 2




Click Here to Expand Forum to Full Width

HTML5 Development Center