Home Tutorials Forums Articles Blogs Movies Library Employment Press Buy templates

Go Back   ActionScript.org Forums > Flash General Questions > Flash 9 General Questions

Reply
 
Thread Tools Rate Thread Display Modes
Old 08-10-2007, 07:13 PM   #1
kristoff
Registered User
 
Join Date: Aug 2007
Posts: 14
Question Load Movie actionscript Problems.

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!!!
kristoff is offline   Reply With Quote
Old 08-10-2007, 07:17 PM   #2
kristoff
Registered User
 
Join Date: Aug 2007
Posts: 14
Question Load Movie actionscript Problems.

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!!!
kristoff is offline   Reply With Quote
Old 08-10-2007, 07:34 PM   #3
CyanBlue
Super Moderator
 
CyanBlue's Avatar
 
Join Date: Jan 2002
Location: Centreville, VA
Posts: 24,878
Default

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...
CyanBlue is offline   Reply With Quote
Old 08-10-2007, 09:41 PM   #4
kristoff
Registered User
 
Join Date: Aug 2007
Posts: 14
Default

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?
kristoff is offline   Reply With Quote
Old 08-13-2007, 01:34 PM   #5
CyanBlue
Super Moderator
 
CyanBlue's Avatar
 
Join Date: Jan 2002
Location: Centreville, VA
Posts: 24,878
Default

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...
CyanBlue is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT. The time now is 11:35 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2009 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.