| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
Registered User
Join Date: Aug 2007
Posts: 14
|
Hi, I am a self-taught flash developer and am picking it up quite nicely, however, I am trying to contsruct a portfolio using the set-up of having a main flash file which loads in all external pages using the "loadMovie" function. When I test one of the pages on its own, it works fine. I have various scripts,but the one I am having problems with is getting the dynamic text action to work. When testing the external page on its on, it works fine, and when i roll over certain buttons, it displays the dynamic text as it should.
However, when I load this movie into the main flash file and test it, everything works (in terms of buttons, drag functions etc) apart from the dynamic text scripts. I stumbled upon the _lockroot function which I have tried to apply to the movieclip loader in the main flash, and have also tried applying the _lockroot to the first frame of the .swf I am loading in. No matter which variation I use it doesnt seem to work. I have also tried playing around with absolute and relative paths when trying to target the dynamic text, however this doesnt seem to make any difference. Please HELP!!! |
|
|
|
|
|
#2 |
|
Registered User
Join Date: Aug 2007
Posts: 14
|
Hi, I am a self-taught flash developer and am picking it up quite nicely, however, I am trying to contsruct a portfolio using the set-up of having a main flash file which loads in all external pages using the "loadMovie" function.
When I test one of the pages on its own, it works fine. I have various scripts,but the one I am having problems with is getting the dynamic text action to work. When testing the external page on its on, it works fine, and when i roll over certain buttons, it displays the dynamic text as it should. However, when I load this movie into the main flash file and test it, everything works (in terms of buttons, drag functions etc) apart from the dynamic text scripts. I stumbled upon the _lockroot function which I have tried to apply to the movieclip loader in the main flash, and have also tried applying the _lockroot to the first frame of the .swf I am loading in. No matter which variation I use it doesnt seem to work. I have also tried playing around with absolute and relative paths when trying to target the dynamic text, however this doesnt seem to make any difference. Please HELP!!! |
|
|
|
|
|
|
|
|
#3 |
|
Super Moderator
Join Date: Jan 2002
Location: Centreville, VA
Posts: 24,878
|
Howdy and Welcome...
![]() I think you simply need to embed the font that you use on the child movie into the main movie... See if that helps...
__________________
CyanBlue / Jason Je / Macromedia Certified Flash Developer & Designer http://CyanBlue.FlashVacuum.com http://www.FlashVacuum.com http://tutorials.FlashVacuum.com Do NOT PM, Email or Call me... Your question belongs right in this forum...
|
|
|
|
|
|
#4 |
|
Registered User
Join Date: Aug 2007
Posts: 14
|
It worked!!! Thanks. Is it only dynamic text you need to embed when using a loadMovie setup? or is it all text types?
Also, I'v been using the startDrag function restricting the vertical movement, however when I have wide movieClip (over 1200px wide) the values for Left,Top,Right,Bottom seem to not work as they do with movieClips under 1200px. Also, if I make the Top and Bottom values 0 the movieclip disappears, so I have to add a 1pixel value to the bottom which adds a slight jump to the movieClip when you first click on it. Any suggestions? |
|
|
|
|
|
#5 |
|
Super Moderator
Join Date: Jan 2002
Location: Centreville, VA
Posts: 24,878
|
Flash embeds the font automatically for the Static textField... But you've got to do that yourself for the Dynamic and Input textFields...
Please post that startDrag question to a separate thread... That's whole lot easier for those who search the forum... ![]()
__________________
CyanBlue / Jason Je / Macromedia Certified Flash Developer & Designer http://CyanBlue.FlashVacuum.com http://www.FlashVacuum.com http://tutorials.FlashVacuum.com Do NOT PM, Email or Call me... Your question belongs right in this forum...
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| load Movie not working in HTML page?? | swillicott | ActionScript 2.0 | 2 | 03-30-2006 10:04 PM |
| actionscript to enable _root.ProgressBar to load new movie | thiswayup | ActionScript 2.0 | 0 | 03-15-2006 12:48 AM |
| Hot to load a movie clip via actionscript? | _Jay | ActionScript 2.0 | 1 | 11-08-2005 09:02 PM |
| movie load problems | grasshopper | ActionScript 2.0 | 1 | 07-22-2005 06:49 PM |
| Movie Load Problems | mgilvey | ActionScript 1.0 (and below) | 2 | 07-15-2002 03:31 PM |