Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Glint Text Example

Status
Not open for further replies.

saw15

Technical User
Joined
Jan 24, 2001
Messages
468
Location
US
I am trying to follow this tutorial and am having issues.

tutorial:
Once I do everything it says, the effect looks as it should on the stage, but when I play the movie or publish it into an swf file, you don't see the text, but only the rectangle with the linear gradient moving along the screen. Its like the mask is not doing what it should be doing.

Any thoughts?

Thanks in advance.
 
Disregard, the text was set to dynamic not static. It won't work with dynamic text (at least mine didn't).
 
It would if you had embedded the font used.
With static text, the font is automatically embedded and that's why it worked.

Regards. Affiliate Program - Web Hosting - Web Design
After 25,000 posts, banned on FK, but proud not to have bowed down to them!
 
Thanks for info. Very new to flash, just trying to get some of the basics.

Another quick question if you don't mind.

Once I publish the swf file, it create the html. Within the html, it sets the source to:

embed src="hdrWelcome.swf"

I actually like keeping graphics etc in a sub directory, so if I move the swf file to flash/hdrWelcome.swf and then change the source it can't find it.

Am I using the right protocol? Or must I set the path of file another way?

Thanks again in advance.
 
You need both an object & embed tags in your .html, which should be in the same folder as the .swf, thus in flash/...

If not, then try the full url including the
embed src="
Also be careful when using caps in file names... if you don't use the exact same spelling, it won't work online, although it may when testing the file locally on some browsers.




Regards. Affiliate Program - Web Hosting - Web Design
After 25,000 posts, banned on FK, but proud not to have bowed down to them!
 
I have both the object and embed, but was hoping that I could state the source another way other than giving the full "http etc name".

Was hoping I could give a sub directory etc, similar to how its done for images etc. That way when I develop on my desktop, running my own sites I don't have to modify the source everytime I promote something.

Thanks for your feedback, appreciate it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top