Flash Newbie Question

I have two animations on a single web page (in different
locations). One animation starts as soon as the page is loaded and
I have inserted a stop action to halt it after one loop. I have a
second animation on the page that I would like to start
automatically after the first one finishes. There is no user
interactivity. It just has to start when the first one stops. Can't
seem to find a way to do this. Any help would be appreciated. Many
thanks in advance!

You'll need to use ExternalInterface to have javascript act
as a middle man between the two separate movies. Here's a link to
some information I've used to make this type of thing work...
http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_15683
Based on my own experience, it can be a little confusing to
implement, but if you take your time and follow the examples for
the version of Actionscript you are using, it will work
(eventually)

Similar Messages

  • Flash newbie questions about slow loading site

    Hi all. I am new to Flash and web-site building in general and I have been learning while doing. Its fun, but frustrating. I really need some help, hope someone out there with Flash experience can give me some advice.
    My problem is this: I built a Flash website, but it is painfully slow to load up (3-5 minutes via cable modem) when I visit the site (via Firefox, etc). Once it does load up, everything is fine with navigation. I'm having a hard time figuring out why its taking so long to load up on the web because, basically, I don't know how to trouble shoot. Hope you guys can help!
    Details: the site is just a portfolio site with pictures and a few motion-things, no complicated animations. The swf file is about 9MB. I do have a flash preloader, but it doesn't show up until after the 3-5 minute "load-up" time. When I do the testing via Flash, its Ok and doesn't show the lag. But once I upload the website files and try to visit my website, the load time problem occurs.
    My thoughts:
    - do I have to purge my Flash file/library of unused images before creating my swf file?
    - Is there a problem with my html code in my index file?
    - because it is a portfolio site, I've got about 90 images on it, each image about 300-400K.  Is this too big, or about right?
    Please help! Sorry for the long email, just desperate for help. Thanks in advance for any advise!!!! Just in case, here is the html code:
    <!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>Acme Company</title>
    <script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
    <style type="text/css">
    <!--
    body {
    background-color: #000000;
    -->
    </style>
    <link href="favicon.ico" rel="icon" />
    </head>
    <center>
    <body>
    <script type="text/javascript">
    AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','wid th','800','heigh t','600','title','Acme Company','vspace','100','src','development files/company site_AS2_2008 OCT_final','loop','false','quality','high','plugin spage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','bgco lor','#000000','scale','exactfit','movie','develop ment files/company site_AS2_2008 OCT_final' ); //end AC code
    </script><noscript><object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="800" height="600" vspace="100" title="Acme Company">
    <param name="movie" value="development files/comapny site_AS2_2008 OCT_final.swf" />
    <param name="quality" value="high" /><param name="BGCOLOR" value="#000000" /><param name="LOOP" value="false" /><param name="SCALE" value="exactfit" />
    <embed src="development files/company site_AS2_2008 OCT_final.swf" width="800" height="600" vspace="100" loop="false" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" bgcolor="#000000" scale="exactfit"></embed>
    </object></noscript>

    Yeah I'm with Ned on this one. Dynamically loading your images is the way to go. The fact that you are new to Flash, try this tutorial (http://www.entheosweb.com/Flash/loading_external_images.asp). As you move along in learning Flash, look for tutorials on actionscript arrays and loading images dynamically. Arrays allow you to call each images from a folder outside your fla. That way your site moves right along without much loading time.
    Hope I was of help,
    -Sly

  • Flash newbie question (swf open warning)

    I'm just learning Flash CS4 Pro, and I'm a little mystified by something.
    I created a swf file after going through some of the Adobe.TV tutorials.
    When I drop it in my Firefox browser window, it opens and plays, but it gives me the following warning:
    I can't understand why it would be trying to contact the Internet, I only have a few shapes, a swf animation, and a button.
    Please advise.
    Thanks

    The problem is NOT your .swf, or .fla file. Flash Player security for local content restricts network communication for certain kinds of content that is stored on your local computer, unless you give permission.
    You will need to change your security settings for flash.
    ... if you want to test .swf's locally that have links to the internet... buttons usually do...
    http://kb2.adobe.com/cps/135/13530cdd.html
    http://kb2.adobe.com/cps/093/4c093f20.html

  • Newbie question - XML version, searching by artist

    Probably quite a common problems - apologies for newbie questions.
    I've changed the URL of my MP3s in my XML to a new location and refreshed my feed. Is there a way of seeing what version of the XML iTunes is using? (it takes around 24 housr to refresh, right?)
    Also, when I'm searching for my podcast by author it's not coming up (<channel><itunes:author>) - is there a reason for this or a way to get it to show up when people search for the artist, other than doubling it in the title? (This works by the way, but I'd prefer not to!)
    Thanks.

    you can do it in just one loop, going through all the image
    tags in index_content and for each tag fill the values of all four
    arrays
    for (i...) {
    get the appropriate child of index_content
    first_array[ i ] = value of first tag
    second_array[ i ] = value of second tag
    no need for multiple loops.
    flash has functionality for xml files, but it helps to write
    a little wrapper around it, to simplify programming, especially if
    you work with xml a lot.. I wrote my for work, so I can't show it
    to you, but it's not very complicated to do

  • Newbie question. coldFusion w/ Flex 2 tutorial

    Hello.
    I am very new to F2 and CF. Fairly proficient at Flash, DW,
    css, html, etc. I have purchased and worked through a couple really
    great F2 and CF books. I am able to construct some good basic stuff
    with either. But am not really finding a tutorial or book that is
    exclusively committed just to the subject of to using CF with Flex
    2. There always seems to be a just a cursory mention, or a
    brush-by, but not much more than that. I get it: if you got this
    far, you probably arlready know everything about the two and
    shouldn't need such.
    If you could point me to a couple good references, I'd be
    very appreciative. I'm looking for a good step-by-step, just on
    this subject.

    Thank you. You are right on with the direction of your
    answer.
    Immediately, I am just trying to create a simple method of
    add/edit/delete records to tables from forms that I could access
    remotely with Flex 2. I just assumed that CF would be the best
    method, both being Macradobe products. If I am wrong about that, so
    be it. Utlimately, I would like to print specific "quotes" relative
    to specific customers and products to .pdf. This is for my own
    personal use (as an insurance broker). Not commercial. Nor is
    anyone paying me to develop this.
    Maybe a better newbie question would be: what would be the
    preferred method to add/edit/delete records, remotely, from a Flex
    2 application for later printing to .pdf based on various selection
    criteria? I have figured out how to do this on my own stand-alone
    machine. Now I want to be able to do it remotely from anywhere.
    I'm
    not looking for instruction from anyone here, just direction
    to your favorite learning tools so that I can dig in and learn.
    I bought the books you recommended (adding to my own Library
    of Congress).
    Thanks again!

  • Total Newbie Question ... Sorry :-(

    I know it's a windows thing, and I am now converted to Mac but I gotta know this because it's doing my head in. It's a complete stupid green gilled newbie question.
    When installing new programs on a Mac can you create shortcuts to the programs on the Dock? I did what I THOUGHT it would be, i.e I made an Alias and stuck it in the dock, but on rebooting my Mac later on, in place of the shortcuts where 3 question marks which when clicked on did absolutely nothing???
    Help?
    A.L.I
    Windows XP Pro Desktop, Macbook Pro, 60GB iPod Video   Mac OS X (10.4.5)   OS X

    You aren't installing something from a dmg file are you? The dmg is a disk image – kind of a virtual CD. So when you double click the dmg and then get the little disk/hardrive/custom icon on your desktop that is the same as if you had mounted a CD. You then need to drag the application off of that "CD" into your application folder. Then it is truly installed.
    You can then "eject" the icon your your desktop. This is what happens when you shutdown and without remounting the image your dock shortcut can't find the original.
    Just a thought.

  • Newbie Question. just installed IE7.. how do I set up a local host to preview sites?

    Sorry for the newbie question... but it's been a long time since I have done this
    Thanks!

    Just define your site in DW as always.  For a static site, that's all you need to do.

  • Newbie Question about FM 8 and Acrobat Pro 9

    Hello:
    I have some dcouments that I've written in FM v8.0p277. I print them to PDF so that I can have a copy to include on a CD and I also print some hard copies.
    My newbie question is whether there is a way to create a  PDF for hard copy where I mainitain the colors in photos and figures but that the text that is hyperlinked doesn't appear as blue. I want to keep the links live within the soft copy. Is there something I can change within Frame or with Acrobat?
    TIA,
    Kimberly

    Kimberly,
    How comes the text is blue in the first place? I guess the cross-reference formats use some character format which makes them blue? There are many options:
    Temporarily change the color definition for the color used in the cross-reference format to black.
    Temporarily change the character format to not use that color.
    Temporarily change the cross-reference definition to not used that character format.
    Whichever method you choose, I would create a separate document with the changed format setting and import those format into your book, create the PDF and then import the same format from the official template.
    - Michael

  • How do I reboot my machine when it is flashing a question mark folder?

    How do I reboot my machine when it is flashing a question mark folder?

    Booting From An OS X Installer Disc
    1. Insert OS X Installer Disc into the optical drive.
    2. Restart the computer.
    3. Immediately after the chime press and hold down the "C" key.
    4. Release the key when the spinning gear below the dark gray Apple logo appears.
    5. Wait for installer to finish loading.
    After the installer loads proceed through the installation procedure.  If you are reinstalling Snow Leopard then your hard drive will not be erased.

  • Domain name settings - Newbie question

    Sorry for a newbie question!
    I am already pointing a domain name to web hosting for email account. Now, I need an application server to run ERP software and Oracle, and installing Solaris and Oracle need a domain name.
    If I point my domain name to the server, how do I receive emails from web hosting???
    Install an email server to the application server instead? What can I do if I want the same domain name? Any option?

    Setting up a mailserver and making sure it doesn't suddenly turn into a spambox is not something you do with the use of a few commands. I suggest to dive into the Solaris admin guide on docs.sun.com and read up on e-mail and network services.
    If that is asking too much of your time you'll be better off getting your ISP to handle all this for you.

  • Domain Name settings in Solaris - Newbie question

    Sorry for a newbie question!
    I am already pointing a domain name to web hosting for email account. Now, I need an application server to run ERP software and Oracle, and installing Solaris and Oracle need a domain name.
    If I point my domain name to the server, how do I receive emails from web hosting???
    Install an email server to the application server instead? What can I do if I want the same domain name?

    Your questions are completely off-topic for the forum.
    These SunOS forums are for questions on <i>"how do I install my OS"</i>
    You particular question is in the <i>"how can I install Solaris while using the CD drive"</i> forum.
    So, if you had a question on how to edit the /etc/inet/hosts file to establish a FQDN on the computer, then it might be appropriate for the forum.
    Unfortunately, I don't have a clue on where to redirect you, except perhaps to the Sun Java Enterprise System suite of applications?

  • Mac book pro flashing a question mark folder

    What does it mean when my mac book pro is flashing a question mark folder and will not boot

    There are four general causes of this issue:
    1. The computer's PRAM no longer contains a valid startup disk setting when there aren't any problems with the disk itself. This can be checked for by pressing the Option key and seeing if the drive appears.
    2. The internal drive's directory structure has become damaged. This requires usage of an alternate bootable system to perform the repair.
    3. Critical system files have been deleted. This requires usage of an alternate bootable system to reinstall them.
    4. The internal drive has died or become unplugged. This is the most likely case if the computer took a sharp impact or there are unusual sounds coming from the hard drive's location.
    (86432)

  • Newbie Question:  How much computer do I need?

    Newbie Question:
    I would like to use MainStage 3 in a live performance environment to play bars, parties, etc.  I'm not looping, using it to playback recordings, processing outboard equipment or vocal processing.  I want to stop carrying Rolands, Nords, Korgs, etc and get to a controller and a rack with a Mac Mini in it.
    I tested a download of Mainstage 3 on my home Mac Mini (late 2012, 3.5 Ghz i5, 4GB RAM, 500GB drive) and it seemed to run fairly well.  $30 well invested so I trekked forward... I purchased a Mac Mini (late 2009,  2.52GHz Core 2 Duo, 6GB RAM, 128GB SSD) for $200.  I started to do more elaborate keyboard setups to see how the CPU would hold up.  It typically runs from 30% to 50% of capacity (CPU and Memory)  It actually boots and runs better than the i5.  I hear the occasion gitch, but it actually seems to be getting better in time (or I'm rock and roll deaf.
    I got a rack, an Airport Express, a Radial USB interface and a Nektar Panorama P6.  It's starting to get expensive, but I'm emboldened by the actual quality for the sound and the flexibility of arranging for live performance.  What used to take me two and three keyboards to play, I can now fit on one performance patch.
    OK, now the question... am I at the limits of this little Core 2 Duo?  Should I upgrade the i5 with more RAM and a bigger SSD and use that?  Should I get a new(er) i7 and bite the $1,500 bullet for the additional RAM and SSD?
    I see that most of you are running pretty nice Macbook Pros with i7 and lots of everything.  My needs are modest; am I OK? 
    BTW, I want to run a Mac Mini in a box because I don't want to carry a laptop out in the open.  If I was doing bigger shows I wouldn't care but I play some rowdy bars and constantly have folks hanging off me while I'm playing.  It's fun, but hard on gear.  If you can't drop it or dip it in beer, it won't last long where I work.
    Matt Donnelly

    Rule of thumb: newer and faster is better. But, depending the complexity of your needs you may be OK with an older Mac. Some glitches that happen in a live performance are due to loss of communication with USB or Firewire inputs, so make sure they're secure. I recently upgraded from a 2010 Mac Mini 2.6 dual core with 16 GB RAM, which was used live for nearly four years, to the latest Mac Mini 3.0 i7 with 16 GB RAM and a 500 GB SSD. I was getting an occasional stuck note with the older one. The new one is rock solid. Some of my patches may have up to a dozen channel strips mapped to three keyboards. The Mini is mounted in a rack next to a MOTU Ultralite Hybrid. It is a good idea to map a panic button on your keyboard to controller # 123(all notes off). Also, you might want to invest in a battery backup power supply(APC, Cyberpower, etc.-$40-$60) to protect your Mac against power loss, which can damage you hard drive.

  • Multiple version of JRE in company..How to manage? (newbie question)

    Greetings..this is a newbie question
    We have 48 versions of JRE running in on XP IE6 in our company.
    Some version beat up other JAVA applications.
    It's a mess.
    How can anyone manage this many versions?
    Can we consolidate down to a few versions?
    I saw some posts on changing the JRE dynamically or perhaps using a wrapper with a product from "sourceforge".
    Are these viable?
    Thanks in advance

    We have 48 versions of JRE running in on XP IE6 in
    our company.
    Some version beat up other JAVA applications.
    It's a mess.can you elaborate on how some versions "beat up" other apps?
    How can anyone manage this many versions?you don't, each computer should periodically upgrade (IMO) but you shouldn't care. if you do, tell your users to load the latest version
    Can we consolidate down to a few versions?sure
    I saw some posts on changing the JRE dynamically or
    perhaps using a wrapper with a product from
    "sourceforge".
    Are these viable?i have no idea what this is, but I have doubts about your problem, if it exists at all

  • Newbie question: ""dynamic"" casting

    Hello all,
    <br>
    I have a quite newbie question. I have this class hierarcy:
    <br>
    A
    |_A1
    |_A2
    |_A3
    |_A4
    |_A5
    |_.....
    <br>
    in some part of my code I have this:
    <br><br>
    if (object1 instanceof A){
    if (object1 instanceof A1)      {A1   object2 = (A1) e;}
              if (object1 instanceof A2)      {A2   object2 = (A2) e;}
              if (object1 instanceof A3)      {A3   object2 = (A3) e;}
              if (object1 instanceof A4)      {A4   object2 = (A4) e;}
              if (object1 instanceof A5)      {A5   object2 = (A5) e;}
    object2.callMethod();
    <br><br>
    Is there any way to do this type of casting just in one line? I mean, I just want to cast object1 to the class it is instanceof. If it is instance of A1, I want to be casted to A1, if it is A2 to A2, etc...
    <br><br>
    Thanks you in advance.

    kamikaze04 wrote:
    In fact I know what object1 is on execution time,Which doesn't help your compiler at all, when it's task to link and verify method calls.
    because the code posted at the top is working well, i just want to avoid repeating that if's for all the new classes Ax I will create. Big "code smell" here.
    In other words if i had from A1 to A200 i dont want to have 200 if's to cast it to the class it is and then execute it's method.You could call the method "doMagic()" and make it abstract in A. Then you can implement it in all Ax classes and would never have to worry about casting in the first place, because A.doMagic() would automagically do the right thing. Polymorphism.

Maybe you are looking for

  • BW report on portal - different settings than in BEx

    Hi gurus, I would like to ask you if it is possible to have different setting for BW report in portal than in BEx. Is there some content management feature which allows for example to have resultr rows for a characteristic in Portal and to not have r

  • Unplanned delivery cost for different Vendor

    Hi,    For a import PO we need to pay OCTOI to Municipal corporation. Unfortunately while PO creation the octroi condition was not entered. Now we need to post a invoice for this and the condition is, we must post this to material. We dont want to do

  • After updating my java plugin all my web pages look screwy?

    I checked my plug ins to make sure they were up to date, and I updated the ones that werent. Now my webpages are missing a ton of things (color, advertisements, pictures,etc). Some of the text will overlap itself, and most web pages just list there f

  • Xdo_http_*.dt in /tmp

    Hello All, I tried running the Oracle Base "Accounts Payable Trial Balance(1)" request on our newly upgraded R12.1.3 (test) system. This is by detail version of the report. The request had to be killed since, it started filling up the /tmp space. One

  • Palm Desktop v3.1.1.0 fails to open on Windows XP

    No device Initial error message: "Failed to open datebook database." Error Signature AppName: palm.exe AppVer:3.1.1.0 ModName: mfc42.dll ModVer: 6.2.8081.0 Offset: 00004518 How can I access my desktop calendar? THANKS! Kathleen