Flash Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignFlash Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old January 26th, 2004, 09:13 PM
govinda govinda is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 6 govinda User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
dynamic Text inside a loaded swf

I have my MAIN FLASH WEBSITE that loads a PROFILE section which is a separate SWF file.

Inside the profile.swf, I have the sub nav button 'experience' dynamically pulling a text file into my text box.

If you view the 'profile.swf' file alone, the text is being pulled fine.

However, If you view the MAIN FLASH WEBSITE, choose 'Profile' link, then 'Experience' Link. The text box DOES load the text, but you can't SEE it.

You can tell it is loading the text files because the scroll bar becomes active, and I can cut and paste the invisible text into my notepad program.

Why is my text invisible?

Here is my Sub navigation code for the 'experience' button located on 'profile.swf':



CODE:
on (release) {
loadText = new loadVars();
loadText.load("profile_experience.txt");
loadText.onLoad = function(success) {
if (success) {
// trace(success);
scroller.html = true;
scroller.htmlText = this.myText;
}
};
}






I am new to actionscript, I don't know at this point what to do.

Thank you in advance for any help with this!

- Govinda

Reply With Quote
  #2  
Old January 27th, 2004, 12:53 PM
caguru's Avatar
caguru caguru is offline
<insert title here>
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2001
Location: at home
Posts: 405 caguru User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 29 m 59 sec
Reputation Power: 8
I haven't looked at your site, but I can guess what your problem is without even looking. (neither one is loading) This is a very common problem. Chances are the main flash movie has a mask layer somewhere in it that overlaps the area where profile.swf is loaded into the main movie.

Flash does not display dynamic text when masked. This has always been a pet pieve of mine. There are some workarounds.

Options
1. Get rid of the mask. (boring but easy) -getting rid of the offending mask will cure the problem but probably kill the look of your movie, which is why I never choose this option.

2. Load the movie on top of the mask (better)- Load the .swf on top of any mask layers. Either move the MC in which you are loading your other .swf files on top of the mask in the timeline or load in into a higher level than the movie with masks.

3. Use pixel fonts. Pixel fonts do not 'disappear' when masking, however they have other limitations. More info on pixel fonts for Flash can be found in google.

Good luck.
__________________
--the key to life is avoiding death--

Reply With Quote
  #3  
Old January 27th, 2004, 06:14 PM
govinda govinda is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 6 govinda User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
THANK YOU!!!!!!

You are the first person to suggest that it is the MASK!!

And you didn't even look at my files!!!

Sorry, bout the excitement...I have been struggling with this for a week on about 5 forums, and no help until now helped!

Actually, it is okay that I delete the mask, didn't really need it for the transition effect which is only a white fad inbetween each loaded SWF.

Now I can progress with my website!

THank you Again!

- Govinda

Reply With Quote
  #4  
Old January 27th, 2004, 11:46 PM
caguru's Avatar
caguru caguru is offline
<insert title here>
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2001
Location: at home
Posts: 405 caguru User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 29 m 59 sec
Reputation Power: 8
Your welcome.

btw, I had to learn that lesson the hard way too.

Reply With Quote
  #5  
Old January 28th, 2004, 01:14 AM
rynoe's Avatar
rynoe rynoe is offline
_root.troubleMaker
Dev Shed Novice (500 - 999 posts)
 
Join Date: Dec 2003
Location: Florida, USA
Posts: 638 rynoe User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 h 8 m 30 sec
Reputation Power: 5
Very Interesting Macromedia issue!

I was wondering if anyone has explored further on actionscript masking efforts on this issue.

Friends of ed have this:
masking

caguru: Very good pionts! Thank you very much for sharing your experience! I remember this crap too!
Your number 2 option reminds me of dealing with a layer issue long ago. By the way how is the superbowl hype going!

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignFlash Help > dynamic Text inside a loaded swf


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT