dcsimg
A Flash Developer Resource Site

Search:

Type: Posts; User: jasondefra

Page 1 of 9 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    11
    Views
    1,055

    I want you to write one too, 5Tons. I would love...

    I want you to write one too, 5Tons. I would love to use it on my work to see if any bad habits from my AS2 days carried over without my knowing.
  2. This is how you'll want to do it: ...

    This is how you'll want to do it:

    MovieClip(parent).gotoAndStop(btnArray[i][1]);


    edit: This is assuming you're not messing with multiple scenes.
  3. As long as your frame locations are appropriately...

    As long as your frame locations are appropriately labeled, it should just be a matter of putting this line underneath the trace(btnArray[i][1]); statement:


    gotoAndStop(btnArray[i][1]);


    Let...
  4. I would store all the buttons/movieclips in an...

    I would store all the buttons/movieclips in an Array and use that to pair up appropriate labels/strings. This way, you only have to build one array. Contrary to Ralgoth's suggestion, I would use just...
  5. The easiest (if not best) approach: Put all...

    The easiest (if not best) approach:

    Put all your movieclips into an array


    var mcArray:Array=[mc1,mc2,mc3];


    Now you want to add your mouse over listener to the movieclips
  6. Replies
    15
    Views
    4,255

    Ah, that would explain it. All the ActionScript...

    Ah, that would explain it. All the ActionScript in this thread is 3.0. Best check out some other threads for AS2 specific solutions, or maybe start your own thread?
  7. Replies
    15
    Views
    4,255

    What version of Flash are you using? If you're...

    What version of Flash are you using? If you're using CS3 or newer, check to make sure you're using ActionScript 3 (Files > Publish Settings > Flash, then look at the "ActionScript version:" dropdown...
  8. Replies
    15
    Views
    4,255

    Yes, you will need to convert the bitmap to a...

    Yes, you will need to convert the bitmap to a MovieClip before you can assign it an instance name and manipulate it with ActionScript. If your knowledge of Flash and ActionScript is nil, I would...
  9. Replies
    15
    Views
    4,255

    What parts of the code don't you understand?

    What parts of the code don't you understand?
  10. Replies
    3
    Views
    615

    This is a pretty involved answer, but yes it's...

    This is a pretty involved answer, but yes it's possible with server-side scripting (PHP or ASP, for example), a place to store the images server-side, as well as a very good understanding of the...
  11. Thread: A Question

    by jasondefra
    Replies
    3
    Views
    409

    Right on with Javascript (and yes, Javascript and...

    Right on with Javascript (and yes, Javascript and Java are two comPLETELY different things)—since JS is compliant with the ECMAscript standard also, it would make sense that it shares some traits...
  12. Thread: A Question

    by jasondefra
    Replies
    3
    Views
    409

    Are you sure you're talking about AS2? AS3 is...

    Are you sure you're talking about AS2? AS3 is much more similar to Java than AS2. In any case, AS3 is ECMAscript-standards compliant which is inspired by the Java programming language (among a few...
  13. Replies
    1
    Views
    445

    The easiest way to do this is doing timeline...

    The easiest way to do this is doing timeline animation with 3 copies of each navigation option image, playing them on separate frame, applying masks to each, then Tweening them at different...
  14. I haven't done anything with CS4, but if the...

    I haven't done anything with CS4, but if the export-to-video is like it has been in the past, then Flash won't export anything that isn't on the main timeline. All embedded animation are lost,...
  15. Replies
    1
    Views
    497

    This will provide you with a framework, and it's...

    This will provide you with a framework, and it's an easy-to-follow tutorial. After you've done it, it's just a matter of adjusting the code to make it more Barnes-and-Noble-esque.
    ...
  16. Replies
    2
    Views
    357

    What's your website?

    What's your website?
  17. umm... sure

    umm... sure
  18. Here ya go!

    Here ya go!
  19. You'll want to use a looping event listener to...

    You'll want to use a looping event listener to change the rotation of the object in a frame-by-frame fashion:




    var rotationAmount:int=3;
    ...
  20. Throw all the buttons into an array and then...

    Throw all the buttons into an array and then control their visibility with an if and for loop




    var buttonArray:Array=new Array(button1,button2,button3;/*etc*/);
    ...
  21. Replies
    2
    Views
    358

    CS3 These are all relatively involved answers, but...

    These are all relatively involved answers, but the short answer to all of these is:

    1) Use a Timer object and keep track of it with the currentCount property when deciding on the number of 'waves'...
  22. That actually makes perfect sense! I kinda...

    That actually makes perfect sense! I kinda assumed it was something along those lines, so it's good to hear someone else affirming my suspicions. In any case, Adobe KNOWS that 80+% (warning: made up...
  23. THE SET UP: I have two SWFs (for the sake of...

    THE SET UP:

    I have two SWFs (for the sake of explanation, they are called Preloader.swf and Main.swf). Main.swf has a document class that calls Main.as, and from there there is a number of...
  24. Here is a screenshot of my output: ...

    Here is a screenshot of my output:

    http://imgur.com/peQvz.jpg

    So the preloader.swf sees my main SWF (the numbers prior to the TypeError are loaded percentage), but it's saying that my...
  25. Any ideas? Or perhaps I should elaborate a bit...

    Any ideas? Or perhaps I should elaborate a bit more? Let me know your thoughts, no matter how insignificant you think they might be. Thanks everyone.
Results 1 to 25 of 205
Page 1 of 9 1 2 3 4




Click Here to Expand Forum to Full Width

HTML5 Development Center