Basic Flash movie questions from a Flex coder

Hi,
I've coded several Flex applications (I'm a programmer by
trade) for the last 6 months. Now I have a new project to do with
Flash, and I'm mighty confused - as I don't know much about Flash
and its timelines, etc.
I've been given a bunch of FLV files - movies from a video
camera like you see on Youtube. I'd like to add some logic to them.
Do I create a new Flex or Flash project and somehow embed the
FLV file?
I read that the they can attach "labels" to timelines in a
movie and that I can react to the labels being triggered using
event handlers. Can I programmatically add labels to an existing
FLV movie?
So after all is said and done, I'm guessing I would compile
it using MXMLC if it is a Flex project. But what if it were a Flash
project, what is the compiler? In addition, can I simply code the
whole thing as an actionscript (.as) file and compile it using a
Flash compiler?

I wouldn't embed the files. This is OK if they don't include
audio that's synched to the video, but otherwise will be
problematic. You'll get better performance overall by linking to
the external FLV. To 'add logic' you'll need to us cue points.
These can either be added via ActionScript or embedded into the FLV
using something like Flash Video Encoder. You can use the cue
points to trigger whatever actions you require.

Similar Messages

  • Read flash movie size from file

    hi,
    does anybody know how i can read the display size of a flash movie (i can access the movie thru an input stream)? i know flash doesn't have a fixed size but i'm pretty sure it should have something like a default size though.
    thakns for help,
    marco

    You could parse the HTML the flash file is shown in and get it's size.
    But I looked through a Flash 4 file I have, and I don't find the size that I know I designed it to be written anywhere in it. It was a quick run-through of the file, though, so I could be wrong. But it would make sense since it's essentially vector graphics, so size isn't important.

  • Basic Flash/AS3 Question - Please help!

    I am pretty new to ActionScript 3 and Flash. I don't want my movie clip to play unless the person's mouse curser is on the movie clip for more than a second. If the person just runs their curser over the movie clips really quickly, then it should do nothing. It must be more than a second. How do I code that?
    ActionScript Code I have that needs to be altered:
    stop();
    var myTimer:Timer = new Timer(1000, 1);
    myTimer.addEventListener(TimerEvent.TIMER, timerListener);
    function timerListener (e:TimerEvent):void{
    gotoAndPlay("over1");
    image1.addEventListener(MouseEvent.MOUSE_OVER, image1overFunc);
    function image1overFunc(e:MouseEvent):void {
    myTimer.start();

    stop();
    var myTimer:Timer = new Timer(1000, 1);
    myTimer.addEventListener(TimerEvent.TIMER, timerListener);
    function timerListener (e:TimerEvent):void{
    gotoAndPlay("over1");
    image1.addEventListener(MouseEvent.MOUSE_OVER, image1overFunc);
    image1.addEventListener(MouseEvent.MOUSE_OUT, image1outFunc);
    function image1overFunc(e:MouseEvent):void { myTimer.start();
    function image1outFunc(e:MouseEvent):void {
    myTimer.reset();

  • Basic file movement question?

    I'm on DW CS4.  Have a very basic question regarding file movement that I can't seem to resolve.  In the files panel on the right I have created a folder.  Within that folder I have saved a bunch of files with the same name but different numbers after them.  When I go into the folder to access one of the files they never stay in the numeric order I have assigned to them.  I try and drag the numbered files up or down to get them back into numeric order but it doesn't seem to work.  Can someone please explain this basic step in file management to get the files to line up where I want them in the file category on the right?  Thanks for your time.

    Besided sorting, when using numbers as part of the file name, you need to make sure you have at least two digits if your are going to have more than ten files. Start numbering with 01, 02, 03, 04 and so on. If not, the files will sort like the following:
    file1
    file10
    file2
    file20
    file21
    file3
    file32
    file4
    And if you have more than a hundred, you will need to start with 001.
    Hope this makes sense.

  • Basic Flash CS4 Question

    Hi all,
    I am wondering why I can create shapes with the fill and stroke I specify only in templates and not when I select a new action script 3.0 or any of the other types of flash documents. Does anyone have a link to information on this or can explain what I need to configure?

    I have tried to answer your same question under flash section, if the answer is helpful then please close this thread.

  • Basic 2-part question from a guitarist...

    I've been using GB for 2 years, and just upgraded by loading Logic Studio 9:
    Have been able to "dial up" the amp (50's R&B) and guitar selection: (Distorted Stratocaster).
    Have used the "action" to get some sound from the amp, but using the same procedure, I get ZERO sound from the Strat. file, so I have no idea how it is "supposed" to sound.(?)
    QUESTIONS: Why does the volume automatically drop to zero between certain amp selections?
    Why am I still unable to get any volume at all when I try to play Distorted Telecaster?
    Thanks, ahead of time.

    I can't answer all of your questions, but I think you may be confused about guitar related presets in Logic. There are effects presets which allow you to plug your guitar into an interface and play through those effects, and there are software instrument presets which can be played "in the box" using a MIDI keyboard or by somehow entering MIDI data into Logic. "Distorted Stratocaster" is a software instrument preset, not an effects preset. So if you're trying to play a real guitar through that, it just won't work.

  • Basic Match Move Question

    HI
    New to Tracking behaviors here so forgive any "dohs" !
    I have a Background layer with a great point to Track .... an orange light on an object moving slowly in a straight line.
    I apply the Match Move Behavior to the foreground layer, get the playhead to the first frame the light enters, position the tracking anchor on the light, move the Foreground to it's start position and track.
    It works great ... except the foreground element doesn't know to enter and leave the frame as the light in the background does. It picks up the track after the light appears, and (of course) stops when the light leaves.
    What's the best way to extend the motion into and out of the frame? I tried adding extra ketframes, but it messed up the great track I had before!
    Thanks for the wisdom!
    Lee

    Howdy,
    In this situation you do offset tracking, where you switch the tracking to a different feature and Motion calculates the offset between the the previous feature and the new one, keeping things smooth.
    Look for another tracking feature that is visible after the light and is at a similar distance from the camera. Go to the last frame of valid tracking from the light. In the Inspector, toggle on the 'Offset Track' checkbox for the Match Move behavior. Then, position the tracker on the new tracking feature and hit the 'Analyze' button. The behavior will track the new feature but offset the results to continue from where the light-based tracking left off.
    Keep in mind, though, that any difference in the new feature's distance from the camera can result in a shift in the speed of your resulting animation, as further away objects will appear to move more slowly.
    Last, make sure to turn the Offset Track option back off before you add any new trackers, as you don't want to start with them being offset.

  • Basic Flash preferences question

    F8as2 - (Flash8 - Actionscript2)
    I frequently open 10 FLAs at the same time due to the nature
    of the training programs I am producing. The problem is that each
    time I open an FLA the stage is just a little too large for the
    viewable area. I have to select the hand tool to allow 'full
    screen' viewing. This gets old after a while.
    Question: Is there a way in Flash to open all FLAs so that
    each FLA opens in the full screen mode with all of the stage being
    visible??
    Thanks

    logeye,
    > Our company can't afford more advanced versions
    > of Flash.
    Sure, no worries.
    > It seems there is a default presentation size when FLAs
    > first come up. That's what I need to change I think but
    > I can't find it.
    Aha. When you put it that way, that puts me in mind of the
    Property
    inspector. Open a new, blank FLA. Let the stage dimensions be
    whatever
    they happen to be. Now click the stage, then notice the Size
    button in the
    Property inspector (the button itself will have "[some
    number] x [some
    number] pixels" written on it). Click that button, and you'll
    get the
    Document Properties dialog box, which lets you change the
    width and height
    of the stage. To the left of the OK button on that dialog
    box, you'll find
    a Make Default button. Click that.
    David Stiller
    Adobe Community Expert
    Dev blog,
    http://www.quip.net/blog/
    "Luck is the residue of good design."

  • Basic time machine question from a new mac owner

    Hello. I have an icon on my computer that says time machine and when i select the open time machine preferences, it takes me to my set up for my airport extreme.. is this correct or is time machine something additional that i would purchase to set up?

    Thanks for the star and no problem, I would recommend that you get yourself an external drive though for backup. With any computer not having a backup system is gamble and sooner or later you will lose. If you do decide on a TM backup drive it would be wise to get one that has Firewire or Firewire 800 connections (for speed) and it should be about 2x the size of your interal drive if possible. Once you connect one TM will automatically back up your system and continue to back up every hour only backing up changes and addtions. So for example if you keep music and pictures and are continually adding material to your computer those are memories that you don't want lost if your machine has a failure, TM will help prevent that from occuring. It is one of the coolest features of Leopard. Two pieces of good news, TM is simple and external hard drives are fairly inexpensive these days.

  • How do i make an image pause in a flash movie clip

    Please can someone help me. I am trying to find out how to pause or stop an image in a basic flash movie clip,  after it has entered from one side and before it exits the other side.
    I have been trying to work it out myself for three days but no joy. I am practicing  for a test with a training agency which gave me a disk to use but nowhere in it does it say how this is done. I am also having a lot of difficulty making stop start buttons work with this movie clip. I am using a trial cs5.5 version of Flash which expires in 7 days so i need to know this soon. I am up to speed on most of the features, its just this one thing that has me stumped. A lot of the tutorials or examples  i have found on the net are very long winded and hard to follow exactly. Could someone let me know, step by step the sequence i should follow after i have created an object  and made it go from one side of the stage to the other.

    Hi
    Thank you for getting back to me. Yes i am using a timeline tween. I have an image on my stage which moves in from one side and out the other side. I am trying to stop or pause the image. The effect i will be asked to reproduce in my exam will be something very much like the banner on the website http://www,iactweb.com. If you go to this website you will see images arrive on the banner and pause before exiting the other side. I am fairly up to speed on all the aspects of getting this effect but i have forgotten what i learned during the course on how stop or pause the images. I am using the trial cs5.5 version of flash . Thanks again for getting back to me.

  • Flash movie not displayed correctly in IE 8 on some Windows OS

    Has anyone seen this problem?
    I'm using CS4 to export a basic flash movie with embed tags pre scripted...
    And the issue is that on some OS systems using Vista or Windows 7 and IE 8 as a primary browser, it appears that IE 8 is not displaying the flash banner completely.... its CROPPING it off... This is very strange because the banner works fine in FireFox, IE7,Opera,Chrome but not I.E.8 on some OS systems...
    If you google "Flash not displaying correctly in IE 8" you'll get alot of people with the same issues but no real definate fix...
    Are there any suggestions as to what i could try?
    Do i need different flash embed tags? Or is this a user issue?
    Please Advise as soon as possible...
    Thanks

    I'm sorry, i forgot to explain that I didn't upload the flash published html because it did and produced the exact same results.
    The flash published still got cropped off on 1 vista os(I.E 8) running from a laptop and 1 windows 7(I.E. 8) latop os...
    Its good to hear that you're able to see it clearly... however in my QA efforts, i've been asked to fix the issue or drop the flash banner all together.
    I've tried every which way, i've even converted the embed tags (not uploaded by the way) to a js script and it STILL gets cropped of on 2 ie8 run OS systems...
    And now i'm not sure what else to try on my end.
    I'm currious if because this is an XML driven flash banner, this may be an issue? But it still doesn't explain why some people can see this in IE 8 as you can and others get a cropped banner like in my screen shot sample.
    Again i invite everyone in the forum to take a look at the sample links, as i'd be curious to see who else is seeing this.
    By the way "kglad" Thank you so much... please keep the suggestions coming... but everything you've suggested, i've tried.
    This is very perplexing. Is this a setting issue? or is there some setting on the user side i'm not aware of? Either way, as usual... the flash developer is blamed so i must find a solution.
    Link to flash sample
    http://www.extremefx.net/flashie8issue/flashtest.html
    Link to screen shot sample on a Vista and Windows 7 running IE 8 browser
    http://www.extremefx.net/flashie8issue/ie8issue.jpg
    Again... eagerly await feed back from you and the rest of the forum.
    Message was edited by: RegGFX

  • Flash movie / HTML query

    Novice desperately seeking help with seeming inability to get
    SWF movie to loop or not autoplay. HTML page generated using Flash
    CS3. No matter what settings are tried, the behaviour is the same:
    the movie starts immediately the page is viewed and plays only
    once. I'd like to be able to either loop the movie or load the page
    and not play the movie automatically. Would be great to know what
    has been done wrong. I've included the HTML code below:
    <script language="javascript">
    if (AC_FL_RunContent == 0) {
    alert("This page requires AC_RunActiveContent.js.");
    } else {
    AC_FL_RunContent(
    'codebase', '
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0',
    'width', '480',
    'height', '424',
    'src', 'VidInAction',
    'quality', 'high',
    'pluginspage', '
    http://www.macromedia.com/go/getflashplayer',
    'align', 'middle',
    'play', 'false',
    'loop', 'true',
    'scale', 'showall',
    'wmode', 'window',
    'devicefont', 'false',
    'id', 'VidInAction',
    'bgcolor', '#ffffff',
    'name', 'VidInAction',
    'menu', 'true',
    'allowFullScreen', 'false',
    'allowScriptAccess','sameDomain',
    'movie', 'VidInAction',
    'salign', ''
    ); //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=9,0,0,0"
    width="480" height="424" id="VidInAction" align="middle">
    <param name="allowScriptAccess" value="sameDomain" />
    <param name="allowFullScreen" value="false" />
    <param name="movie" value="VidInAction.swf"
    /><param name="play" value="false" /><param
    name="quality" value="high" /><param name="bgcolor"
    value="#ffffff" /> <embed src="VidInAction.swf" play="false"
    quality="high" bgcolor="#ffffff" width="480" height="424"
    name="VidInAction" align="middle" allowScriptAccess="sameDomain"
    allowFullScreen="false" type="application/x-shockwave-flash"
    pluginspage="
    http://www.macromedia.com/go/getflashplayer"
    />
    </object>
    </noscript>

    If I'm reading you correctly, I think that what you want is a lightbox type of effect where the Flash movie appears from out of nowhere above a dimmed page. If this is the case then you need to use Javascript to create this dynamic html effect. I use mediabox advanced. It works with Mootools. You can find more info here: http://code.google.com/mediabox/

  • Center flash movie in webbrowser

    i have the setting in flash cs4 set to align ver center and
    horizontal center but when i publish my movie it appears on the
    left side , how can i center my flash movie ?

    i tried your code, didn't work:  here is the code on my page.  I need my flash movie to beup at the top and centered with the rest of the page.  please assist.
    <!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=utf-8" />
    <title>Online_Tagsale.com</title>
    <link href="CSS/Online_Tagsale.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    <!--
    a:link {
    color: #C00;
    a:visited {
    color: #C00;
    a:hover {
    color: #000;
    -->
    </style>
    <script src="Scripts/swfobject_modified.js" type="text/javascript"></script>
    </head>
    <body bgcolor="#FFFFCC">
    <div id="banner"><div align="center">
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="800" height="150" align="middle" id="FlashID" title="FinalBanner">
      </div>
      <param name="movie" value="IMAGES/FLASH/finalbanner.swf" />
      <param name="quality" value="low" />
      <param name="wmode" value="opaque" />
      <param name="swfversion" value="6.0.65.0" />
      <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
      <param name="expressinstall" value="Scripts/expressInstall.swf" />
      <param name="LOOP" value="false" />
      <param name="BGCOLOR" value="#000000" />
      <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
      <!--[if !IE]>-->
      <object data="IMAGES/FLASH/finalbanner.swf" type="application/x-shockwave-flash" width="800" height="150" align="middle">
        <!--<![endif]-->
        <param name="quality" value="low" />
        <param name="wmode" value="opaque" />
        <param name="swfversion" value="6.0.65.0" />
        <param name="expressinstall" value="Scripts/expressInstall.swf" />
        <param name="LOOP" value="false" />
        <param name="BGCOLOR" value="#000000" />
        <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
        <div>
          <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
          <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p></center>
    </div>
      <!--[if !IE]>-->
      </object>
      <!--<![endif]-->
    </object>
    <div id="main_image"> </div>
    <div id="column_container">
    <div id="banner">
      <blockquote>
        <blockquote>
        <blockquote>
              <blockquote>
                <blockquote>
                  <blockquote>
                    <blockquote>
                      <blockquote>
                        <blockquote>
                          <blockquote>
                            <table width="824" border="1">
                              <tr align="center" valign="middle">
                                <th width="200" height="24" scope="col"><img src="IMAGES/green.JPG" width="200" height="150" alt="green" /></th>
                                <th width="200" scope="col"><img src="IMAGES/blue.JPG" width="200" height="150" alt="blue" /></th>
                                <th width="200" scope="col"><img src="IMAGES/shoes.JPG" width="200" height="150" alt="shoes" /></th>
                                <th width="196" scope="col"><img src="IMAGES/figure.jpg" width="200" height="150" alt="figure" /></th>
                              </tr>
                            </table>
                            <table width="421" border="1" align="center">
                              <tr align="center">
                                <th width="411" align="left" scope="col"> <div align="left"></div></th>
                              </tr>
                            </table>
                            <h1 align="center">Welcome</h1>
                          </blockquote>
                        </blockquote>
                      </blockquote>
                    </blockquote>
                  </blockquote>
                </blockquote>
              </blockquote>
            </blockquote>
          </blockquote>
          <h2 align="center"><strong>Our site was founded by a group of stay at home mothers who hoped to get rid of various items from their homes. </strong></h2>
          <h2 align="center"><strong> The idea of organizing and holding a tagsale at home was overwhelming considering their daily responsbilities.</strong></h2>
          <h2 align="center"><strong>So was born the idea of having the tagsale online.</strong></h2>
          <h2 align="center"><strong>You can browse and shop or join and sell, all from the comfort of your own home. </strong></h2>
          <h2 align="center"><strong>- Sign up for our monthly newsletter<br />
            - Join our sales team ($59.95 yearly membership fee)<br />
          </strong></h2>
        <h2 align="center"><strong>Welcome and ..</strong></h2>
          <h2 align="center"><strong>THANKS FOR STOPPING BY</strong> </h2>
        </blockquote>
      </div>
      <div id="right_column">
    <blockquote>
    <p align="center">!!FREE BACKGROUNDS!! at  <a href="http://www.webpagebackground.com/">www.webpagebackground.com</a>  </p>
      <p align="center">!!!FREE RECIPES!!! at <a href="http://www.foodnetwork.com/">www.foodtv.com</a></p>
    <div align="center">
        <blockquote>
          <blockquote>
            <blockquote>
              <blockquote>
                <blockquote id="reference">
                  <h1><a href="ReferencePage.html" title="link2references">Reference Page </a></h1>
                </blockquote>
              </blockquote>
            </blockquote>
          </blockquote>
        </blockquote>
      </div>
      <blockquote>
        <blockquote>
          <blockquote>
            <blockquote>
              <blockquote>
        <table width="1268" border="1">
                <tr>
                  <th width="62" scope="col"> </th>
                  <th width="260" scope="col"><a href="Index1.html"><img src="IMAGES/FLASH/home.gif" alt="home" width="208" height="50" hspace="25" border="0" longdesc="IMAGES/FLASH/home.gif" /></a></th>
                  <th width="309" scope="col"><a href="mailto:[email protected]"><img src="IMAGES/FLASH/contact us.gif" alt="contact" width="200" height="50" hspace="37" border="0" longdesc="IMAGES/FLASH/contact us.gif" /></a></th>
                  <th width="312" scope="col"><a href="http://get.adobe.com/flashplayer/"><img src="IMAGES/FLASH/flashbegger.gif" alt="products" width="200" height="50" hspace="45" border="0" longdesc="IMAGES/FLASH/products.gif" /></a></th>
                  <th width="291" scope="col"><a href="Product.html"><img src="IMAGES/FLASH/products.gif" alt="products" width="200" height="50" hspace="45" border="0" longdesc="IMAGES/FLASH/products.gif" /></a></th>
                </tr>
    </table>
        <p align="center"> </p>
                <p align="center"> </p>
                <p align="center"> </p>
    <script type="text/javascript">
    <!--
    swfobject.registerObject("FlashID");
    //-->
    </script>
    </body>
    </html>
     </p>
      </div>
    </div>
    </body>
    </html>

  • Flash movies "paused at start"

    I'm a total newbie to flash, so go easy...:)
    I've a flash movie created from a wmv I have, which I want to
    play on a website. I've worked out by dragging the flv into Flash
    it gives me the options to create the skins for the player etc,
    which is all fine. I can even publish it and get it to work -
    http://swanningabout.co.uk/flashMovie/movie.html
    However, in my "publish settings" options I've ticked "paused
    at start". However, as you can see in the above link the movie
    plays right away. Looking at the source, the "play" parameter is
    flash so I can't see what the problem would be?
    Am I missing something?
    Many thanks in advance,
    Ed Ludlow

    Hi Ed
    That function is not used for other things then the basic
    timeline control.
    Therefore what you need is following:
    Select your FLVPlayback component and move over to the
    properties panel, and set the AutoStart parameter to false.
    That's it.
    Cheers

  • Access Flash Player position from Java Applet

    Hallo Everybody,
    as a part of my diploma thesis, I have on a HTML Page two
    objects, one is a Flash Movie, streamed from a Flash Server, the
    other is a Java Applet. In the Java Applet I have a button "Get
    time of Movie". When the user clicks on this button, the Applet
    shoud ask the Flash Player about it's actual position (min, sec)
    and the Applet should get this information back. I think, with the
    ExternalInterface Class might it be possible, but I have no idea
    how. Could anybody help me?
    Thanks
    Beat

    Hi!
    I want to access from a java client application to an .Net WebService, can you help me with some code ???
    Thankz!

Maybe you are looking for

  • Using buffering option in select query

    Hi All,        Can anybody give me a brief idea on , where we will use the buffering and how we will write it in coding part.Similarly please tell me what will happen if we use  by passing buffering  addition in select query. Please explain  it with

  • How to use HMLT files for content management

    I am developing an application where i have to do some content management. i am using placeholders for it. things work great with image files but when i upload contents as html files with images, the text content is diaplayed, but since the img tag d

  • Forms 6i Error Messages and Codes Manual

    Does Forms6i have a separate Error Messages and Codes Manual the way Form4.5 had ? Thanks.

  • Issue with AFP Mounts

    I am migrating the user homes from a Linux server to a 10.5.8 Xserve. The users are all setup in an LDAP environment. The homes are currently on an NFS server running Linux. All users login to network accounts and are automatically connected to their

  • 3GS battery case recommendations

    I am looking for a case that has a built in battery for a 3GS. Something similar to the mophie case, but includes the apple connector. I don't really want to mess with multiple connectors and etc. I have had bad issues with 1 iPhones in the past year