To hard code the URL... you would need to open the FLA and then set the video path var to your video file location.
Are you trying to load this into another player or just a Flash project?
I would like to hardcode the URL of the flv movie clip and inbed the exported SWF into other flash movie using the loadmovienum() function
can anybody who is familiar with the source help with this
thx
To hard code the URL... you would need to open the FLA and then set the video path var to your video file location.
Are you trying to load this into another player or just a Flash project?
I want to load the player into a flash site ( not into another player) but not the source just the exported swf player with hardcoded path
http://www.katkaknechtova.ttiorg.com
So far I use some a flaky player that does not work well when the network is slow
I'm loading the gallery the same way using the exported swf with the loadmovienum() function and it works quite well
Hmm... you will have to download the bundle, open the player.fla file, set _global.filename = filename; to your actual file path as a string, ex: _global.filename = "http://www.google.com/myVideoName.flv";
Then publish that fla and import the swf to the other flash project. That should work for you.
You could also hardcode the player sizes while you're at it. That way you won't have to worry about passing it in with the other movie.
Cool site, by the way.
Thanks for the reply
I can't figure out where to hard code the size only the click area ...I think I would have the resize the entire project in the properties
I managed to hardcode the path to the flv file but for some reason it works only if I load the player using the loadMovieNum("player.swf",1); function that loads the player to level 1 , when i try to do the same using the loadMovie("player.swf", "targetinstance") function the player gets stuck at preloader there must be something with a path to the file
I have to use the loadMovie() function because it is an easier way to position and scale the player ...when using this function the player should inherit the position and size of the instance ( "targetinstance" dumb movie ) that I'm loading it into
any ideas ?
You wouldn't have to resize the entire project, you should be able to define
_global.width = 800;
_global.height = 600;
under the other global variables in the FLA file
I can't help you with the loadMovieNum issue, I'm an AS3 coder. if the pre-loader is still on the screen, something is preventing the player from calling this function: listenerObject.ready
You must log in to post.
Powered by WordPress - Created by Tommaso Baldovino