Can Anyone help with this please?

Hey, Im just wondering how to stop the swf file from loading if the url isnt correct.

For example the lottery site flash movies dont load if u just have
national-lottery.co.uk/player/movies/weeklygrandfree_movie.swf

you need to have the full url
national-lottery.co.uk/player/movies/weeklygrandfree_movie.swf?getdata_datasource=/player/GetGameFeed/00000009S00DF&gameId=00000000000000003353&shockwaveVersion=0&flashVersion=9&endgame_datasource=playGame.do&flashVer=9

thanks

See all those things that follow the ? after the movie name? They are known as Flashvars and, if you do a search on the term or check the help files, you’ll find that they’re a way of passing variables into Flash using data/value pairs.

There’s probably some code in the SWF which checks those variables and only plays the SWF, or loads another external movie, if they’re correct, e.g. the movie will only play if the getdata_datasource and the gameID are both correct.