all groups > flash (macromedia) > april 2005 >
You're in the

flash (macromedia)

group:

problems loading swf in other level


problems loading swf in other level silvan vella
4/30/2005 12:00:00 AM
flash (macromedia): Hello all

I have a movie which load several swf (on _level1) according to each
button. When running it locally it is fine but when I use the dreamweaver
and put the swf online the swf loaded does not appear can someone help
???

Thanks again I'm learning alot from ya all


Re: problems loading swf in other level urami_
4/30/2005 12:00:00 AM


[quoted text, click to view]

IS your html embed and object tag referring to the file as (sample) images/SWF/name.swf ?
or is it directly name.swf ?




--
Regards

Urami

--


<urami>
http://www.Flashfugitive.com
</urami>

<web junk free>
http://www.firefox.com
Re: problems loading swf in other level silvan vella
4/30/2005 12:00:00 AM
yes i have use name.swf. Can uexplain the terms u told me in ur reply please
since do not understood what u said.
[quoted text, click to view]

Re: problems loading swf in other level urami_
5/2/2005 12:00:00 AM


[quoted text, click to view]

If you have all the files in same folder they will work but once you refer to main
SWF from html using directories like img/flash/yourFile.swf
the file automatically look for it's content from the perspective of html location
not its original location so automatically it will mismatch the paths.
I was suspecting it could be the case.
Re: problems loading swf in other level silvan vella
5/3/2005 12:00:00 AM
I used this command when on level 0 : loadMovie("1.swf", 1); Locally the swf
and also when exporting it to html works perfect. When i put the htm online
only the first swf appear (the one on level 0) and this happens also whrn
put on htm in dreamweaver and export it online,

[quoted text, click to view]

Re: problems loading swf in other level urami_
5/3/2005 12:00:00 AM


[quoted text, click to view]

The above action has an error, perhaps flash is tolerant but once run in outside player
(browser) than it find it as incorrect and fail to perform.
The action should be
loadMovieNum("name.swf", 1);

If you load in level you need to use "NUM" otherwise you load in target where instance
name is 1 and instance should not be a digit, on top of it, while using loadmovie the second
parameter should be in quotes
loadMovie("name.swf", "1");

NOTE !!! no digit for an instance name
so correctly it would be

loadMovie("name.swf", "instanceName");


try
loadMovieNum("name.swf", 1);
and see if it works than


--
Regards

Urami

--


<urami>
http://www.Flashfugitive.com
</urami>

<web junk free>
http://www.firefox.com
AddThis Social Bookmark Button