Navigating through flash site with animation

Hi all,
Obviously i am very new to flash as i think this must be a very basic question....i just can't get my head around it, so would really appreciate some advice.
Basically, what i want to do is have a home page with some images and things on it, and a menu.
When the user clicks on a menu button, i want the images on the homepage to animate away, and be replaced with the chosen page (animated in).
I understand how to animate things using Tweens in the timeline and also in As3 using the Tween Class, but for the animation i'd like to do it's so much easier to use the timeline (i don't think i'd be able to use as3 to do really complicated things yet).
I can figure out how to make the home page disappear, but i can't figure out how to then animate in the correct page. If anyone can point me in the direction of a good tutorial or just give me some hints i'd be sooo grateful!! I think i'm just struggling to get my head into it.
Thanks.

THanks AGAIN moccamaximum!! I feel like i'm being a complete *******!!
I've added an alpha=0 box over all the buttons in the main stage. In the script on the main stage i've added a statement to make it invisible, then if hideImage() or showImage() is called, i make the box visible so that the user can't click any buttons. I'm now having a problem calling the box from the img1 or img2 child movieclips. I've set a new keyframe on the very last frame of the img1 and img2 movieclip and tried to use parent.box.visible=false; but that didn't work....it said possibly undefined variable. I must be missing something and my ignorance of flash is getting really frustrating -  i need to learn faster!!
How do i access the box mc from the img1 and img2 movieclips in the as3?
I've changed the main actionscript to this:
menupoint1.addEventListener(MouseEvent.CLICK, startAnimation);
menupoint2.addEventListener(MouseEvent.CLICK, startAnimation);
// 'box' movieclip set to invisible
box.visible=false;
//make object from Images Classes
var img1_mc:img1 = new img1();
var img2_mc:img2 = new img2();
//addallImages, but make them invisible
addChild(img1_mc);
addChild(img2_mc);
var currentImage="";//use this variable to hold the currently active image
function showImage(e:TimerEvent):void {
    box.visible=true;
    this[currentImage].play();
function hideImage():void {
    box.visible=true;
    this[currentImage].play();
var animation_timer:Timer = new Timer(1000,1); // use this timer to create a pause bewtween the animations
animation_timer.addEventListener(TimerEvent.TIMER_COMPLETE, showImage);
function startAnimation(e:MouseEvent) {
    if (currentImage!="")
        hideImage();
    animation_timer.start();
    switch (e.target.name)
        case "menupoint1" :
            currentImage="img1_mc";
            break;
        case "menupoint2" :
            currentImage="img2_mc";
            break;

Similar Messages

  • Navigating through iTunes browser with keyboard problem

    It used to be that if I clicked in the Artists browser window and typed PAT, the window would scroll down to Patricia Kass. This is no longer the case. The strange thing is that it does this (or does not) on both computers of mine (G4 MDD and 12" PB). So it is probably due to something I installed. I tried a little bit of everything: repairing permissions, creating a new user account, deleting preferences, deleting additional pref panes… with no success. Keyboard navigating through a finder window works perfectly. Anywhere else to look? Or should I just buy a new Mac Pro? Thanks for any help!

    If you are on the iphone there is a blue "app store" and a purple "itunes app" They are completely separate from each other, so if you are looking for music in the app store thats your problem. If you are in itunes on your mac or pc then there should be there should be a yellow area at the top with an apple logo in it, literally right beneath that there is a bar with two arrows, a home icon, and what probably says app store. Click on the home icon and you should be back to the main itunes store. Hope this helps.

  • Firefox slows down when opening a site with animated gifs

    After updating to FF4, I find that whenever I try to open a page that has multiple animated gifs on it, firefox slows down tremendously. CPU usage goes up to 50-75% and all animated gifs are moving really slow.
    It's not only large animated gifs, but it also occurs on forums that have animated smilies. I never had this problem in FF 3.6 nor any other browser (IE, Chrome, Safari). If I start FF4.0 without any add-ons or plugins it does the same thing. Even with a fresh install. Does anyone have a solution to his problem? Since I can't use some of my favorite sites now with FF, without my pc slowing everything down.

    Disabling the hardware acceleration worked for me!

  • Unable to load flash site with Windows 8.1 and IE11

    Hi,
    I have spent days trying to get "mypaychex.com" website to load after logging in using Windows 8.1/IE11. The site loads fine in Windows 7 and other browsers but I need it to work with IE 11/8.1. I have tried using compatibility mode, lowered all
    security settings, verified shockwave is enabled within the browser, tried various updates as well. I guess this can only be because flash is embedded now with 8.1. Is there a way to disable the Windows 8.1/IE11 embedded flash and have it use the player from
    Adobe instead? Anyone have any other suggestions I can try? Or is this a problem with the website itself not compatible? Any help would be appreciated. TIA

    KB956196's list of "products that this article applies to" includes IE6-10,
    but not IE11,
    and it also does not include Win8.1.
    The last review of that KB was Oct 15, 2013.
    Methinks MS should either
    update the article to include IE11, if appropriate, or
    create a new article that specifically applies to IE11.
    And perhaps TechNet Support folks could refrain from applying aged boilerplate answers that reference outdated and perhaps irrelevant KB articles, or explain knowledgably in their responses that, while the article appears to reference older versions, its
    steps are still appropriate to follow.
    I only mention this because, while there is a wealth of info and useful support at this site, everytime I look and try to specify what I'm using, inevitably and invariably more than half the hits on my query are for either outdated or totally irrelevant
    applications. Would that there were filter options (see Amazon searches, lefthand side of screen, where you can narrow things down considerably).
    I'll shut up now.

  • Centered flash site with no margins

    I was wondering if any one could help me in "coding" my site
    to have my flash page be centered and have NO margins.... I know
    Kirupa.com had a code on his site in regards to some code to be
    placed in the "head" tag of the .html "page" but it has since been
    removed. Could anyone here please help?
    the ultimate goal is to have the site fill up the entire
    screen.
    Thanks in advance

    if you're using a flash 9 player you can use the Stage's
    "displayState" property to go fullscreen. otherwise, none of the
    old javascript tricks work with the ie security fixes.

  • Flash site with Back Button and Favorites enabled

    I've search everywhere I can think and can't find the answer I need.
    I want the user to be able to bookmark or use a back button in internet explorer or any internet browser on a 100% flash-based site.
    For Example: http://www.mountaindewgamefuel.com/
    When you click on any of the link on the top menu, you will be re-directed to http://www.mountaindewgamefuel.com/#/signin if you're not signed in, but you stay on the same page, just the flash changes.
    And if you type something in the url after the /#/, like adobe: http://www.mountaindewgamefuel.com/#/adobe
    It goes and plays the transisiton and goes to a blank window with section.name as the title of that window, since "adobe" doesn't exsist.
    So my question is, How do I make this work Like Pepsi did? Thanks.
    -Josh

    KB956196's list of "products that this article applies to" includes IE6-10,
    but not IE11,
    and it also does not include Win8.1.
    The last review of that KB was Oct 15, 2013.
    Methinks MS should either
    update the article to include IE11, if appropriate, or
    create a new article that specifically applies to IE11.
    And perhaps TechNet Support folks could refrain from applying aged boilerplate answers that reference outdated and perhaps irrelevant KB articles, or explain knowledgably in their responses that, while the article appears to reference older versions, its
    steps are still appropriate to follow.
    I only mention this because, while there is a wealth of info and useful support at this site, everytime I look and try to specify what I'm using, inevitably and invariably more than half the hits on my query are for either outdated or totally irrelevant
    applications. Would that there were filter options (see Amazon searches, lefthand side of screen, where you can narrow things down considerably).
    I'll shut up now.

  • Help with navigation on a site with an embedded blog?

    I have an embedded blogger blog on my website. When I go to the blog page on the website, I can't navigate away from it using the menu.
    Can anyone give me some help on how to fix this?
    The site is: www.consigningwomensc.com
    Thanks!

    You might have some kind of object overlapping on top of your menu bar.
    I noticed on the page you can select your logo up until the work 'women & men'. On your home page you are able to select the logo all the way to the bottom.

  • Help finishing up my first flash site - using navigation to display different sections of the site?

    Thanks for looking! i am making my first flash site, and im
    not sure what to do next in regards to navigating through the site.
    I have different sections, home, info, hardware, equipment, etc,
    but im not sure how to make each section appear when you click the
    corresponding navigation link. i have an idea but im not sure how
    to execute it.
    Should i make a movie clip for each section (home, info,
    hardware, contact), then place each movie clip in its own frame on
    the main time line, and on each navigation link button (each one is
    a movie clip) use action script and put a gotoAndPlay() code with
    the frame number of the corresponding section? so when you click
    it, it goes to that frame which has the movie clip that has the
    content for that part of site, say contact, or info?? if so how can
    i do this?
    that sounds really confusing and im sorry but please help out
    a beginner! Thank you and happy halloween!
    -Matt
    here is a link so you can see the.swf
    [url]http://www.filedorm.com/show.php/7839_INTOUCH.swf.html[/url]
    and also here is a link for the .fla
    [url]http://public.me.com/mattsh*t[/url]
    your going to have to copy and paste that in your browser
    since the world filter on here. just repleace the " * " with an " i
    "

    Targeting specific timelines in a flash movie can be daunting
    in the beginning. But if you start from the main timeline (_root)
    and build brom there, it becomes easier to understand.
    For eg:
    If you have 2 movieclips on your main timeline (_root).
    Navigation and Pages.
    Inside Navigation you have the buttons, and each button is a
    separate movieclip.
    Inside Pages you have each page, each a separate movieclip.
    to target a specific page number, from a button, there are 2
    ways you can go about it. The method that Ned suggested is called
    RELATIVE.
    -meaning that you target FROM WHERE YOU ARE.
    the second method is ABSOLUTE.
    -meaning you target FROM MAIN TIMELINE.
    Relative is good, but can be confusing when using dot syntax.
    Absolute is straight forward and easy to understand, and can
    be used from anywhere in the whole movie. The downside, is that it
    generally requires a bit more typing.
    In the example I stated above, it does not require more
    typing. simply say:
    _root.page.gotoAndStop(number);
    This line can be used from anywhere in your movie, at any
    timeline depth, and will work with no worries.
    You can also have ALL navigation code on the main timeline on
    the first frame. Simply designate the path to the specific button
    like so:
    navigation.home_btn.onPress = function(){
    doSomething;
    this tells Flash that the button named "home_btn" located
    inside the movieclip called "navigation" will have to doSomething
    when Pressed.
    I hope this helps you understand targeting a bit more.
    Good Luck.

  • How can I resize my Flash site to fit any screen resolution?

    I built a 100% flash site with tiled framing but I have a
    problem. My flash was built 766 x 750 pixiels. When viewed at
    resolutions greater than 1024x768 the webpage looks great but
    anything less than that it looks like @#$@. I know most people
    probably view at 1024 x 768. Is there anyway to auto resize based
    up on screen resolution or something to detect the screen size and
    adjust the webpage accordingly.
    www.platlimosvc.com
    Below is my html (index.html) for my flash movie:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
    Transitional//EN">
    <html>
    <head>
    <title>Untitled</title>
    <meta http-equiv="content-type" content="text/html;
    charset=UTF-8">
    <link href="style.css" rel="stylesheet"
    type="text/css">
    </head>
    <body>
    <table cellpadding="0" cellspacing="0" border="0"
    style="width:100%; height:100%">
    <tr>
    <td valign="top" style="width:100%" height="750">
    <table cellpadding="0" cellspacing="0" border="0"
    width="766" style="height:100% " align="center">
    <tr>
    <td valign="top" width="234" style="height:750px ">
    <object
    classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
    http://download.macromedia.com/pub/shockwave/cabs/flash/swfl
    ash.cab#version=6,0,29,0" width="766" height="750">
    <param name="movie" value="flash/xxxx_main.swf">
    <param name="quality" value="high">
    <param name="menu" value="false">
    <!--[if !IE]> <-->
    <object data="flash/xxxx_main.swf"
    width="766" height="750"
    type="application/x-shockwave-flash">
    <param name="quality" value="high">
    <param name="menu" value="false">
    <param name="pluginurl" value="
    http://www.macromedia.com/go/getflashplayer">
    FAIL (the browser should render some flash content, not
    this).
    </object>
    <!--> <![endif]-->
    </object>
    </td>
    </tr>
    </table>
    </td>
    </tr>
    <tr>
    <td valign="top" style="width:100%; height:1px;
    background-color:#6C6C6C">
    <table cellpadding="0" cellspacing="0" border="0"
    style="width:100%; height:1px">
    <tr>
    <td valign="top" style="width:50%;
    height:1px"></td>
    <td valign="top" style="width:766; height:1px">
    <table cellpadding="0" cellspacing="0" border="0"
    width="766" style="height:1px ">
    <tr>
    <td valign="top" width="766" style="height:1px
    "></td>
    </tr>
    </table>
    </td>
    <td valign="top" style="width:50%;
    height:1px"></td>
    </tr>
    </table>
    </td>
    </tr>
    <tr>
    <td valign="top" style="width:100%; height:100%">
    <table cellpadding="0" cellspacing="0" border="0"
    style="width:100%; height:100%">
    <tr>
    <td valign="top" style="width:50%;
    background:url(images/bottom-3.gif) top right;
    height:100%"></td>
    <td valign="top" style="width:766;
    background-image:url(images/bottom-5.gif); height:100%">
    <table cellpadding="0" cellspacing="0" border="0"
    width="766" style="height:100% ">
    <tr>
    <td valign="top" width="766" style="height:100%
    "></td>
    </tr>
    </table>
    </td>
    <td valign="top" style="width:50%;
    background:url(images/bottom-4.gif) top left;
    height:100%"></td>
    </tr>
    </table>
    </td>
    </tr>
    </table>
    </body>
    </html>

    tlcarl,
    > I know most people probably view at 1024 x 768.
    You think so? Even if they have their resolution that high
    (which is
    fairly standard, nowadays), do you think most people maximize
    their browsers
    to fill that whole area?
    > Is there anyway to auto resize based up on screen
    > resolution or something to detect the screen size and
    > adjust the webpage accordingly.
    There is, indeed. :) Check out the Stage.onResize event in
    the
    ActionScript 2.0 Language Reference. That event is dispatched
    when the
    browser (or whatever container) is resized -- in cases where
    the SWF is
    embedded with percentages. If that's your aim, you'll need to
    code against
    that event, which can be done like this ...
    http://www.quip.net/blog/2006/flash/how-to-position-movie-clips-browser-resizing
    It can take a bit of thought, depending on the complexity of
    your goal,
    but the result is usually worth it. The site in your URL is
    already built,
    so this wouldn't do much of anything without opening the
    hood, so to speak,
    and completely rebuilding the engine. A Flash movie has to be
    designed and
    programmed to respond to the Stage.onResize event.
    David Stiller
    Adobe Community Expert
    Dev blog,
    http://www.quip.net/blog/
    "Luck is the residue of good design."

  • How to update flash sites without flash installed

    Hi,
    aside from using ICE, is there a way for someone to update a flash site with pictures and text who doesn't have flsah installed on their computer? i.e., how can you add as well as replace additional text and image files without doing it in flash and publishing a swf file everytime?
    Kind regards,
    Steve

    It depends on to what extent you mean to add new content.  You can add content dynamically, but the groundwork needs to be in place in the swf for the data that defines the content to be processed as well as for placement of the content.
    XML is one commonly used way of defining content.  All a person needs is an ascii text editor file to change the content of an XML file, and the ability to upload that file to a server (or an interface could also be created for them to create that document online, but that's another system in itself).

  • FLash site will redirect to 3 subdomains(html,blog,forum)How SEO Friendly is going to be MyWebsite?

    I'm building a website which is going to have 3 subdomains to load within . One html  is going to promote the services and sell it (135mb), one  WordPress blog news (15mb) and one vBulettin forum. For this reason I have a typical flash template with 4 selections, with one click for each of the 4 images which will describe the content,  this will redirect people to the right place ( html website,blog, and forum ) . What is the best method to SEO my website ? I need people to know/easy to find me on google, to know abaut the services I offer, blog news and forum. I cannot enter all those menus on the services subdomain because I dont want people to get scared that they have to pay for someting and get out; the blog looks more worst compare with html so I cant enter all links in there..; forum its forum..
    So my only decent option is to have this flash site with 3 big options which will redirect people to their choises. But how is going to affect SEO ? am'I going to need to SEO my subdomains, like www.mywebsite.com/services , or the main flash site ?
    thank you

    I agree with what Ned is saying, the Home page for your site IS normally the most important and should be well packed with SEO targeted content... of which Flash by itself is not very good. In addition, iOS devices like the iPhone will not display the Flash.
    So while it is possible to get great page rankings for those various sections, the HTML, Blog, or Forum, it may take longer and lacking good SEO for your Home page, in effect will dillute the overall SEO effectiveness of the site.
    So my advise, don't use Flash for your Home page. If you do, then you should use swfobject and create extensive alternate content. This alt content will satisfy the SEO requirements as well as provide a display for iProducts.
    For your review:
    If you think that Flash is somehow bad for SEO, it's time to dispell that MYTH!
    If fact, in some circumstances I'll use Flash INSTEAD of just HTML because then I'll have better SEO than with just HTML alone.
    The client provided the artwork for the page... and that's what they wanted to use a .jpg image. Well yes, that could be done in HTML but it would be virtually invisible to Google. So Instead I converted the image into a Flash .swf and used swfobject to display the Flash. swfobject allows you to create alternate content inside the <div> which also holds the Flash .swf, then when the page is loaded it detects if the browser has the Flash pluggin. If it does, it displays just the Flash content, if not, it displays the alternate content. Since almost everyone has the Flash pluggin, for most people the Flash version of the <div> will display.
    The alternate content for that <div> can be any regular HTML text, images, media player, links, etc., anything that you would use if you were not using the Flash. Now the best part is that the alternate content can be "over the top" as far as optimizing for SEO, since it will not be seen by most viewers.
    Here's another example of SEO with Flash.. again, the page is just a single image provided by the client:
    http://www.ksowetsuits.com/
    View the source code. The alt content is paragraph after paragraph of information about the site, including lists and links. If it was just the HTML, it might be kind of a boring Home page. But for SEO I can go "over the top" in promoting the site, since most viewers will never see that part... but it's all indexed by search engines. The end result is BETTER SEO using Flash than just HTML.
    On another Web site, a Flash video is displayed, the alt content is the complete text narration of the video. Now how many people would take the time to read that if they could just watch the video instead?? again, better SEO with Flash than without. In fact in one case we had first page search result from that video narration within 4 hours of posting the page.
    On still another site with a Flash video, the alt content is another video, but a .mov version, which will, in effect play Flash video on the iPhone (not possible you say??). Well since the iPhone does not have Flash pluggin, it simply displays the .mov version of the video, while everyione else sees the Flash version.
    So anyway, if Flash is a part of your Web development, you should look into using swfobject and alternate content.
    http://code.google.com/p/swfobject/
    Best wishes,
    Eye for Video
    www.cidigitalmedia.com

  • Quality problem with animated gif through flash

    i got a problem with making animated gif through flash.
    on html/swf publication it looks clear.
    but the weird thing is through gif publication, it wouldn't show. and exporting it as a movie as gif cause visual defect when put up on web.
    it looks better when you open it in a browser.
    this is how it looks for a profile gif in thumbnail mode. blocky and unclear.
    how do you get it to look good both in thumbnail mode and in browser mode. i seen other that have a clear gif in thumbnail mode.  are my setting wrong for flash? or should i just do gif in photshop instead. i heard rumors flash don't do gif very well.

    Change your gif export setting under publish...
              Dimensions         : Match movie
              Playback             : Animated
                                        : Loop continuously
              Options               : Optimize colors
                                        : Smooth
              Transparent         : Opaque
              Dither                 : None
              Palette Type       : Adaptive
              Max colors         : 99999

  • What to do? When on a site with a PDF download I wish to open, the site commences to open in a new Tab but the information does not come through? This happens on all sites. The advanced Java Script is disabled.

    When on a site with a PDF download I wish to open, when I click on download the site commences to open in a new Tab but the information does not come through? This happens on all sites. The advanced Java Script is disabled. The new tab will sometimes flash black then go white with nothing else happening or just go white & nothing else?

    I had the same problem and also had PDF Download 3.0.02 installed. By removing this addon I can now select a PDF document which then opens up a normal Open With/Save dialogue allowing me to open the file or save it. Hope this helps.

  • How to install adobe flash player through command line with some script

    Hi Guys,
    Do you know how to install adobe flash player through command line with some script?
    Thanks,
    Galina

    Windows. I tried silent install  with "install_flash_player.exe /install" but it works only with one file that I downloaded from adobe.com - "install_flashplayer10_mssd_aih.exe". But it is possible to download this last file only one time, every next time it redirects me to download install_flash_player.exe file.

  • Embedding a Flash animation in a Flash Site

    I'm looking for a solution to the following problem. I am
    developing my website in Flash and I would like to show examples of
    interactive flash animations I have developed. I imported my my
    .swf animation to my flash site library, but when I drag and drop
    it to the stage the following happens:
    1. The animation plays from frame to frame without stopping.
    2. Elements which were hidden (off the stage) in the
    animation now show up on the stage.
    3. When I open the animation in edit view (double click the
    animation on the stage) the entire animation appears as individual
    frames on one timeline.
    I would like to maintain the interactivity of the animation
    on the site (i.e. buttons, tool tips) and I suspect there is a way
    to embed the animation in the flash site while in flash.
    Any ideas?
    Thanks

    You don't really want to add new files that way. In addition
    to the problems that you list, you will also be making one, large,
    file. This means that it will take longer to download, and possibly
    play poorly.
    You should keep these independent .swf files as they are, and
    "import" them using either AS2's loadMovie() or AS3's URLRequest()
    to bring each file into your movie.

Maybe you are looking for

  • Calendar from month view to day view

    Hi, why isn't it possible (like on my iPhone) if I'm in the month view to tip on a specific day and see this day in the day view? I adressed this already at the Apple Feedback page but it seems to be thaat even in iOS 7.1 it has not made into the fin

  • Printers will not stay online throughout the day in Windows 8.1

    I am a systems administrator at a Law Firm and our managing partners request was to upgrade all of our attorneys to a device that will allow them to have a laptop and a tablet all-in-one.  So I recommended Windows 8 ultrabooks.  We ended up getting a

  • Cut Off Window Screenshots

    In Snow Leopard, when I try to take a screenshot of a window that spans the entire width of the screen (such as iTunes) the right side of it is cut off. The drop shadow is missing from the right side of the window. When I did this in Leopard I'd get

  • DATA LOAD ISSUE /NO ROLL UP MEMORY

    Hello Team, I have this master data load failure for FIS_BELNR. The problem which I think that everytime it tries to load it runs out of internal table space in the backend. I really don't know what it means. This data is been failing everyday becaus

  • Can't Change SIM Cards

    Around a month ago I switched from the Original iPhone to the 3G. Well, yesterday I lost it while skiing and never expect to see it again. I went to AT&T and they gave me a new SIM card. I put it in my old iPhone and it asks me to plug it in to the c