| User Details | message |
|---|---|
| nijodream Mon, 28 May 2007 |
I am using swfobject.js to load the flash file and have wish to user the eg so.addVariable("flashVarText", "Welcome Home"); To show they dymanic text on each page as the flash header loads. I have no issues getting the var to show up on the flash file on a dynamic text area. But every time I try to use the var on the TextFX it does not load. I have set the "Instance Name" of the TextFX to "MyTextFX" and have set the behaiour of the component to "Do Nothing" The .fla consists of only one frame. On this frame with the TextFX I have also placed the script below to load the TextFX. _root.MyTextFX.text = flashVarText; _root.MyTextFX.text.startEffect(); The Swf file should display "Welcome Home" but instead shows nothing. I know the flash var "FlashVarText" is working because it is displaying in dynamic text field on the page. I also know the TextFX is working because I have other instance on the page that is not dynamic. I do not want to use a .txt file to load these elements. Can you give me any pointers to get the text to load in the FX dynamically and am I doing something incorrect? Please note when I set the behaviour of the TextFx to load automatically. I get a weird output of text "as arText" in place of what should be there "Welcome Home" Any help would be very much appreciated. |
| Back | |
| Horea Radu [eXtend] Tue, 29 May 2007 |
Hello, First of all, when using TextFX with dynamic text you have to manually embed the font you are using. This might be the reason why the text does not appear. If this is not the problem then there must be something wrong with the ActionScript (since the static TextFX are working). If embedding the font doesn’t solve the problem, please send us the FLA file at support@extendstudio.com and we will look into it. Best regards, Horea RADU. |
| Back |