-
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!
-
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.
-
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|