[font=Arial]hi,
I have this weird problem.
i have a main movie (site.swf). In this movie there are buttons and a target named “target”
now, when i push my button “portfolio” in my mainmovie, the movie portfolio loads in the target.
But my css won’t work then.
When i go to my portfolio.swf directly, the css works.
problem: movie loaded in target = css won’t work
movie loaded directly = css works…
AS in portfolio.swf where the textfield is placed:
myTextStyle = new TextField.StyleSheet();
myTextStyle.load(“myText.css”);
this.klantVak.styleSheet = this.myTextStyle; [/font]
system
August 16, 2004, 7:56pm
2
I’ve never really dealt much with loading CSS but I have worked with externaly .swf files a lot. It sounds to me like it is definetly a path problem. Double check your paths and instance names. Make sure when you are referencing something in the portfolio.swf, that you use the instance name of the target that it is loaded into. Hope I didn’t confuse you.
system
August 17, 2004, 10:08pm
3
Gumby19:
I’ve never really dealt much with loading CSS but I have worked with externaly .swf files a lot. It sounds to me like it is definetly a path problem. Double check your paths and instance names. Make sure when you are referencing something in the portfolio.swf, that you use the instance name of the target that it is loaded into. Hope I didn’t confuse you.
it was so easy!
just changed my publish settings to Actionscript 2.0 and Flashplayer 7 and it worked!