A Flash Developer Resource Site

Search:

Type: Posts; User: random101187

Search: Search took 0.02 seconds.

  1. Replies
    5
    Views
    606

    yep, that will make sure that whatever your...

    yep, that will make sure that whatever your desired code is it only executes while the mouse is within the bounds of the stage. You'll probably want it to be in a function that handles an ENTER_FRAME...
  2. obviously my friend ... your researching...

    obviously my friend ... your researching abilities are pretty subpar

    found this one first google search:

    http://flashspeaksactionscript.com/create-a-mini-music-player-in-as3/

    it doesn't have...
  3. what i would try is : function...

    what i would try is :



    function jollyFindOutMoreFunction (e:MouseEvent):void {
    var urlRequest:URLRequest = new...
  4. are you importing the Scroll class? I notice the...

    are you importing the Scroll class? I notice the Scroll class has no package name so I think that might be your problem ... if it's not imported then instantiating your "scroll" var will throw the...
  5. Replies
    5
    Views
    606

    if(mouseX0 &&...

    if(mouseX<stage.stageWidth && mouseX>0 && mouseY<stage.stageHeight && mouseY>0){
    //execute desired code
    }
  6. Replies
    6
    Views
    705

    create a new rectangle (flash.geom.rect) and set...

    create a new rectangle (flash.geom.rect) and set it's height to 0, use it as the bounds for the startDrag() function. People will only be able to drag within the rectangle so with a height of 0 they...
  7. Replies
    3
    Views
    1,243

    you asked what the code was to unload. I'm afraid...

    you asked what the code was to unload. I'm afraid I don't have time to go through your example, but the code I gave just unloads, I know it work cause that's all it does but it should be fairly...
  8. Replies
    3
    Views
    1,243

    myLoader.unload();

    myLoader.unload();
  9. Replies
    3
    Views
    1,286

    hey. you're right timeoutTimer.start(); will make...

    hey. you're right timeoutTimer.start(); will make it start again, on the line where you you have:

    function reset(event:TimerEvent):void
    {
    gotoAndStop(1);
    }

    instead make it:

    function...
  10. Replies
    3
    Views
    1,286

    you can user a Timer. once you get to the page...

    you can user a Timer. once you get to the page that you want to be redirected from after a certain amount of time set the Timer, add a TimerEvent.TIMER_COMPLETE event listener to it (and start the...
  11. Replies
    21
    Views
    1,350

    i was having similar issues but cancerinform...

    i was having similar issues but cancerinform helped me get around it. if you're still having trouble check that thread out and see if it helps.
    ...
  12. that's pretty, I endorse that jasondefra's...

    that's pretty, I endorse that jasondefra's suggestion :D
  13. Replies
    3
    Views
    713

    you're welcome. post here if you get stuck and...

    you're welcome. post here if you get stuck and I'll do my best to help you along.
  14. well what are you using to exit the frame? i'm...

    well what are you using to exit the frame? i'm assuming you have a stop() to stop it and mayble like a button or something that makes the swf play again in which case just add:
    ...
  15. thanks, I already tried to get around not being...

    thanks, I already tried to get around not being able to test like so


    var myURL:String="assets/imageList.xml";
    if (Capabilities.playerType != "External" && Capabilities.playerType !=...
  16. load your sound into a SoundChannel object. ...

    load your sound into a SoundChannel object.

    soundChannel.stop();

    it's also just generally a better idea to play sounds through SoundChannel than just as Sounds I think ... or maybe just if you...
  17. how about a function that: listens for when...

    how about a function that:

    listens for when any image is moused over, shrinks all images by say 25% and enlarges the image you're over by 50%? and then obviously a function that sets them all back...
  18. Replies
    3
    Views
    713

    This is a fairly long solution but it's how I...

    This is a fairly long solution but it's how I would've fixed this (so no gaurantees ;) )

    Instead of having normal buttons with up and over states make them movie clips with the up and over states...
  19. thanks cancerinform, it works in IE now although...

    thanks cancerinform, it works in IE now although Firefox is still being stubborn. I have another question now that I've narrowed down what's causing my images to display in the incorrect order.
    ...
  20. I worry that I'm going to start sounding like an...

    I worry that I'm going to start sounding like an evangelist since this is the second time today I make pretty much the same reccomendation but have a look at tweenlite. If you can use external...
  21. your demo files made me hungry ... I probably...

    your demo files made me hungry ... I probably wouldn't use the external swf if it was my project but for the fade out you could use something like greensock's tweenlite to fade alpha to 0 and then...
  22. "2) Is there a *simple* reference/summary of what...

    "2) Is there a *simple* reference/summary of what happened to my old AS2 commands somewhere."

    http://www.adobe.com/livedocs/flash/9.0/ActionScriptLangRefV3/

    i'm pretty sure that's what you're...
  23. php -> xml -> as3 (and why don't my browsers make up their minds?)

    Hi

    I've been working on a site that lets a user upload an image via php and then has the php save it's filepath on the server to an xml document which gets read by flash (which then loads the...
Results 1 to 23 of 23




Click Here to Expand Forum to Full Width

HTML5 Development Center