dcsimg
A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: placement of video on level 2

  1. #1
    Junior Member
    Join Date
    Sep 2003
    Location
    Austin, TX
    Posts
    4

    placement of video on level 2

    I am working on a video player that will work similar to an mp3 player.

    The code that I have does not specify setting for video, however it plays swf's using actions scripts. The player works great, but I cannot figure out how to place the swf's at a particular coordinate. I am using the load movie action script. The swf's appear in the upper left hand corner of the page, and I need them to be located at another place. I have tried to put the coordinates in the script of the button, but the button moves instead.

    script

    on (release) {
    loadMovieNum (location, 2);
    }


    what needs to be added to get an x, y coordinate.

    Thanks
    james bruce
    Never under any circumsstances let the machine win!

  2. #2
    Moderator
    Join Date
    Apr 2001
    Location
    Akron OH, USA
    Posts
    4,841
    the coordinates are properties of the mc object you load the SWF into.

    _level2._x = ?
    _level2._y = ?

    you will need to wait until the SWF starts to load before applying this code, otherwise the mc object may not exist at the time you try to move it.

    I am not sure the best way to acheive this second part.
    aviarts.com - web development and flash development

  3. #3
    Junior Member
    Join Date
    Sep 2003
    Location
    Austin, TX
    Posts
    4

    resolved

    thanks for the help that solves the problem
    Never under any circumsstances let the machine win!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center