dcsimg
A Flash Developer Resource Site

Search:

Type: Posts; User: Smilev

Page 1 of 20 1 2 3 4

Search: Search took 0.55 seconds.

  1. Replies
    7
    Views
    882

    yes, that's right. If the array of played clips...

    yes, that's right. If the array of played clips has more than 3, then get the first one and move it back to the other array.
  2. Replies
    7
    Views
    882

    randomClips = new Array ("Journey.swf",...

    randomClips = new Array ("Journey.swf", "Doobies.swf", "LedZep1.swf", "PinkFloyd1.swf", "Stones.swf");
    playedClips = new Array();

    var mclListener:Object = new Object();

    mclListener.onLoadInit...
  3. Replies
    7
    Views
    6,118

    Well, what about to pause and hide the video on...

    Well, what about to pause and hide the video on metadata, then on buffer full get the videoHeight and videoWidth and play the video?
  4. Not the same problem I think. Imo, jAQUAN's...

    Not the same problem I think. Imo, jAQUAN's suggestion is going to fix it.
  5. Replies
    7
    Views
    6,118

    Not all videos have that info in the metadata...

    Not all videos have that info in the metadata though.
  6. I dont see why it wouldnt work if the path is...

    I dont see why it wouldnt work if the path is right.

    Try something like this and see if it is going to work:


    var ldr:Loader = new Loader();
    var url:String = "images/20.jpg";
    var...
  7. Replies
    7
    Views
    6,118

    Video.videoHeight and Video.videoWidth

    Video.videoHeight and Video.videoWidth
  8. Where are you testing - locally or on a server?...

    Where are you testing - locally or on a server? Try with an absolute path/url
  9. Replies
    5
    Views
    2,174

    CS3 then you don't need tiles. You can draw a plane,...

    then you don't need tiles. You can draw a plane, put some movieclips on top and check for hittest or for coordinates. Tiles you'd like to use if you have a pathfinding algorithm which calculates your...
  10. Replies
    5
    Views
    2,174

    CS3 if each tile stores its coordinates and if you...

    if each tile stores its coordinates and if you keep track of the character position you need to compare those against each other.
  11. Replies
    11
    Views
    5,747

    Primary: Aug. 19th]]>

    <date><![CDATA[<b>Primary:</b> Aug. 19th]]></date>
  12. Thread: nextFrame();

    by Smilev
    Replies
    4
    Views
    475

    If it's a button or a movieClip depends on what...

    If it's a button or a movieClip depends on what functionality do you want to implement.

    Every movieclip has it's own timeline. In AS2 the main timeline is the _root. You can access each timeline...
  13. Or it could call javascript/AJAX function that...

    Or it could call javascript/AJAX function that will update the html content below the flash header.
  14. Thread: variable maths

    by Smilev
    Replies
    5
    Views
    1,004

    Where is this code? Is it possible that it's...

    Where is this code? Is it possible that it's being called several times? Try to debug it.
  15. Thread: Cant unload

    by Smilev
    Replies
    1
    Views
    480

    if you are loading into a level (ie 9) you need...

    if you are loading into a level (ie 9) you need to use loadMovieNum:

    loadMovieNum("portfolio.swf", 9);

    To unlaod it use unloadMovieNum:

    unloadMovieNum(9);
  16. Replies
    1
    Views
    313

    http://code.google.com/p/swfobject/...

    http://code.google.com/p/swfobject/
    http://www.adobe.com/devnet/flashplayer/articles/alternative_content_03.html
  17. Thread: nextFrame();

    by Smilev
    Replies
    4
    Views
    475

    looks like a scope issue. What timeline are you...

    looks like a scope issue. What timeline are you trying to advance? If it is the main one you need to use _root.nextFrame(); Also where is this movieclip start? Is it within the France_draggable...
  18. Replies
    7
    Views
    882

    You are welcome :)

    You are welcome :)
  19. CS3 pass with the flashvars parameter the name of the...

    pass with the flashvars parameter the name of the frame which you want your moviecliip to go to and play (put labels on your frames) adn then check if the variable is set.
    ...
  20. Replies
    7
    Views
    882

    Try this: randomClips = new Array...

    Try this:


    randomClips = new Array ("Journey.swf", "Doobies.swf", "LedZep1.swf", "PinkFloyd1.swf", "Stones.swf");

    var mclListener:Object = new Object();

    mclListener.onLoadInit =...
  21. Replies
    5
    Views
    2,174

    CS3 What do you need hitTest for? Link the position...

    What do you need hitTest for? Link the position of the character to that of the tiles. I.e if its position is [6,1] he won't be able to go left or down but up or right.
  22. Name your button instances btnBlue, btnRed and...

    Name your button instances btnBlue, btnRed and buttonYellow and put this code on the first frame of the main timeline:

    btnRed.onRelease = function() {
    textbox.scroll=0;
    }
    btnBlue.onRelease =...
  23. I can't open it.. is that CS5? Save it as CS4.

    I can't open it.. is that CS5? Save it as CS4.
  24. Replies
    2
    Views
    431

    you need to set the displayState of the stage to...

    you need to set the displayState of the stage to "fullScreen"

    here you can find the rest of the info with an example code:
    ...
  25. Thread: FLV Full screen

    by Smilev
    Replies
    3
    Views
    461

    Try this: var screenRectangle:Rectangle = new...

    Try this:

    var screenRectangle:Rectangle = new Rectangle(video.x, video.y, video.width, video.height);
    stage.fullScreenSourceRect = screenRectangle;
    stage.displayState =...
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