Page now more and more people use Flash to build a website, because mx2004 support some HTML tags, we can use them to enrich the page, not just text.
Detailed HTML tags can be seen here: http://www.webjx.com/htmldata/2005-02-18/1108656410.html Here's one to note:
Image Labels
Description: This tab does not just insert pictures in a text box, it can also be inserted into SWF and MovieClip. Attributes: src: The URL of the JPG or SWF to be loaded, or the link ID of the MC, this attribute is necessary, and the other attributes are optional.
Well, on the surface, we can only load pictures and animations, if you want to add music, is it necessary to generate a SWF for each additional music and then load it with HTML? Of course, I can't force you to do this.
Continue, here with the ordinary HTML page is different, the flash inside can load SWF and MovieClip, we can transfer parameters to external video, then load back ~
I may not be able to say clearly, look at the following:
A new flash,size can be adjusted, in the first book written:
Stop ();
Mysound=new Sound ();
Mysound.loadsound (A,true)
Save Publication as http://www.webjx.com/htmldata/2007-04-26/mp3.swf
Put a song in the same directory, here for example Qlx.mp3
Create a new flash, create a text box with an instance named feather
First write:
Stop ();
Feather.html=true
feather.htmltext= "
Well, that's it, the page loaded a music ~ if you want to load other articles can modify the a= behind the filename ~ Absolute address can also ~
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.