dcsimg
A Flash Developer Resource Site

Search:

Type: Posts; User: florianvanthuyn

Page 1 of 20 1 2 3 4

Search: Search took 0.30 seconds.

  1. Thanks for your reply :) Let me further...

    Thanks for your reply :)

    Let me further explain myself then!

    So on the bottom screen I have a part of a circle, that I stretch to fit the width of the screen, thus changing the size of the...
  2. Finding centre coordinates of a circle

    Hi!

    I'm trying to rotate objects around a certain point, but I don't know how to calculate the position of it..

    As the title mentions, it's got something to do with a circle, so instead of...
  3. Replies
    3
    Views
    501

    Maybe you could shrink your invisible button, so...

    Maybe you could shrink your invisible button, so that a margin of 10px can't be ROLL_OVER'ed.
    This way, when ROLL_OUT'ing, you'll always touch the actual swf banner part that's not a button, thus...
  4. Since you have the SWF ready as a MovieClip, you...

    Since you have the SWF ready as a MovieClip, you can use any function or property the class has to offer.

    mySWFMovieClip.play();
    mySWFMovieClip.stop();
    mySWFMovieClip.gotoAndPlay(10);...
  5. addFrameScript is an undocumented method in AS3,...

    addFrameScript is an undocumented method in AS3, you'll find it when you google for it, but it's not code-hinted, as you experienced ;)
  6. I'd put the image urls in an Array, and than...

    I'd put the image urls in an Array, and than process those with a for loop, like this:


    var arr:Array = ["img1.jpg","img2.jpg","img3.jpg"];

    for(var i:uint = 0; i < arr.length; i++)
    {
    ...
  7. Thanks for the quick reply! I managed to ask one...

    Thanks for the quick reply!
    I managed to ask one of my teachers today and he confirmed that.

    Now I will have to look for another creative use of camera or microphone :)
  8. [RESOLVED] Voice controlled command: howto?

    So basically, I would like to make something that requires the user to say terms like "next", "previous", etc. and link them to specific actions within the script.

    I've searched the internet for...
  9. Replies
    0
    Views
    1,384

    Rotate MC following parabolic path

    Alright, so I found this code somewhere on FK and I've converted it to AS3 and it seems to work correctly:

    var startx:Number = mc.x; // starting position
    var endx:Number = stage.stageWidth -...
  10. Replies
    5
    Views
    1,722

    For the different names you can use an Array: ...

    For the different names you can use an Array:

    var currSWF:uint = 1;
    var movLoader:Loader;
    // so store the names in here, no .swf needed
    var swfNames:Array =...
  11. Replies
    3
    Views
    404

    Are you sure the button you're trying to target...

    Are you sure the button you're trying to target has the same instance name as the one you're using?
    Also, if you're tweening the button, you will have to give it that same instance name on each...
  12. Replies
    6
    Views
    585

    You can also remove all the button eventListeners...

    You can also remove all the button eventListeners while loading, and add them again afterwards.
    And this might not work, but try it anyway :) imgLoader = null;
  13. Replies
    6
    Views
    585

    Try calling the imgLoader.unload() method before...

    Try calling the imgLoader.unload() method before loading in one of the files.
  14. Replies
    15
    Views
    723

    Then it should be: ...

    Then it should be:

    entrys_mc.removeChild(entrys_mc.getChildAt(i-1));

    What this does is remove the children from entrys_mc, based on their depth, so the mc's added first will be remove first too.
  15. In that case a duplicate will be of no use,...

    In that case a duplicate will be of no use, unless you're ok with adding all the actions twice (which shouldn't be a problem if you're assigning them with a loop, but still)..

    I would move the...
  16. I think your looking at either moving the thumbs...

    I think your looking at either moving the thumbs that have left the masked area to the back or front (depending on the direction) or having a duplicate of holder_mc and add it to the back.
  17. Replies
    15
    Views
    723

    Maybe this will work, but I'm not sure if it will...

    Maybe this will work, but I'm not sure if it will remove the mc's in the right order:

    entrys_mc.removeChild(entrys_mc.getChildAt(i));
    rather than "entrys_mc.removeChild(mcV[i]);"
  18. No problem :) I would have suggested that if you...

    No problem :) I would have suggested that if you hadn't found it yourself, but it's always a good thing to have people find their own ways :)
  19. In Flash I tend to use a one frame preloader with...

    In Flash I tend to use a one frame preloader with EventListeners to follow the progress. I don't export my assets on the first frame (which will prevent a white screen from showing until the first...
  20. I haven't looked at your file since I'm going to...

    I haven't looked at your file since I'm going to bed in a few minutes, but I wanted to give you a way you could handle this.

    Basically, you will have to make a variable which stores the pop-up (if...
  21. My guess is that frames switch slower than code...

    My guess is that frames switch slower than code executes, so with your previous code, it tried accessing stage before it was added (the code started running the moment it got loaded 100%) and that...
  22. It's probably because the swf hasn't been added...

    It's probably because the swf hasn't been added to the stage yet and so it can't find it at first.
    Try using this listener:

    addEventListener(Event.ADDED, onAdd);

    private function...
  23. I think he's trying to get the dates of the days...

    I think he's trying to get the dates of the days located in the 34th week of the year 2009 (therefore 7 results).
    Or in general a function or class that returns 7 dates from the given week in the...
  24. Replies
    1
    Views
    661

    When I run your file I get errors saying that: ...

    When I run your file I get errors saying that:

    - story.load() isn't a XML function -> use a URLLoader and URLRequest to load in a .xml file
    - story.onload = function(){} is outdated, use...
  25. Thanks :) Whenever I have to use it in the...

    Thanks :)

    Whenever I have to use it in the future and I'm not getting to where I want to get, than I'll make a new thread for that.
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4




Click Here to Expand Forum to Full Width

HTML5 Development Center