Embed Flash Animation Inside Flash Website

Hello,
I have created a flash website and I want my features button
to load and play a features movie (or animation) when it is
clicked. I know how to actionscript already and add buttons and
event listeners. My main objective is to avoid adding the features
movie into the flash website's timeline because i think it will
greatly increase the file size and therefore loading time of the
site. Since the features movie is passive and only needed when the
user clicks the features button, it should be stored in a separate
file or timeline so that it doesn't load with the main website. The
feature movie should only be loaded and played when the user click
the feature button. Is there any way to do this with flash or am I
stuck working in the website's timeline and using stop() and
gotoAndPlay() in actionscript?
Thanks

If you're using AS 2.0, then press F1 for help and search AS
2 for "loadMovie".... or you can go here:
http://livedocs.adobe.com/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Liv eDocs_Parts&file=00001189.html

Similar Messages

  • How to embed youtube movie in flash website using xml pages?

    hi to every one
    I m quite new to flash website designing. so I've downloaded a free flash website template, that is using xml pages in it. & I m using adobe flash cs4. now I wants to embed youtube movie in one of its .xml page & I wants that it shows that movie when i open that xml page in adobe flash cs4. even I've pasted youtube embeded code in one of that xml page but it does not works. so please please please resole my problem as soon as possible.
    thousands of thanks to all of those who helped me....
    Regards
    Faiz Fareed.

    Maybe you can try You Tube Api for flash
    http://code.google.com/apis/youtube/flash_api_reference.html

  • Has anyone managed to embed flash content within there responsive HTML5 website?

    Has anyone managed to embed flash content within there responsive HTML5 website? I'm aiming to get my client gallery Flash based but don't want to sacrifice my responsive HTML5 layout to achieve this.
    I feel the Flash gallery would be more secure than my current option,
    Thanks in advance
    Katie xx
    http://www.katiegarcha.com

    It dawned on me what the problem was, in my Actionscript, I am using a XML sheet to call the pictures in the gallery. The XML sheet is located in the same folder as the actionscript, but not in the same folder as the html page, hence the Flash working when it is directly called but not when it is somewhere else. Once this dawned on me, I remembered that I used "short" urls for the images thinking of them all being in the same folder as the actionscript, but not thinking about their relative link from the location of the HTML page. So, I believe that if I change the relative urls to fit the location of the HTML instead of the location of the SWF page, it should work.

  • Embed flash video on website...

    About a month ago, I asked for a code to embed a flash video
    on my website, but now I am stuck. I was told to convert the videos
    to .FLV, which is fine. I can do that, BUT in the coding, I am
    confused because the 'file name' in the code ends with .swf. I am
    SO lost because if the video is converted to .flv how would it work
    if the name in the code ended with .swf? I am VERY new at flash,
    and beyond converting the videos to .flv, I'm lost.
    Also, if I can figure this out, would I need to add any other
    details to make sure the code works in both IE and firefox?
    <object
    classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
    codebase="
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.ca
    b#version=6,0,29,0" width="400" height="400" >
    <param name="movie" value="videoplayer.swf">
    <param name="quality" value="high" >
    <param name="LOOP" value="false">
    <embed src="videoplayer.swf" width="400" height="400"
    loop="false"
    quality="high" pluginspage="
    http://www.macromedia.com/go/getflashplayer"
    type="application/x-shockwave-flash"></ embed >
    </ object >
    Thank you!!!

    You will need to use the following <object> code for IE
    and <embed> code for
    Mozilla browsers. Replace "your_video_file.swf" with your
    actual file name
    in both places.
    <object
    classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
    codebase="
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.ca
    b#version=6,0,29,0" width="400" height="400" >
    <param name="movie" value="your_video_file.swf">
    <param name="quality" value="high" >
    <param name="LOOP" value="false">
    <embed src="your_video_file.swf" width="400" height="400"
    loop="false"
    quality="high" pluginspage="
    http://www.macromedia.com/go/getflashplayer"
    type="application/x-shockwave-flash"></ embed >
    </ object >
    --Nancy O.
    Alt-Web Design & Publishing
    www.alt-web.com
    "Miss_Angela" <[email protected]> wrote in
    message
    news:ffnl8c$i7d$[email protected]..
    > In looking at the response I got a month ago, a "Nancy
    O" replied and also
    said
    > this:
    > "To embed Flash Video in your web page, you'll link to
    an SWF
    > file which contains the player info and skin."
    >
    > I am not sure how to do that all or what it means.
    Thanks
    >

  • Problems uploading Flash website

    I'm trying to upload my Flash website. I inserted my index.fla file in Dreamweaver and saved it as an html. I then uploaded the html on the FTP and now the website is showing up blank. Where did I go wrong?

    Hi,
    Make sure you embed your swf on your html page and upload both. The fla (original Adobe Flash file) don't need to be uploaded on your server. To upload your html page, you can use Dreamweaver buit-in FTP or your favorite one. Make sure your target audience has the right flash player or your animation won't play.
    Hope this help !
    M.

  • How do I use Brige Web Gallery in a Flash website

    How do you use the output of a Brige Web Gallery for use inside of a Flash Website?

    Hi there -
    I'd try posting your question over in the Flash general forum. You could also try the Flash site design forum. The folks over there will probably be able to help you solve your issue

  • Adding payPal shopping cart to a Flash website?

    Hi there,
    I'm a newbie, creating my first flash website and my first shopping cart, so  be easy on me.
    I've done  a lot of research, however was unable to find any tutorials on how to  set up a  Paypal shopping cart or any other secured shopping cart in a website  that was created in Flash professional CS5, actionscript 3.0. Paypal's  tutorial is  only for html (copy/paste the code in your html website and voila) but  how to integrate shopping cart in Flash website? Any help would be  appreciated.
    This is my first time setting up a cart on a website. I  have a "shop"  button on my site (see picture below) that I would like linked to an  external  page preferably with my items that I would like to sale. Not  sure if paypal's shopping cart can do what I want it to do. Once the  user clicks on the "Shop" button, I'd like for my customer to be able to  see a picture of the items I have for sale, price for each item, a box  where the buyer can write quantity of item desired, add to cart button  and then check out button. With paypal shopping  cart, can I add  pictures beside each item I am selling when entering the  price on  paypal's website or I have to add the pictures of the items I  am  selling directly in my shop section of my website and add a buy now   button for each individual item and then copy/paste the email link  provided by  Paypal to each of my buy now buttons and add that code to  my "Actions" layer within Flash? How would the script look like? And  what if later on I want to add additional info to an item, change price  or delete it completely...would I have to make the changes everytime  within paypal only or I'd have to make the changes on both paypal and my  flash file and upload new copy to server? I'd like for my cart to  integrate with my site (keep the same look and feel, same  layout/background color) preferably but what ever way is the easiest.  Thanks for your help.

    Any source that provides embed code to add to your webpage should work. So in other words if E-Junkie provides the HTML code that you simply embed in your own code it will work. If it requires a certain plugin be installed it may or may not.

  • How do you use an Adobe Bridge Web gallery in a Flash Website

    How do you embed the output from Adobe Bridge Web Gallery into a Flash Website?

    Hi there -
    I'd try posting your question over in the Flash general forum. You could also try the Flash site design forum. The folks over there will probably be able to help you solve your issue

  • How do I create a hyperlink to a specific section of a flash website?

    Ok, I have no experience coding in flash, I just want to
    create links to specific parts of a flash website (website that
    were created by other people, not that I am building). In other
    words, I just want to create the hyperlink that will open a certain
    section of the website - I'm not developing the site and I don't
    want to create links inside the site. Is there any way to do this?
    For example:
    http://www.lucasarts.com/games/fracture/
    is the flash site I want to link to. Wherever I navigate in
    the site, the address never changes in my browser. But I know it is
    possible to get a URL to a specific flash page, because I have seen
    some of the web admins post them.
    For example:
    http://www.lucasarts.com/games/fracture/?section=2&sub=5
    which opens a very specific section of the site. So is there
    anyway for me, an average computer user with no experience in flash
    coding, to get a hyperlink to open a certain section of a flash
    site, or at the least get my browser to display the specific URL
    (that is, the "?section=2&sub=5" part of the address). I use
    firefox, but am willing to try anything or any browser at this
    point.
    Thanks!

    My Flash sites use a section and subSection structure, and
    within the site I use the numbers to display specific areas. But
    it's done internally. I have no code that looks at a query string
    attached to the URL so supplying the numbers to my sites will have
    no effect. The example you give clearly does read parameters passed
    in a query string so if you know the correct numbers (and the param
    names eg 'section') then you can do it.

  • Advice needed for beginner to Flash website building

    Help!
    I have zero knowledge about using Flash.  I am being asked by my boss to build a flash web site for our music and video game stores.  I built our old site in Dreamweaver.
    Does anyone have advice on where i should start?  A suggested book that will walk me through beginning to end.  I've worked through a few tutiorials but I feel lost as far at the time line and actions.
    Any expert advice is appreciated.  I need to get started in the next month.  I'd like to build it myself instead of outsourcing to someone else.
    Know where I should start?

    Lindsay,
    Last month I built my first Flash website after following this tutorial on Lynda.com:
    http://www.lynda.com/home/DisplayCourseN.aspx?lpk2=735
    Needless to say the concept behind the tutorial was mind-opening, at least for me: I have a HTML/CSS background and I always used Flash almost only for banners, headers and simple animations.
    Hope this helps...
    JC

  • Advice on how to keep Flash website small & fast

    Hi, I'm developing my first Flash website (I know, I know, there are plenty of reasons to use other development products, but for now it will be Flash), and I envision a site with several pages and needing to load some large graphics.  I'm doing the main design work in Illustrator and importing it into Flash.  I'm not too concerned with animation except perhaps moving some buttons around.  My plan so far is to use a lot of UI loaders to keep the main .swf small and to really try to keep the coding pretty simple as I'm a newbie anyway.  I'm looking for general advice on how to prevent the main site from loading quickly - for example, I don't have a good sense of the best format to use for graphics, or which makes the site slower: using several UI loaders or just keeping the content in the main site?  Is a lot of code or large graphics more draining on the load time?  Any thoughts on what you think I can do or not do to keep it lean would be super appreciated, or any other resources you might be able to point me to.
    Thanks in advance!

    Nah... really really stupid questions only get asked in non-Flash forums.  The size of the swf is not tied tot the size of the fla.  The fla has alot more baggage that inflates its size greatly compared to the swf it creates.  The swf will end up bearing the weight of whatever content you put in it.
    If you want to see what's adding weight to your swf, go into your Flash Publish Settings and select the option to Generate Size Report.  When you publish the file it will display a detailed report of each element and the weight it contributes to the swf.
    As far as dynamically loading swf's, it is often a necessity, unless the swf is strictly an animation.  If you import an swf into an fla file, all of the actionscript that might have been in it is stripped out.
    Code will have negligible weight in a file.  Images (large/heavy ones) can put lead shoes on a file, along with video and sound files.

  • How to embed flash in html

    I have been trying to embed a flash swf document in a free
    website hosting site called Weebly. You can add html code to it and
    i have been reading up about the ways to embed flash in html. I
    have tried all the codes but when you first save the file where
    does it have to be saved?

    Felixhj wrote:
    > I have been trying to embed a flash swf document in a
    free website hosting site
    > called Weebly. You can add html code to it and i have
    been reading up about the
    > ways to embed flash in html. I have tried all the codes
    but when you first save
    > the file where does it have to be saved?
    >
    I'm sure weebly have instruction for it and would be best to
    try to search the site.
    In most cases you upload the file to some folder and define
    the path in your embed tag,
    or upload to your hosting space and direct that path to the
    file there.
    As I said, each company practice differently, check with
    them.
    Best Regards
    Urami
    "Never play Leap-Frog with a Unicorn."
    <urami>
    If you want to mail me - DO NOT LAUGH AT MY ADDRESS
    </urami>

  • Embed Flash into Java Application

    Hello Friends,
    I need to develop a Java Swing application which can display the menus using Flash. So basically I want to embed flash in the Java swing application such that when the user clicks a button in the flash menu, the menu will pass a command to the Java Swing application and vice-versa.
    I am looking to use Flash this way, because using Flash we can create really good looking and smooth menus as opposed to Java Swing. I also want a solution which will be platform independent.
    Please let me know how to do this. Atleast give me some pointers or website tutorial which will guide me in this.
    Thanks a ton.
    S

    moshegym wrote:
    como puedo visualizar archivos swf en javaSer?a mejor hacer un "thread" (?hilo?) nuevo aqu?, y escribir en ingl?s.
    Tambi?n, T? debe mirar aqu?:
    http://forum.java.sun.com/thread.jspa?forumID=57&threadID=695658
    http://forum.java.sun.com/thread.jspa?forumID=57&threadID=605662
    http://forum.java.sun.com/thread.jspa?forumID=57&threadID=686514
    http://forum.java.sun.com/thread.jspa?forumID=57&threadID=749760
    http://forum.java.sun.com/thread.jspa?forumID=57&threadID=682919
    http://forum.java.sun.com/thread.jspa?forumID=57&threadID=580785
    http://forum.java.sun.com/thread.jspa?forumID=57&threadID=628218
    http://forum.java.sun.com/thread.jspa?threadID=637018&messageID=3719465
    (I found this information in this link: http://forum.java.sun.com/thread.jspa?forumID=57&threadID=768376)
    Edited by: Encephalopathic on Mar 25, 2008 2:40 PM

  • Enable full sreen For API youtube into flash website

    Hie,
    simple question ,it is possible to have the fullscreen button on the youtube players when the API is load into a flash website ?
    I read this
    fs
    Values: 0 or 1. Default is 0. Setting to 1 enables the fullscreen button. This has no effect on the Chromeless Player. Note that you must include some extra arguments to your embed code for this to work. The bolded parts of the below example enable fullscreen functionality:<object width="425" height="344">
    <param name="movie" value="http://www.youtube.com/v/u1zgFlCw8Aw?fs=1"</param>
    <param name="allowFullScreen" value="true"></param>
    <param name="allowScriptAccess" value="always"></param>
    <embed src="http://www.youtube.com/v/u1zgFlCw8Aw?fs=1"
      type="application/x-shockwave-flash"
      allowfullscreen="true"
      allowscriptaccess="always"
      width="425" height="344">
    </embed>
    </object>
    I see many http website having the expand in full screen button but I can't find API youtube into Full flash players web site
    thx in advance,

    Try the following link:
    ftp://ftp.adobe.com/pub/adobe/reader/win/

  • How to embed Flash .flv video?

    Hello guys,
    I am wondering, is there any way how to embed Flash video onto my web page?
    And regarding QT video template on iWeb's Movie page, can I drag any kind of QT ? Like H.264 QT for example, or is it just for Mpeg2 QT?
    Thank you so much for any advise.

    What is your video codec you are working with? NTSC (and PAL) DV is about 13 gigs/hr uncompressed. When you export your QT movie from your editing application and convert the file to flv you are compressing the video at that time with a determined bit rate and video dimension. quality and file size comes down to math. File size = bit rate x movie length. Quality is bit rate in relation to dimension. Surprisingly enough the recommended video encoder for flv is Flash Video Encoder application that comes with Flash. Sorenson Squeeze is arguably the best flv video encoder. Visual Hub is not recommended if quality and efficiency is desired. Flash Player is a browser plug-in that that allows web visitors to view Flash videos on your website from their web browse. Most already have Flash player installed and you can insert a script that checks to see if the visitor has Flash player installed and if it doesn't a window will appear informing the visitor that they are required to instal the Flash Player in order to view Flash content on your website. A URL is also provided to direct the visitor to the Flash Player download page. Insert this script into the <head></head> of your site:
    <script type="text/javascript">
    function MM_CheckFlashVersion(reqVerStr,msg){
    with(navigator){
    var isIE = (appVersion.indexOf("MSIE") != -1 && userAgent.indexOf("Opera") == -1);
    var isWin = (appVersion.toLowerCase().indexOf("win") != -1);
    if (!isIE || !isWin){
    var flashVer = -1;
    if (plugins && plugins.length > 0){
    var desc = plugins["Shockwave Flash"] ? plugins["Shockwave Flash"].description : "";
    desc = plugins["Shockwave Flash 2.0"] ? plugins["Shockwave Flash 2.0"].description : desc;
    if (desc == "") flashVer = -1;
    else{
    var descArr = desc.split(" ");
    var tempArrMajor = descArr[2].split(".");
    var verMajor = tempArrMajor[0];
    var tempArrMinor = (descArr[3] != "") ? descArr[3].split("r") : descArr[4].split("r");
    var verMinor = (tempArrMinor[1] > 0) ? tempArrMinor[1] : 0;
    flashVer = parseFloat(verMajor + "." + verMinor);
    // WebTV has Flash Player 4 or lower -- too low for video
    else if (userAgent.toLowerCase().indexOf("webtv") != -1) flashVer = 4.0;
    var verArr = reqVerStr.split(",");
    var reqVer = parseFloat(verArr[0] + "." + verArr[2]);
    if (flashVer < reqVer){
    if (confirm(msg))
    window.location = "http://www.adobe.com/shockwave/download/download.cgi?P1ProdVersion=ShockwaveFlash";
    </script>
    Then replace <body> with this:
    <body onload="MM_CheckFlashVersion('9,0,0,0','Content on this site requires the latest version of Adobe Flash Player. Do you want to download it now?');">
    Beginning with Flash Player 9 h.264 QT movies are now supported for playback. Simply change the file extension from .m4v to .flv to convert the h.264 video to Flash video that can be viewed from Flash Player 9+ on a web browser.
    hope that helps!

Maybe you are looking for