Flash to HTML Communication

Hi everyone.
Project
I’m helping develop in Flash CS3 an online soft skills
training that involves students viewing a short video than
answering a multiple choice question. After viewing several videos
and answering the related questions the student is given on
overview of how they did in a test summary page.
Delivery
Plan is to have each video and questions in a single Flash
file embedded in an html file. The end test summary page will be
delivered in html.
Question
What I’d like to know is how can I get the flash
video/question pages to communicate the test results to the end
summary page.
I’m not much good at actionscripting, therefore any
help would be much appreciated.
Also, is there anyway of converting a swf file back to a
flash file, (fla)?
Thanks.
Michael

you'll need to create a dynamic html page if you're
presenting a page that will use data from flash in its display.
flash can't do that.
flash can communicate with server-side programs that can
create your html page.
converting swfs to flas can be done by de-compiling the swfs.
there are several commercial decompilers. i don't know if any of
them can handle as3, though.

Similar Messages

  • 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>

  • How to pass text from flash to html?

    how to pass text from flash to html?

    This is a wonderful sample i found online.
    pls run using a server so that it can display properly
    http://active.tutsplus.com/tutorials/actionscript/flash-html-javascript-externalinterface/

  • Cropped Flash in HTML

    I am testing a carousel menu and have uploaded the test pages to www.garynewport.com.
    If I run the flash directly (http://www.garynewport.com/menu.swf) then it runs as I want it to.
    If I run it within an HTML page then it is smaller, tucked to the right and is cropped.
    If I create the HTML within Flash (Publish) then the same problem.
    Can anyone help me please?

    Hello,
    I have just played around with CSS...and hopefully got what you are after.
    I think KGLAD was correct in the beginning, your embed tag in the HTML is incomplete.
    Here's what I did:
    enclosed the <embed> tag around <object></object> tag. (this is the correct way to embed, Google "embed flash in html" for more examples)
    set the style of <object> tag to be <object width="100%"> (this is optional, I just do it anyway...can't remember the reason)
    wrape the <object> and <embed> in a <div class="spinning-menu"> (this is the best pratice, objects should get wrapped by divs, beside, its lot easier to assing divs with CSS classes and styles later on)
    create a CSS class .spinning-menu { margin: 0 20%; }, this will center your spinning menu, leaving 0% margin at the top, while 20% margin left and right. The % are respective to the window/browser size, so that when you resize the window, the margins are maintained.
    change the width property of the <embed> tag to be 100% (this is to ensure your flash shows 100% of the widths)
    Just a screen shot....making sure this is what you are after....the white border is just to show you where is the <div>, not included as part of the steps above. As you can see, the movie is not at the center of the page, and not cropped (I could only see 1/2 of the blue men in your home page)
    Hope this helps....

  • Control Flash from HTML (k)

    I have a button in HTML that I want to use to control the
    flash on the
    page it sits on.
    When the button is rolled over, I want to pass a variable to
    the Flash
    movie so that something happens.
    How can I do this in Dreamweaver?
    -Kirk

    It's a stupid way of doing it, but I got it to work using the
    FSCommand.
    I send the user to a frame in the Flash movie. That frame has
    the
    variable set to the "On" state. I then have them go to
    another frame for
    the "Off" state.
    -Kirk
    W. Kirk Lutz wrote:
    > I know that it would be easier. But I have a very tall
    flash file of a
    > floorplan. I have a legend for the floorplan that I want
    to float in a
    > layer so that when someone scrolls down the page, the
    legend follows. I
    > Can make a scroller in flash, but would prefer to try
    and control Flash
    > via HTML.
    >
    > I know you can pass a variable in HTML to flash, but if
    it has to reload
    > the page each time the user will be throwing their
    machine out the window.
    >
    > Any way to control Flash?
    >
    > I've tried to send the user to a frame in Flash via the
    FSCommand, but
    > it doesn't seem to work. I have two scenes in my flash
    file. A loading
    > scene and the main scene. The FSCommand jumps me to the
    frame in the
    > loading Scene.
    >
    > -Kirk
    >
    >
    > -->dan mode wrote:
    >> It would be much easier to do the rollover button in
    Flash.
    >> Otherwise, you need a server side language that
    would populate a
    >> variable in the embedded swf code.
    >>
    >>

  • Please help flash and html mix

    dear Sirs,
    I appreciate really your responses and help.
    i am trying to make a website that uses flash and html at the
    same time i mean only the menu is flash and the rest is html, the
    menu and all other parts are well put in table and rows, and cols
    but the problem is that i need the button in the menu(flash) to
    load dynamicly the content into the page and not reload the whole
    stuff(including the flash menu )
    thanks for your time

    > i am trying to make a website that uses flash and html
    at the same time i mean
    > only the menu is flash and the rest is html, the menu
    and all other parts are
    > well put in table and rows, and cols but the problem is
    that i need the button
    > in the menu(flash) to load dynamicly the content into
    the page and not reload
    > the whole stuff(including the flash menu )
    > thanks for your time
    Every time you open page, flash reload from scratch. That's
    how it works.
    You can use frames and keep the menu in frame, which would be
    easiest solution.
    Or you could use Shared Object, something like flash's form
    of cookies.
    Make a record every time you press button, read that record
    every time you
    open the page and based on result do something with the menu
    to indicate
    that this is the clicked location, tho take note, it still
    will be loading
    the file from zero, every single time you open new html page.
    Best Regards
    Urami
    <urami>
    If you want to mail me - DO NOT LAUGH AT MY ADDRESS
    </urami>

  • Flash and Javascript communication

    Dear All
    I am creating a CD version course where passing data from
    Flash to html. Because of Flash player 8 security reason, a popup
    is flashing. To avoid that I have tried to write a .CFG file in
    system32, but that is not possible on user's machine.
    Is there any other solution to aviod that Flash 8 security
    popup?
    Thanks and Regards
    Shailesh

    If you use player 9 you can set the value. Here's more
    information:
    http://www.adobe.com/devnet/flashplayer/articles/full_screen_mode_02.html

  • When is Firefox metro going to come to 32 bit windows 8? and can improve flash and html 5 performance!

    When is Firefox metro going to come to 32 bit windows 8 and can you improve flash and html 5 performance it cant play 1080p videos smoothly I love Firefox but I'm using IE 10 for browsing and video, then Firefox for developing but want to use it for everything!

    This article might answer your Windows 8 questions:
    [[Does Firefox work on Windows 8 and Windows RT?]]
    Link: https://support.mozilla.org/kb/does-firefox-work-windows-8-and-windows-rt?
    As for performance issues in Firefox with Flash 1080p videos, Information about your graphics driver might help. See:
    *[[Use the Troubleshooting Information page to help fix Firefox issues]]
    This Adobe page might also be helpful (it recommends disabling hardware acceleration in Flash settings as a possible workaround):
    *http://helpx.adobe.com/flash-player/kb/video-playback-issues.html#main_Solve_video_playback_issues

  • Advice on integrating Flash and HTML

    I have googled and researched this topic on the web.
    Integrating Flash and HTML seems like a popular topic but much of
    the information is dated (using FS commands or solutions based on
    2000-2004 coding and/or hacks) I am using Flash CS3 and Dreamweaver
    CS3. I can use Actionscript 2 or Actionscript 3. Here is my goal
    I want to use a Flash navigation in the top third of my page
    and have it control and load new HTML pages in the bottom two
    thirds of the page. Some of these html pages use SPRY code but most
    are simple HTML pages. I prefer Flash over CSS because I have more
    control and predictability. What I have found so far is three
    different solutions.
    1.HTML Framesets. This seems like a really good idea but I
    thought using framesets was a fading technique and should be
    avoided. Is this true?
    2. Using the ExternalInterface class to communicate between
    Javascript and Actionscript. This also seemed like a good idea but
    it is not clear to me how to implement. Do I combine this with
    innerHTML or some type of AJAX technique.
    3. Keep everything in Flash and load different swfs into main
    Flash page. I like this idea the best and it would work for most
    pages but I still like html pages when there is alot of text or I
    want to use SPRY techniques.
    When I have posted elsewhere I get references to articles
    telling me why Flash is bad or framesets are bad or innerHTML is
    not standard HTML. The only thing I am sure about is that most
    people are pretty passionate about defending their own way of doing
    things. I am hoping someone can provide some solid information
    about what is possible and how to implement a solution.

    It works when you put it online... :)1

  • Export motion to flash or html 5?

    I like the creative possibilities in Motion but am wondering if there is a way to incorporate this into webpages via flash or html 5? Perhaps some sort of export or conversion?

    Most browsers can handle H.264 files, or at least .mp4 files (nowhere as good.)  It's coding for the players that's the pain...
    FFMpegX (ffmpegx.com) will convert video (.mov) to .FLV (but I'm not sure it would be the most recent type of flash file) — there are instructions how on the /flv.html page.
    For HTML5 (webm format) there is http://mirovideoconverter.com (open source/free) which, I just found and haven't tried yet (but I'm definitely going to check it out!)
    HTH

  • Preview of Flash in HTML

    I have a Flash movie (MX 2004) that tests perfectly. When I
    try to Publish preview in default HTML I dont get anywhere near the
    same results as when I tested the movie.
    I'm trying to preview the movie in IE. Sorry guys, don't tell
    me to switch to FireFox or something else...I am restricted to
    using IE.
    I am on deadline and could really use some suggestions.

    what does..."I dont get anywhere near the same results" mean?
    Chris Georgenes
    Adobe Community Expert
    www.mudbubble.com
    www.keyframer.com
    www.howtocheatinflash.com
    fixm wrote:
    > I have a Flash movie (MX 2004) that tests perfectly.
    When I try to Publish
    > preview in default HTML I dont get anywhere near the
    same results as when I
    > tested the movie.
    >
    > I'm trying to preview the movie in IE. Sorry guys, don't
    tell me to switch to
    > FireFox or something else...I am restricted to using IE.
    >
    > I am on deadline and could really use some suggestions.
    >

  • Inserting Flash on html or xhtml page

    I've typically used Dreamweaver to insert my Flash movies in
    html pages. However, the code inserted by Dreamweaver CS3 does not
    validate and I've read there are better ways to do it. Several
    people have recommended swfobject (
    http://blog.deconcept.com/swfobject/
    ). Is swfobject a good solution for todays browsers or is there a
    better approach that works across most common browsers (Firefox,
    IE6, IE7, Safari)? This is a sample page that works in most
    browsers, but sometimes the flash element cannot be viewed in
    Firefox:
    http://www.jimmoondesigns.com/pg/package.html

    IMO, I don't think you'll find a better method than using
    SWFObject. I
    recommend it, and use it on all our sites.
    Dave -
    Head Developer
    http://www.blurredistinction.com
    Adobe Community Expert
    http://www.adobe.com/communities/experts/

  • Help needed embedding flash over HTML

    hi all
    could anyone please help me with telling me how to embedd a
    flash file in an HTML file so that the menu swf comes above the
    HTML areas in the file. if you check the links you would know what
    i mean. i require to replace the current top menu swf file with the
    new flash2.swf file. flash2.swf file has a drop down menu which i
    want to appear above the HTML below. please let me know if anyone
    could help me out. I had done it long time back and forgot the code
    that places the flash above the HTML.
    thanks in advance
    B
    HTML
    file
    Flash
    menu file

    Using a Flash element for your navigation links is a very
    very big mistake.
    Do you know why?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Digital Prophets" <[email protected]> wrote in
    message
    news:efra9u$4ja$[email protected]..
    > hi all
    >
    > could anyone please help me with telling me how to
    embedd a flash file in
    > an
    > HTML file so that the menu swf comes above the HTML
    areas in the file. if
    > you
    > check the links you would know what i mean. i require to
    replace the
    > current
    > top menu swf file with the new flash2.swf file.
    flash2.swf file has a
    > drop
    > down menu which i want to appear above the HTML below.
    please let me know
    > if
    > anyone could help me out. I had done it long time back
    and forgot the code
    > that
    > places the flash above the HTML.
    >
    > thanks in advance
    >
    >
    > B
    http://www.talkingpebbles.com/development/trivium/index.htmlhttp://www.talkingp
    > ebbles.com/development/trivium/flash2.swf
    >

  • Script adding on to my flash on html page

    errors in page. this script is getting into my html page with
    the flash im adding into. my page does not show in the internet
    after upload. www.aurorabiomed.html/flashretreat.html. everytime i
    add a flash file into my webpage this script is added and my page
    has errors. it was not happening before i reformatted my harddrive
    and reinstalled dw8
    !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=iso-8859-1" />
    <title>Untitled Document</title>
    <script src="../Scripts/AC_RunActiveContent.js"
    type="text/javascript"></script>
    </head>
    <body>
    <script type="text/javascript">
    AC_FL_RunContent( 'codebase','
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','wid th','120','height','600','src','assets/retreat07','quality','high','pluginspage','http://w ww.macromedia.com/go/getflashplayer','movie','assets/retreat07'
    ); //end AC code
    </script><noscript><object
    classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"
    width="120" height="600">
    <param name="movie" value="assets/retreat07.swf" />
    <param name="quality" value="high" />
    <embed src="assets/retreat07.swf" quality="high"
    pluginspage="
    http://www.macromedia.com/go/getflashplayer"
    type="application/x-shockwave-flash" width="120"
    height="600"></embed>
    </object></noscript>
    </body>
    </html>

    What is the location of this page in the folder structure you
    show?
    > is there something wrong with the source
    > path of the script?
    If you are getting the wrong path to the linked file, then
    your local site
    is not properly defined.
    > - mainwebsite_html folder
    > + assets folder
    > flashretreat.html
    > - scripts folder
    > - templates
    If the page you show below is in fact flashretreat.html, then
    the link that
    DW adds is correct - you have to go up one folder level, find
    the Scripts
    folder (I'm assuming you made a type in showing lower case
    above) and then
    find the required script in that folder -
    <script src="../Scripts/AC_RunActiveContent.js"
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "web_rookie" <[email protected]> wrote in
    message
    news:[email protected]...
    > in the preferences window, under code rewriting i
    disabled active content
    > for
    > 1. insert using browser safe scripts &
    > 2. convert tags to scripts on file open.
    >
    > my page works fine now. if i enable this options and the
    scripts folder is
    > also uploaded my page has errors. is there something
    wrong with the
    > source
    > path of the script? i tried transfering the folder
    inside my webpage
    > folder
    > together with the html pages and assets folder rather
    than at the root
    > folder
    > but still gives me the same error.
    >
    > - Site - Biomed (C:Biomed)
    > - mainwebsite_html folder
    > + assets folder
    > flashretreat.html
    > - scripts folder
    > - templates
    >
    > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN"
    > "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    > <html xmlns="
    http://www.w3.org/1999/xhtml">
    > <head>
    > <meta http-equiv="Content-Type" content="text/html;
    charset=iso-8859-1" />
    > <title>Untitled Document</title>
    > <script src="../Scripts/AC_RunActiveContent.js"
    > type="text/javascript"></script>
    > </head>
    >
    > <body>
    > <script type="text/javascript">
    > AC_FL_RunContent(
    > 'codebase','
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#
    >
    version=7,0,19,0','width','120','height','600','src','assets/retreat07','quality
    > ','high','pluginspage','
    http://www.macromedia.com/go/getflashplayer','movie','as
    > sets/retreat07' ); //end AC code
    > </script><noscript><object
    > classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
    > codebase="
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#ve
    > rsion=7,0,19,0" width="120" height="600">
    > <param name="movie" value="assets/retreat07.swf"
    />
    > <param name="quality" value="high" />
    > <embed src="assets/retreat07.swf" quality="high"
    > pluginspage="
    http://www.macromedia.com/go/getflashplayer"
    > type="application/x-shockwave-flash" width="120"
    height="600"></embed>
    > </object></noscript>
    > </body>
    > </html>
    >
    Text
    Text
    >

  • Send variable to Flash from HTML link

    Does anyone know if it's possible to include a variable in an
    html link <a> tag that can set a variable in Flash. I have
    used JavaScript to do this in the past but would prefer not to on
    this site. I also would prefer not have to use a server side script
    or xml, as all I want to do is set multiple links on one html page
    to open the same Flash movie on another html page, but make it go
    to a particular frame or load a particular external swf based on
    the link that was clicked. Thanks, JD

    You need to use them in the object and embed tags.
    Dan Mode
    --> Adobe Community Expert
    *Flash Helps*
    http://www.smithmediafusion.com/blog/?cat=11
    *THE online Radio*
    http://www.tornadostream.com
    *Must Read*
    http://www.smithmediafusion.com/blog
    "JDRives" <[email protected]> wrote in
    message
    news:efcb61$rkb$[email protected]..
    > Do I need to use Flash Vars in the object and embed code
    to load them in
    > or will they automatically be passed to the variable on
    the _root level of
    > the SWF file? Thanks for your quick reply, JD

Maybe you are looking for

  • Installation problem for oracle 9i on linux

    The following error I have got during installation of Oracle 9i (9.2.0.1.0) downloaded enterprise version for Linux from otn site. Red Hat Linux Release 9 (Kernel 2.4.20-8) 1. Could not copy /home/oracle/OraHome1/Apache/Apache/conf/ssl.key/server.key

  • Hp5520 scan no longer works after Yosemite update

    My hp5520 has been working fine for both printing and scanning wirelessly from my iMac until the recent Yosemite update.  I can still print, but can no longer scan.  What is the solution for this?  Is there a driver update needed for Yosemite?  I nee

  • How to do flipping of columns of table

    Hi all, i have created a script which should display the columns of table in seperate line ie, say there are three columns c1,c2 and c3. then the output should come as c1 c2 c3 but in my case it is coming as c1 c2 c3 how to solve this problem . i thi

  • Newb: Youtube HD for Premiere Elements 4.0

    Sorry instantly to demonstrate my noobiness. I would like to export a short video so that it can be displayed on Youtube using HD. My difficulty is the amazing shallowness of my understanding. I understand the recommended output resolution is 1280 x

  • Cisco Nexus 5548 device

    Hi, Can you please let me know how to get (command) Manufacture date for Cisco Nexus 5548 device. Appreciate your support. Thanks, Brahma