Passing events from Flash MX 2004 or Flash 8 to Authorware

I would like to send event information, like a button press
or reaching the end of the Flash move, to authorware. Can anyone
help me?

There is an example called 'Flash Nav' in the Show Me folder.
Best Regards,
Apurva
http://www.apurvalawale.com/
- "Home of alBrowser and Amigo"
http://learning.apurvalawale.com/
- "Learn authorware tips and tricks"
http://amigo.apurvalawale.com/
- "Interesting useful links from contributers
.... search 'elearning' for example"
"daelk" <[email protected]> wrote in message
news:ekbvfs$rmj$[email protected]..
>I would like to send event information, like a button
press or reaching the
>end of the Flash move, to authorware. Can anyone help me?

Similar Messages

  • Passing parameters from a browser URL to Flash

    Flash CS3, AS3
    Is there any way to pass parameters from the URL line in a
    web browser to actionscript?
    ie. so if you had something like the following URL link in
    the browser...
    http://www.somedomain.com/someswf.swf?var1=10&var2=false
    ...it would pass var1 and var2 to someswf.swf.
    (Hypothetically, of course - I'm unsure as to the necessary syntax)
    Is this possible? Or would I need some intermediary software?
    Thanks
    Rick

    i answered a very similar forum query a few days ago
    here
    You need to look into loaderInfo.parameters.

  • Passing variables from server-side asp to Flash

    I'm having some difficulty passing the server's date/time to
    Flash.
    I'm getting this error message: Error #2101: The String
    passed to URLVariables.decode() must be a URL-encoded query string
    containing name/value pairs.
    However, it appears as if I am sending name/value pairs. Both
    my files reside in the same directory. Can anyone help?

    Hi,
    Like Mamata said you can use .call() method to call the client methods to send data. If you want to send the duration and someother stream related data, you can use onMetaData even handler. This will be called at the client side when ever the client plays a stream. You can retrive the duration, video/audio codecs, frame size etc. of the stream.
    var nc:NetConnection = new NetConnection();
    var ns:NetStream;
    var myClient:Object = new Object();
    nc.connect("rtmp://myserver/app");
    nc.addEventListener(NetStatusEvent.NET_STATUS, onNCStatusEvent);
    function onNCStatusEvent(infoObj:Object):void {
         trace(infoObj.info.code);
         if(infoObj.info.code == "NetConnection.Connect.Success"){
                   ns = new NetStream(nc);
                   ns.client = myClient;
                   myClient.onMetaData = metaDataHandler;
                   ns.play("mp4:myfile.mp4");
    function metaDataHandler(metaDataObj:Object):void {
         for(var p in metaDataObj){
           trace("metaDataObj."+p+":"+metaDataObj[p]);
           //Here you get the metadata of the stream which is being played.
    If you trying to send some other data to the client which is not found in the metaData then you will have follow what mamata had mentioned.
    Regards,
    Janaki L

  • Flash mx 2004 to Flash 8

    Hi,
    I have a flash header that I created for my site using flash
    mx 2004. But I have recently upgrade to flash 8. If I try and open
    up the header file in flash 8, the document is all disfigured and
    then timelines etc are all messed up. Is there anyway I can get it
    to look like it does when I plug it into flash mx 2004.
    Regards

    seabaz wrote:
    > Hi,
    > I have a flash header that I created for my site using
    flash mx 2004. But I
    > have recently upgrade to flash 8. If I try and open up
    the header file in flash
    > 8, the document is all disfigured and then timelines etc
    are all messed up. Is
    > there anyway I can get it to look like it does when I
    plug it into flash mx
    > 2004.
    > Regards
    That's rather weird, I open MX 04 files in 8 few times dayli,
    never had a single problem
    nor do I hear anyone else complain about similar issue.
    Perhaps someone temper with that
    file ?
    Best Regards
    Urami
    <urami>
    If you want to mail me - DO NOT LAUGH AT MY ADDRESS
    </urami>

  • Passing events from externally-loaded SWFs

    Hi,
    We have an externally-loaded swf that acts as a kind-of-a slide show.  After a user selects a particular subject from a mxml-based "menu" application, they push "buttons" in the SWF to go through a presentation, then on the last frame of the swf, I'd like to unload the swf and replace it with another "mxml" application.  How can this be done?  I have not tried to pass/capture events "up" from an externally-loaded swf before.
    Thanks,
    Doug

    Do you own those SWFs?  If so, they should dispatch an event from a known
    place like a SlideShowManager or something like that.
    Other folks "cheat" and bubble events or dispatch off of the systemManager
    and/or top-level application.

  • How to pass events from enclosed JApplet to enclosing JFrame?

    Perhaps a bit of an obscure problem, but I have an application here that involves displaying JApplets within a JFrame. As long as I do nothing to give the displayed JApplet focus, I am able to use keyboard shortcuts to access my various JMenu items. However, the moment I interact with the JApplet and it gets focus (say, by entering text in a JTextField), those keyboard shortcuts no longer work.
    I imagine what's happening is that the JApplet assumes that it must be the root component and does not pass events up to the superclass. Is there any way to allow the events to be passed on from the JApplet to the enclosing JFrame? Is this even possible?
    Any help would be greatly anticipated.
    - Fromage

    Hi FTD,
    I just about get your example; it is like a containment hierarchy right - one current, one proposed?
    If it is required that there is only one base class to maintain, I am positive this can be satisfied. I suppose our ideas are similar... the point I was trying to make though is that you can implement you AnalysisClasses independent of the top-level container it resides in. The JApplet itself perhaps just needs to handle/marshal <applet> parameters (if any) while the JFrame has only JFrame specific initalisation to take care of - this can feasibly be done from the main method of the AnalysisClass. Effectively you get:
    JFrame --> JDesktopPane --> JInternalFrame x 3 --> AnalysisClass
    or
    JApplet --> AnalysisClass
    I do not fully understand what role the BaseGUIClass has... in my example, I have omitted it assuming its functionality could be redistributed to AnalysisClass or one of JInternalFrame or JApplet. Does it contain a lot of initialisation code and therefore am I wrong to make this assumption?
    'The application GUI itself is simple...', would this be the AnalysisClass and does this mean it can be dropped into a JFrame or JApplet and manage itself? If so, but not to annoy you, I would still recommend the JInternalFrames.
    I think it would frustrate me quite a bit if my superiors were rigid... it is very possible to implement this so that there is only one version of a class to maintain. The question is how much programming is required to achieve this. In my opinon, not a lot; perhaps with respect to your bosses/dealines, too much.
    Here's an idea:
    public class ApplicationGUI extends JApplet
        public void initialise()
            AnalysisClass tool = null;
            switch (Integer.parseInt(getParameter("toolType")))
                case 1:
                    tool = ....
                break;
                case 2:
                    tool = ....
                break;
                case 3:
                    tool = ....
                break;
            if (tool != null)
                setContentPane(tool);
        public void start()
        public void stop()
        public void destroy()
        public static void main(String[] args)
            JFrame jFrame = new JFrame("Application Name");
            JDesktopPane jDesktop = new JDesktopPane();
            JInternalFrame jiFrame1 = new JInternalFrame("Tool 1", true, true, true, true);
            JInternalFrame jiFrame2 = new JInternalFrame("Tool 2", true, true, true, true);
            JInternalFrame jiFrame3 = new JInternalFrame("Tool 3", true, true, true, true);       
            jDesktop.add(jiFrame1);
            jDesktop.add(jiFrame2);
            jDesktop.add(jiFrame3);
            jFrame.setContentPane(jDesktop);
            jFrame.setVisible(true);
    }BTW if you managed to add the JApplet to a JPanel, why couldn't you add it to the JFrame?
    Kind regards,
    Darren
    ps. are you based in England?
    pps. apologises for making your name sound like STD, lol
    ppps. apologies for posting code when you prob don't want it... I am at work, bored.

  • How to pass events from subpanel(s) to the main VI ?

    hi all,
    I found a lot of solutions to pass the events from the main VI to the subpanel(s) but none about passing the events from subpanel(s) to the main VI. In the attached VIs, I just want to generate an event in the main_VI.vi when I click on the button positionned in the subPanel1.vi. How can I do that ?
    thanks.
    Cedric
    Attachments:
    main_VI.vi ‏13 KB
    subPanel1.vi ‏6 KB

    Cedric,
    You could use a queue to transfer the button data to your main vi.
    See the attached files:
    subPanel1mod - Detects a button change and Enqueues the state.
    main_VI mod - uses the Timeout event to poll for data in the queue.
    main_VI mod1 - gets the queue data without having to poll.
    Like your orginals, these files are in LV2010.
    steve
    Help the forum when you get help. Click the "Solution?" icon on the reply that answers your
    question. Give "Kudos" to replies that help.
    Attachments:
    subPanel1mod.vi ‏10 KB
    main_VI mod.vi ‏16 KB
    main_VI mod1.vi ‏15 KB

  • Can't pass event from WebDynPro to JspDynPage - why?

    I Created JSP project and embedded in main page script (in its title),
    which subscribes to event by EPCM API,
    EPCM.subscribeEvent("urn:ru.intertech.common.wd.component", "save",   go);
    and created WebDynPro page that fires event using, when pressing on some bution:
    WDPortalEventing.fire("urn:ru.intertech.common.wd.component", "save", navUrl);
    but first code newer receives that event...
    why so ?
    for test reason I tested firing EPCM event on same JSP page,
    and it was received,
    also
    I tested receiving Portal event  "urn:com.sapportals:navigation", "Navigate"
    it was received on same JSP page.
    both iViews is not URL isolated according their properties.
    WebDynPro package is:
    package ru.intertech.common.wd.component;
    note from else people expirence:
    Does it important that receiving and firing side must be in same package? as written there:
    https://www.sdn.sap.com/irj/scn/thread?messageID=462647
    "The problem was that I created the Sender Application in package "com.sender" and the Receiver Application in "com.receiver".
    I created them in the same package and it works."
    What means domain for JSP page or WspDynPro component?
    Does it important?
    =================
    JSP code is (changed script formattin to be able to post here, and removed else business content):
    [hbj_content  ]
      [hbj_page_title"]
      [script_type="text/javascript__"]
      //alert["title started"];
      //EPCM.subscribeEvent["urn:com.sapportals:navigation", "Navigate", eventHandlingFunctionName]; 
      //EPCM.subscribeEvent["urn:ru.intertech.navigation:epcm", "Navigate", eventHandlingFunctionName]; 
      //EPCM.subscribeEvent["urn:ru.intertech.navigation:epcm", "Navigate",   pop];   
      //EPCMP.subscribeEvent[ "urn:ru.intertech.navigation:epcm", "Navigate", window,"eventHandlingFunctionName"];
        EPCM.subscribeEvent["urn:ru.intertech.common.wd.component", "save",   go];
         EPCM.subscribeEvent["urn:com.sapportals:navigation", "Navigate", eventHandlingFunctionName]; 
         EPCMPROXY.subscribeEvent["urn:ru.intertech.common.wd.component", "save"  , window,   go];
      function eventHandlingFunctionName[ eventObj ]
         alert["title started=" + eventObj.sourceId + ": " + eventObj.dataObject  ];
      function go[ evt ]
         alert["go started=" ];
      </script>
       <hbj:form id="myFormId" >

    your reply is worth.
    what is the domains for views on one page?
    where to see it?
    Also, standard SAP MDM controls which we are using not working under any other browser except IE,
    I tested on FF and Google Chrome, they do not erform dynamic part of the controls.
    Despite this, debugging of scripts is important thing, so every piece is worth.
    One more detail:
    Also, two such a controls do not receive events from each other,
    but ony within self..
    why so ?
    Edited by: Vladimir Grigoryev on Jan 27, 2009 10:00 AM

  • Pass Mouse click events from JavaScript to Falsh Movie

    Hi,
    I have an interesting problem here.
    i am trying to create a web page which has my
    flash-presentation movie. i need to disable mouse click &
    keyboard click navigation of the flash movie. The only way by which
    i can navigate my slide in the flash movie should be using 2
    buttons say Next & Prev that are i my web page.
    when i click the Next button i should be able to go to the
    next slid or the animation in the same slide like how i do in the
    power Point.
    Is there any way by which i can send these mouse click
    events from my javascript to my flash movie or is there any other
    means by which i can achieve this.
    ~Blackperil

    Hi Mathias,
    What i understood is that you want to triger a server side event (simulate onClick event of button)from a client side event (javascript confirm popup), based on the choice of user..
    You can also try this one...
    Check = confirm("Do you really want to proceed?");
    if (Check == true)
    document.getElementById('do_proceed').click();
    else
    document.getElementById('do_cancel').click();
    Regards,
    Anubhav

  • Flash mx 2004

    Is there a way for me to import an mp4 to the library/stage
    in Flash MX 2004?

    alexjustin wrote:
    > Is there a way for me to import an mp4 to the
    library/stage in Flash MX 2004?
    Flash does not support mp4
    You need to covert it to MOV or AVI or any other supported
    format.
    Best Regards
    Urami
    "Never play Leap-Frog with a Unicorn."
    <urami>
    If you want to mail me - DO NOT LAUGH AT MY ADDRESS
    </urami>

  • Allow Flash 6 to open Flash 8?

    Right, so my computer has Flash 8 Professional, but my
    friend's computer has Flash MX. How can I let him open my Flash 8
    files?

    >> Right, so my computer has Flash 8 Professional, but
    my
    >> friend's computer has Flash MX. How can I let him
    open
    >> my Flash 8 files?
    > You can't. He needs Flash 8 in order to work on your
    file.
    Other than that, the best you can do is save your FLA as a
    Flash MX 2004
    file (Flash 7), then get someone with Flash MX 2004 to save
    that FLA as a
    Flash MX (Flash 6) file.
    David Stiller
    Adobe Community Expert
    Dev blog,
    http://www.quip.net/blog/
    "Luck is the residue of good design."

  • Passing variables from php to flash and the opposite

    Hi guys, im trying weeks now to solve this problem but nothing yet
    If someone could just tell me how to pass variables from flash to php and the opposite i would be thankful!!! Please help!

    I have recently had to learn this, so this may not be the best way but it worked for me
    I suggest looking at the code below stripping out everything you don't need (e.g. the databse stuff) and just get a simple string going back and forward
    have a go and post any problems here and I'll try and help
    in flash i have
    private function getBalanceAndXP():void
              var request:URLRequest = new URLRequest("utils.php");
              request.method = URLRequestMethod.POST;
              var variables:URLVariables = new URLVariables();
              variables.func = "getBalance";
              variables.fbid = userID;
              request.data = variables;
              var loader:URLLoader = new URLLoader();
              loader.dataFormat = URLLoaderDataFormat.VARIABLES;
              loader.addEventListener(Event.COMPLETE, onBalanceComplete);
              loader.load(request);
    private function onBalanceComplete(e:Event):void
              var loader:URLLoader = e.target as URLLoader;
              loader.removeEventListener(Event.COMPLETE, onBalanceComplete);
              var variables:URLVariables = new URLVariables(loader.data);
              _balance = parseInt(variables.balance); // class variable
              _experience = parseInt(variables.experience); // class variable
    public function setBalanceAndXP(balance:int, experience:int):void
                _balance = balance;
              _experience = experience;
              var request:URLRequest = new URLRequest("utils.php");
              request.method = URLRequestMethod.POST;
              var variables:URLVariables = new URLVariables();
              variables.func = "setBalance";
              variables.fbid = userID;
              variables.balance = _balance;
              variables.experience = _experience;
              request.data = variables;
              var loader:URLLoader = new URLLoader();
              loader.dataFormat = URLLoaderDataFormat.VARIABLES;
              loader.load(request);
    and then I have my php file
    <?php
    $func = $_POST["func"];
    $fbid = $_POST["fbid"];
    $balance = $_POST["balance"];
    $experience = $_POST["experience"];
    $numVariables = 0;
    $link = mysql_connect("localhost","username","password");
    mysql_select_db("databaseName");
    if ($func == "getBalance")
              getBalance($fbid);
    else if ($func == "setBalance")
              setBalance($fbid, $balance, $experience);
    mysql_close($link);
    function getBalance($fbid)
              $query = "SELECT balance, experience FROM tableName WHERE fbid = '".$fbid."'";
              $result = mysql_query($query);
              $row = mysql_fetch_row($result);
              writeVariable("balance", $row[0]);
              writeVariable("experience", $row[1]);
    function setBalance($fbid, $balance, $experience)
              $query = "UPDATE tableName SET balance = ".$balance.", experience = ".$experience." WHERE fbid ='".$fbid."'";
              mysql_query($query);
    function writeVariable( $name, $value )
              global $numVariables;
              if ( $numVariables > 0 )
                        echo "&";
              echo $name . "=" . urlencode($value);
              $numVariables++;
    ?>

  • From AVI to FLV for Flash MX Professional 2004

    Hi there...
    Let me thank you for your attention...
    This is my issue, I had this Flash MX 2004 Professional when I bought my PC, since then , 6 years ago, I learned how to use it, and recently got a little proyect which turned out to be something very professional, I developed some SWF files at 30fps and recorded them using Camtasia Studio at 40fps, then I created an AVI video file of 400MB +-, I want that those AVIs inside an SWF with my own VIDEO PLAYER, the one me myself developed, play, paused buttons, progressBar, time, etc. Problem is, these AVI files are much too big, I think, for my Flash MX 2004 Professional, they last 1hour 30min.  I cannot upgrade to a modern version of Flash ever since, I have no time to do it, the proyect is already somehow delayed, and almost everything is already done in Flash MX 2004 Professional, I have no ways to convert my AVI files into FLA files, or how place those 1hour-30min AVI files in my SWF, ever since I need those videos besides some other SWF files which I will use to lounch a product will must run just as it it were a DVD, it has its own menu, from the user may select the video they want to see, when they select one, a new window must pop-up with my video and my controlers in it.
    Would you recommend me some programs that may convert my heavy AVI files into more readable FLA files, my Flash MX 2004 Professional does not do it properly... I have no idea why...
    Please I appreciate your advice ever since I just learned everything as I developed my SWF and other files.
    Thanks for your attention

    check out the source code on this page
    http://rodneybauer.com/whiteboard2.htm
    im using flv file...not swf file....and using html5....see below for more info on that...
    you can use other video / sound assets besides flv
    ----------------random notes for you to check out------------
    mobile device video info
    The options actually match those of the most recent iPod Video, which uses H.264 video, up to 1.5Mbps, 640 x 480 pixels, and 30 frames per second with low-complexity AAC audio up to 160 Kbps, 48kHz stereo audio. On the lower end, bandwidths up to 768Kbps, 320 x 240 pixels, and 30 frames per second are also used, known as Baseline Profile up to Level 1.3. Both options can be output with .m4v, .mp4, or .mov extensions.
    iTunes. The simplest way is to use iTunes built-in converter. Apple makes it fairly simple to convert videos to play on the Apple TV or iPod, which are also conversions that can be used on the iPhone. Any video that can play in iTunes, then, can be converted to play on the iPhone, and local files can also be synced directly to the iPhone via iTunes sync conduit, making for a fairly easy process. Two downsides: first, iTunes uses a "lowest common denominator" approach, meaning that there are no customized options for encoding into H.264. Also, some users have reported a bug in the most recent version of iTunes that creates video files with no audio, so don’t toss your original video clips until you’ve had a chance to test out the new H.264-compressed video clips.
    Handbrake. Handbrake is the next most-popular encoding tool for both Windows and Macintosh platforms, and it’s available in a command-line version for Linux. Handbrake does a lot more than just H.264 conversions, but for purposes of this article, Handbrake would be used to transcode an MPEG-2 transport stream or other non-H.264 formats and codecs into H.264 video files. Speed on the product is quite good, and it has the option of a single-profile conversion (like iTunes) or the ability to customize encoding or profiles and then save the tweaks for future encodings. Handbrake has made a name for itself in DVD-to-iPod conversion, so the extension of Handbrake to the iPhone is one that many users trust.
    On any of the last three products, the H.264 files output from these products can be added to the iTunes library for uploading to the iPhone. For those choosing to put their iPhone-compliant videos on the web, it’s also helpful to choose hinted streaming to allow the videos to begin playing immediately rather than waiting for the entire cache to fill.
    http://www.webmonkey.com/2010/05/embed-videos-in-your-web-pages-using-html5/
    So, you want in on the fun? Do you want to use some HTML5 video tags on your site right now? No problem. Fasten your seat belts, as we’re about to take a tour of the wonderful world of HTML5 video.
    Browser Support for HTML5
    First, let’s deal with some very basic stuff, like where this will work and where it won’t. As you can see in the table below, only the latest versions of most browsers support native video playback using HTML5’s <video> tag.
    HTML5 <video> support by browser: Fx 3.0     Fx 3.5     IE7     IE8     IE9     Safari 3     Safari 4     Chrome 3+     Opera 10.5
    Since Firefox 3.0 and IE 7 & 8 lack any support for HTML5 video, you’ll have to come up with a fallback plan for serving video to those users. Depending on what you want to do you, could fallback first to Quicktime and then, failing that, to Flash. That’s the strategy used in Video for Everyone (note that as of v0.4, Video for everyone no longer falls back to QuickTime).
    To keep things simple we’re just going to fall straight from HTML5 to Flash.
    Formats, Codecs and Technicalities
    The next thing you need to understand is what is actually happening when you load and play a video file in your web browser. You’re probably used to thinking of video as .mp4 or .mov files, but unfortunately it’s not that simple. The actual file formats are just containers. Think of them as a bit like a .zip file — they hold other stuff inside.
    Each container holds at minimum one video track and, most likely, one audio track. When you watch a movie online, your video player (most likely Flash) decodes both the audio and video and sends the information to your screen and speakers.
    Why does this matter? Well, because the process of decoding what’s inside the video container file varies. To know how to decode a movie, the player (which is your web browser in the case of HTML5 video) has to know which codec the movie was encoded with.
    When it comes to web video there are two codecs to worry about: H.264 and Theora.
    There’s a huge debate right now among web developers, browser makers and just about everyone else as to which codec is right for the web. We believe that a free, open codec without patent and licensing restrictions is the best solution for the web. Sadly, neither codec exactly fulfills that dream, so for now, let’s just skip the whole argument and be practical — we’re going to use both codecs.
    Why? Well, have a look at the table below, which shows which codecs work where and you’ll quickly see that there is no one-size-fits-all-browsers solution. Only Google Chrome can play both H.264 and Theora.
    Codec support by browser/platform:     Firefox     Opera     Chrome     Safari     IE 9     iPhone     Android
    Ogg Theora    
    H.264  
    So, you may be thinking … if HTML5 video doesn’t work in IE7 or IE8 and it means I’m going to have to encode my videos twice, then why bother at all? Well, the best answer is simple: mobile users. If you want iPhone and Android users to be able to see your video, HTML5 is the only way to do it — Flash support is coming to Android sooner or later but for now HTML5 is the only option, and we all know Flash doesn’t run on the iPhone or the iPad.
    The HTML5 Code
    Here’s how to actually embed your videos. First, we encode video in both .ogv and .mp4 containers. Encoding video is beyond the scope of this article, so instead we suggest you check out Mark Pilgrim’s online book Dive Into HTML5, which has a whole chapter devoted to understanding video encoding. Pilgrim’s encoding suggestions use free software to get the job done, and in the end you’ll have two files — one .mp4 and one .ogv.
    Now it’s time to unleash those movies in pure HTML glory. Here’s the code:
    view source
    print?
    1    <video width="560" height="340" controls>
    2      <source src="path/to/myvideo.mp4" type='video/mp4; codecs="avc1.42E01E, mp4a.40.2"'>
    3    <source src="path/to/myvideo.ogv" type='video/ogg; codecs="theora, vorbis"'>
    4    </video>
    Yes, that’s it. What we’ve done here is use the <video> tag to specify the dimensions of our video, and to denote that we want to use the browser’s default controls. Then, within the video tag, we’ve added two <source> elements which link to our video files.
    The “type” attribute of the <source> tag helps the browser understand which file it should load. It’s a bit of an ugly chunk of code that needs to specify the container format, the video codec and the audio codec.
    In this case we’ve assumed standard .ogv and baseline encoded H.264 video as per Pilgrim’s tutorial. See the WHATWG wiki for more information on which video types you can specify.
    And there you have it — native web video, no plugins required.
    Dealing With Everyone Else
    What about IE7, IE8 and older versions of just about any other browser? Well, for those users, we’ll fall back on Flash. To do that, we just use an <embed> tag within our video tag:
    view source
    print?
    1    <video width="560" height="340" controls>
    2      <source src="path/to/myvideo.mp4" type='video/mp4; codecs="avc1.42E01E, mp4a.40.2"'>
    3    <source src="path/to/myvideo.ogv" type='video/ogg; codecs="theora, vorbis"'>
    4      <object width="640" height="384" type="application/x-shockwave-flash"
    5            data="path/to/swf/player.swf?image=placeholder.jpg&file=path/to/myvideo.mp4">
    6            <param name="movie" value="path/to/swf/player.swf?image=placeholder.jpg&file=path/to/myvideo.mp4" />
    7        </object>
    8    </video>
    Now any browser that doesn’t understand the HTML5 video tag will just continue on its way until it hits the object tag, which it should understand (note that the order, mp4 before ogv, is important for iPad support — Apple requires that mp4 be the first video file).
    Of course for this to work you need a Flash video container. JW Player is one popular example, or you can roll your own using Adobe’s tools. Also remember that we still haven’t handled the case of an older version of Firefox with no Flash plugin installed (maybe your users are surfing your tubes with an outdated Linux machine). You can always add good old text-based links to the video files as a catch-all fix for anyone who can’t, for whatever reason, see either the HTML5 or Flash versions.
    Conclusion
    Embedding HTML5 video isn’t significantly more difficult than using Flash, especially if you’ve been using H.264 video files in your Flash player — which is exactly what YouTube has done with its HTML5 beta.
    While we’re concerned about the licensing and patent requirements of H.264, it isn’t hard to notice that if you skip Theora and make all non-H.264 fall back to Flash, you’ve still saved yourself a considerable encoding headache. In fact, that’s probably the best practical argument against Mozilla and Opera’s refusal to support H.264.
    If you’d like to use some of the more advanced aspects of HTML5 video, be sure to check the SublimeVideo player, which offers very nice JavaScript-powered set of custom controls. Also be sure to have a look at Video for Everybody, which makes for more complex code but handles just about every use case you could imagine. And there’s a handy Video for Everybody WordPress plugin as well.
    http://camendesign.com/code/video_for_everybody

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

  • [svn:cairngorm3:] 16810: Changed close event from flash.events.Event. CLOSE to mx.events.CloseEvent.CLOSE.

    Revision: 16810
    Revision: 16810
    Author:   [email protected]
    Date:     2010-07-03 03:32:49 -0700 (Sat, 03 Jul 2010)
    Log Message:
    Changed close event from flash.events.Event.CLOSE to mx.events.CloseEvent.CLOSE. See MXML examples in PopupTest.
    Modified Paths:
        cairngorm3/trunk/libraries/PopupTest/src/samples/ModulePopups.mxml

    Hmmm Strange!!!
    Seems like a bug which requires target for parallel effect while hide only but does not set it.
    For the time being you can remove the sequence effect as there is no othe effect other than parallel and use effect like
             <mx:Parallel id="fadeOutTw">
                <mx:Fade alphaFrom="1.0" alphaTo="0.0" duration="1000"/>
                <mx:WipeUp duration="1000" />       
            </mx:Parallel>
    or you can also set target explicitly like :
    <mx:Sequence id="fadeOutTW" >
            <mx:Parallel target="{largeImgTW}">
                <mx:Fade alphaFrom="1.0" alphaTo="0.0" duration="1000"/>
                <mx:WipeUp duration="1000" />       
            </mx:Parallel>   
        </mx:Sequence>
    I have tested on this code, and works fine. Hope this helps you
    -Vikash

Maybe you are looking for