AS2 Navigation assistnace/advice

Hi
My AS2 is not too good and Im wanting to move onto AS3
learning after my current project.
Ive been working on a tutorial and managed to get a
navigation system where buttons react to each other, ie. change
state and then move to the appropriate place in the movie.
It all seems to be working as coded but Im not sure how to
tell the movie that it is on the homepage, and make the button1
show in its selected state. I.e when movie loaded it is on the
homepage.
Could anyone show me the code to achivev this please.
Ive attached the zip with fla in for download below
Thanks for any help, or point me to another tutorial that
covers this
Voddie
ZIP

I didnt expect you to do this for free.
I have purchased many many components for flash, I dont
suppose I would be able to use these in AS3?
If that's the case, I havent any projects that I could do in
AS3 at the moment. I thought that if I was going to learn AS, I
might as well learn AS3. So a template would get me started with
understanding what youve created.
Voddie

Similar Messages

  • DVD Navigation Woes - Advice Needed

    Hi
    I'm working on an education DVD with multiple sections. Within each section, there may be, for example, a video sequence, then an interactive element implemented as a menu (multi-choice questions etc.), followed by more video.
    At present, this is implemented as a track with a marker in the middle that jumps to a menu and then a button ("Done") on the menu that jumps back to the marker on the track.
    The problem with this set-up is that it wrecks havock with end-user navigation. The user expects the sequence to 'flow' as a continous piece and expects that when the hit 'back' or 'next' on their remote, that the will follow the sequence through.
    Of course, that does not happen. Because there is a jump away to a menu, it's ignored when the user uses the remote to navigate. Or when on the interactive menu, back and forward buittons have no effect.
    Can anyone propose a solution that will allow me include interactive menu items in video material and make this as transparent as posible to end users?
    Many thanks for any advise posited.
    Peter

    Welcome to the boards
    What you can try is buttons over video with a pause...in other words the video will play then come to a section that looks like a menu (but is effectively a still) where you can make multiple choice selections, when the selection is made it continues from there
    Download this
    http://www.dvdstepbystep.com/BOV.dmg
    Which is a quick rough of the idea, and some tweaks can be added

  • Sliding Navigation Menu (+ Advice)

    Hi, I am new to Flash. I have tried to pick it up several
    times over the years but always seem to come up against problems.
    It seems that Flash is more dependant on Actionscript now than it
    ever was. I am not a programmer by any sense and feel like learning
    AS will be too time consuming and a little beyond me. If anybody
    has any advice on overcoming this I would be very interested to
    hear from like minded individuals who have gone through the same.
    An example of what I now find myself trying to do (and
    hitting a brick wall) is create a sliding menu for a website.
    Imagine a list of links with a triangle next to the home (top
    link). I want to be able to click on one any link and have the
    arrow move to the link I just clicked (and load the relevant page).
    I didn't think this would be too hard but either it is or I'm just
    stupid.
    Any advice?

    Here is a quick tutorial on it:
    http://www.kirupa.com/developer/mx/dropdownmenu.htm
    You can learn actionscript basics and slowly increase the
    difficulty. Just do a bunch of tutorials on topics that interest
    you, and you'll slowly pick up all the code you need to do more and
    more complex things.

  • [AS2] Navigation à partir d'un bouton dans clip vers une autre séquence

    Bonjour à tous,
    Je suis entrain de développer une animation en AS2, mon problème est le suivant:
    Je travaille avec clip qui contient des boutons, et en cliquant sur ces boutons je souhaite passer à d'autres séquences. J'ai réussi à naviguer dans la même séquence en utilisant "_root.gotoAndStop(num_image);" mais je n'ai pas réussi à naviguer vers d'autres séquences.
    l'arborescence de mon animation est la suivante :
    - séquence 1 (nommée "maquette") : elle contient un premier symbole clip "clip1", qui contient à son tour un clip "clip2" (cad clip2 est integré dans clip1). Clip 2 contient un bouton, en cliquant sur ce bouton je veux aller à l'image 1 de la séquence 2 (nommé seq2), mais je n'arrive pas.
    Pouvez vous m'aider? Merci

    English Translation from Google: Hello everyone, I am trying to develop an animation in AS2, my problem is this: I work with clip with buttons, and clicking on these buttons I want to move to other sequences. I managed to navigate through the same sequence using "_root.gotoAndStop (num_image)," but I was not able to navigate to other sequences. the tree of my animation is as follows: - Sequence 1 (called "model"): it contains a first symbol clip "clip1", which in turn contains a "clip2" clip (ie is integrated into clip1 clip2). Clip 2 contains a button, clicking this button I want to go to Frame 1 of the sequence 2 (named seq2), but I can not. Can you help me? thank you
    By "sequence" I assume you mean "scene", since you say you can navigate within the first sequence using "_root.gotoAndStop".  Unfortunately, Flash's gotoAndStop( [scene:String], frame:int ) overload just doesn't work when you try to specify a scene name.
    To work around that, just put a unique frame label on your 2nd scene's main timeline and navigate to it using _root.gotoAndStop("frame_label").  Flash will figure out which scene the label is on as long as you use _root.gotoAndStop.
    Your handler would look like this:
    clip1.clip2.button.onMouseDown = function() { _root.gotoAndStop( "frame_label_in_scene_2" ); }

  • AS2 Navigation

    I'm trying to create a navigation system similar to that on
    gm.com. If anyone knows how to create a similar navigation system
    using Penner Easing , please let me know. Any help with this would
    be greatly appreciated.
    Cheers-
    Graeme

    I didnt expect you to do this for free.
    I have purchased many many components for flash, I dont
    suppose I would be able to use these in AS3?
    If that's the case, I havent any projects that I could do in
    AS3 at the moment. I thought that if I was going to learn AS, I
    might as well learn AS3. So a template would get me started with
    understanding what youve created.
    Voddie

  • Easy AS2 script btn advice needed pls,

    I have a nav bar movie clip in a flash document imbedded as swf in an html page.  I want the button on release to go to a particular frame of a flash timeline imbedded as swf in another html page.
    The html page is in a different folder at the same level, so ../ works to get to the html page.  But then I dont know how to drill into the flash time line from there.
    Any help appreciated, thank you.

    then this isn't going to be the easiest thing for you.  you need to:
    1.  use getURL() to open your other html page, append a query string to the url that indicates the frame you want to display in the other swf
    2.  add a javascript function to the other html page that returns location.href when called
    3.  call that javascript function from your other swf (using the externalinterface class) and finally
    4.  use preloader code in your other swf to ensure the needed frame is loaded and execute your goto to display the desired frame.

  • AS2 Navigation button indicator help

    Hi all,
    I'm using this code below to basically toggle the buttons to indicate what page it is you are on in a flash website.  ANd if another button is clicked on - the previous button one will animate out and the newly clicked button will be highlighted.  Now this current code works and all but I'm not able to select the indicated button again to load up the same content if the user so chooses to do so. 95% of the time i wouldn't need this functionality but unfortunately need it this time. Help please?
    Here is the code:
    [CODE]var selectedButton:MovieClip;
    function toggleButtons(btn:MovieClip):Void {
    if (selectedButton) {
    selectedButton.gotoAndPlay("Out");
    selectedButton.enabled = true;
    btn.enabled = false;
    selectedButton = btn;
    }[/CODE]
    Here is the onRelease code calling the toggleButtons:
    [CODE]item_mc.onRelease = function() {
    toggleButtons(this);
    loadMovieNum(this.btnMC.fileLocation.concat('.swf'), 10);
    };[/CODE]
    And finally the buttonClass I use to attach the Over and OUt actionscript (here if necessary):
    [CODE]class ButtonClass extends MovieClip{
    public function ButtonClass(){
    this.onRollOver = this.Over;
    this.onRollOut = this.Out;
    this.onReleaseOutside = this.Out;
    private function Over(){
    this.gotoAndPlay("Over");
    private function Out(){
    this.gotoAndPlay("Out");
    }[/CODE]
    Little help and thanks in advance!

    Basically, you need to determine which button is the selected
    one and reset it when a new button is selected, but before you
    assign that newly selected button as being selected. See if you can
    devise something that both resets the button selected status to
    false and makes the textColor revert to the 0x999999 value.
    Because you named each textfield differently, I'm going to
    avoid trying to generate the code for you, that complicates it a
    bit.

  • Dynamic pagination using inputs from a Web Service data control

    I am in process of creating a pagination UI component , much similiar to the one used in Oracle forums eg: Pages: 100 [1 2 3 4 5 | Next ]
    I am making use of a Web Service to get the following details for my search results :
    a) Number of search result rows (100) ,
    b) total number of rows to be shown on one page (5)
    c) Total number of pages
    I am wondering how to create the pagination UI control in my ADF Faces page and How can I bind the web service data control to the pagination component for a simple dynamic navigation
    Please advice. I am new to ADF development, so looking inputs for approach to the above elucidated problem (Code not required)

    Yes I am using <af:commandLink > component
    <af:forEach
    var="list" items="#{NavBean.list}">
    <af:spacer width="5" height="10" id="s1"/>
    <af:panelGroupLayout id="pgl2" layout="horizontal"
    halign="center"
    inlineStyle="#{list.found ? 'background-color:#aeccd8;' : 'background-color:white;'} text-align:center; width:15px; ">
    <af:commandLink text="#{list.character}" id="cl1"
    partialSubmit="true"
    disabled="#{list.found ? false : true}"
    actionListener="#{NavBean.onIndexSelected}">
    <f:attribute name="indxKey" value="#{list.character}"/>
    </af:commandLink>
    </af:panelGroupLayout>
    </af:forEach>
    I have created a NavBean managed bean with some methods and foll set of instance variable:
    List<IndexCharacterObject> list = null;
    int startRow;
    int endRow;
    int pageNumber;
    int numPages;
    int totalRows;
    I want these variables in the Managed bean class to be automatically populated from the Web Service data control .. Not sure how to go about binding these values ?

  • Navigation to new sceen through button click in as2

    Hi ,
    I need help in Navigation to new sceen through button click in as2
    thanks

    Then use the gotoAndStop() or gotoAndPlay() functions.  IF you are using scenes you might have some problems.  Scenes have always been problematic when it comes to working with Actionscript.  You are better off creating your scenes as movieclips or as sections along one scene's timeline.

  • Considering navigating away from DEs. Advice needed.

    I got a new netbook (an Asus 1001p) which I am taking with me while I go travelling throughout Europe this spring.  There is one problem, I absolutely hate the netbook interfaces for both KDE and GNOME. I also find them sluggish.  Consequently, I am thinking about switching to some sort of WM based setup, possibly a tiling one as my experience with KDE4 on my main computer has shown me that I prefer to do most of my window management via the keyboard.  But before I begin working on my setup for my new netbook I need some advice.
    Firstly, what do you non-DE people use for power management?  I really like all the options that power management system for KDE provides (i.e. specific power profiles and such).  Is there a program not associated with a DE that I can use to accomplish this?
    Secondly, what tiling window manager is easiest to setup and use?  I am considering going for wmii, as I like that it can be switched between tiling, floating, and dynamic tiling.  It also doesn't require the use of LUA to configure it like awesome does, which is good because I am not a programmer (I've always struggled a little bit with computer science).  Also, I only have about a week to get the setup up and running, as I refuse to spend my vacation reading documentation.
    Thirdly, should I just abandon the idea of using a tiling WM and go for fluxbox, or use a lightweight DE like xfce?
    How do you advise I proceed?
    Thanks!

    I am using Musca as my WM on an Eee PC 1005hab, it is very simple, no more options that neccesary, and nothing done automatically for you. I have customized my keybindings for it and my main browser (uzbl) to make all my window management actions sensible in their layout.
    I haven't felt the need to use any power management apps yet, I just us sudo pm-suspend when i want to suspend, but my netbook stays plugged in next to my bed all night, and rarely sits around long enough to need anything like auto-suspend or anything. I haven't really installed any applications that do things for me automatically, I don't even start many daemons at start-up, I connect my wifi manually everytime. I am liking the DIY approach.
    I would reccomend Musca only if you want to manage every window action. It is much easier for me to understand than a dynamic tiling system, but also takes a bit more effort.

  • AS2 XML Flash Navigation

    Hello All,
    I have been creating a dynamic Flash Navigation based on a tutorial I found online.
    I'm having issues aligning the MovieClip house all the array names from My XML file.
    I'm using:
    var yPosition:Number = 118;
    var xPosition:Number = 250;
    to align the Movie Clip. For some reason I can adjust the yPosition but I cant get the xPosition to move my MovieClip at all. >:(
    Any helpful hints would be greatly appreciated.
    Cheers-
    Graeme

    Heres the code I'm using:
    //Store Button Position
    var yPosition:Number = 118;
    var xPosition:Number = 250;
    //Declare New XML Object
    var myXML:XML = new XML();
    //Set Flash to ignore the XML file's white space
    myXML.ignoreWhite = true;
    //Declare new Array to store the links from the XML file
    var links:Array = new Array();
    //Declare new Array to store the names from the XML file
    var names:Array = new Array();
    //Set XML onLoad function
    myXML.onLoad = function(){
        //Set varible to store the XML childNodes
        //This allows you to get the number of buttons in the XML file.
        //You'll use this tell flash how many times to loop the for loop.
        var linkname:Array = this.firstChild.childNodes;
        //Set a for loop
        for(i=0;i<linkname.length;i++){
            //Push the button name into the names Array
            names.push(linkname[i].attributes.NAME);
            //Push the button link into the links Array
            links.push(linkname[i].attributes.LINK);
            //Attach the button Movie Clip from the libray give it an instance name and place it on the next highest level
            _root.attachMovie("button","btn"+i,_root.getNextHighestDepth());
            //Set the y position of the buttons
            _root["btn"+i]._y = yPosition;
            //Increace the varible yPosition 15 pixel each time the loop runs to place each button under each other
            yPosition = yPosition+25;
            //Place the button name from names Array into the blackTxt text box
            _root["btn"+(i)].blackTxt.Txt.text = (names[i]);
            //Place the button name from names Array into the whiteTxt text box
            _root["btn"+(i)].whiteTxt.Txt.text = (names[i]);
            //Assign the btnOver function to the button onRollOver state.
            _root["btn"+(i)].onRollOver = btnOver;
            //Assign the btnOut function to the button onRollOut state.
            _root["btn"+(i)].onRollOut = btnOut;
            //Assign the btnRelease function to the button onRelease state.
            _root["btn"+(i)].onRelease = btnRelease;
    //Load the XML file
    myXML.load("links.xml");
    //Button Over function
    function btnOver(){
        //This referse to the current button the mouse is over
        //Go To And Stop frame 2 of the current button the mouse is over
        this.gotoAndStop(2);
    //Button Out function
    function btnOut(){
        //Go To And Stop frame 3 of the current button the mouse rolls out from
        this.gotoAndStop(3);
    //Button Release function
    function btnRelease(){
        //Set a varible named currentBtn equal to the instance name of the current button the mouse clicked on
        var currentBtn:String = this._name;
        //Set a varible named currentIndex equal to the varible currentBtn and the characters between 3rd letter and 5th of that string.
        //This will return a number between 0 and the total number of buttons
        var currentIndex:String = currentBtn.substring(3,5);
        //Get the URL from the links Array
        //Use the currentIndex varible as the index number
        getURL(links[currentIndex]);

  • Advice on Navigation Car Kits

    Hi All,
    i'd like to hear from you that have seen or used both the Magellan & TomTom Car Kits Please.
    Are they much the same or is one far better unit than the other?
    I guess all i'd like it to do is be able to charge the battery, have a good speaker & good GPS signal.
    I can't really think of any other feature i may need? never having a GPS before
    The iTunes App that'll be used i have yet to buy but i'm guessing it'll be the MetroView Australia
    it seems good value at $25:00, the TomTom is at $80: the Navigon is at $90: ATM.
    So the MVA is a no brainer if u live in the land of Oz that is.

    I've owned the Magellan kit and played with the TomTom kit and the TomTom kit is definitely superior. My biggest complaint with the Magellan was the built in speaker didn't shut off automatically when you had the cradle connected to an aux jack. You had to turn the sound down on the speaker with a very tiny dial on the side of the unit. The TomTom is a much more intelligent unit in this regard.
    I also didn't like the fact that on the Magellan the button to answer the speakerphone was on the backside of the unit and was difficult to locate when you were driving which pretty much negated the advantages of "hands free" for your car. A plus for the Magellan though is that if you have a case on your phone it is adjustable to fit. It's pretty clever the way they handle that. The TomTom kit is designed for a bare phone. The hands free on the TomTom kit works via bluetooth and is definitely better quality.
    You don't mention if you have a 3 series or 4 series phone. If you have an iPhone 4 you'll have a problem with the TomTom but I believe they just released a (free?) adaptor for it that will work with the new phone. Other folks on the web had also come up with their own fixes for that as well. The TomTom comes with a windshield mount but I believe ProClip is selling a custom TomTom kit with a standard 4 hole mount plate in case you already have a mounting system in your vehicle. www.proclipusa.com for info.
    Personally, I don't think either one is a necessary solution. The GPS in my iPhone 3GS was good enough on its own and the GPS in my iPhone4 is excellent. I'm using a Blueant S4 hands free unit on the visor which is working perfectly and is 100% hands free with total voice command operation with a 3GS or 4. I went with an adjustable Cradle from ProClip for my iPhone 4 that has a passthrough connector and I've attached a cable to the cradle that includes a USB charger plugged into a lighter socket adaptor and a stereo connector plugged into the aux jack on my car stereo. Incoming calls automatically shut down the sound to the radio and route the call out to the bluetooth. The Blueant S4 supports A2DP audio over bluetooth so you can hear your turn-by-turn GPS commands via the Blueant or over the car stereo via Aux input in my case.
    Hope that helps you out!
    James
    P.S. The iphone dock cable that gives you usb and audio out via mini-din jack can be found on ebay.

  • AS3 issue embedding AS2 .swf files

    Hi there,
    I'm attempting to create a menu navigation system with Flash/AS3 that opens up a series of older AS2 activities.
    At the moment I'm testing it with two buttons/two activities.
    The problem I'm having is that when I'm testing the navigation, the first button clicked will open its respective activity correctly, which can then be shut down using the original activity's exit button, and return to the two buttons on my AS3 menu. However, if I then select the other activity from the same screen, it won't load. I'm able to click the original activity again, and have it open, but not the new one.
    If I test the main flash navigation file again and click the other button first (that wasn't working), the other activity opens fine, and can be closed down. However the first button now won't open the activity. So both the buttons work (if they're the first ones clicked), but from then on, only the first button clicked works.
    In the debug panel, it looks as if the AS2 .swf files that I'm attempting to embed are themselves embedding a wrapper.swf file (with navigation buttons) as well as another sub set of shared .swf files for their own operation. Might it possible that these sub swf files aren't being unloaded properly when I switch between the main AS2 movies from my menu system?
    Is there a way to clear/unload everything that's been loaded (even resources loaded by the external files themselves - like a hard reset) between button presses?
    I have no access to the original AS2 code as this was done by another team years back.
    I'd be really grateful for any help or advice that anyone might be able to give.
    Thanks

    Just looking at the debugging panel, this is what I see when I try and run the program:
    Attempting to launch and connect to Player using URL /*****/*****/****.swf
    [SWF] Volumes:Data:Documents:*****:****:****:*****.swf - 876582 bytes after decompression
    [SWF] Volumes:Data:Documents:*****:****:****:*****:F11_pr_qu_3:quiz.swf - 176016 bytes after decompression
    LocateFolders.enginesFolder(file:///*****/****/****/*****/F11_pr_qu_3/quiz.swf)
    [SWF] Volumes:Data:Documents:*****:****:****:*****:F11_pr_qu_3:wrapper.swf - 481279 bytes after decompression
    ### Latest wrapper ###
    etc etc...
    Then follows a whole set of loading instructions and trace instructions put in the as2 swf which show XML files being loaded and the program launching. These must have been put in place by the previous programmer.
    When I click the exit button on the 'embedded' swf, the debugging panel shows things shutting down:
    ActivityToolbar clickQuit()
    Wrapper quitActivity()
    EndGame clear(false)
    Now when I click the second button, I should see a similar set of launching greetings etc. instead it bottles out at the following:
    [SWF] Volumes:Data:Documents:*****:****:****:*****:F11_wb_fc_1:flashcards.swf - 94720 bytes after decompression
    LocateFolders.enginesFolder(file:///file:///*****/****/****/*****/F11_wb_fc_1/flashcards.s wf)
    And there it stops.
    If I restarted the program and pressed the second button first, it would show the flashcards.swf activity loading correctly, but would then refuse to load the first activity when I clicked on the button.

  • PDF Portfolio SDK setup - Navigator project wizard in Flex Builder 4.6 does not show

    Hello, Experts
    I am trying to build PDF Custom Navigator using Adobe PDF Portfolio SDK; however, for some reason, when performing step 3 of installation, Navigator project wizard in Flex Builder  (  4.6 ) would not show;
    The plugins have been extracted to:
    C:\Program Files\Adobe\Adobe Flash Builder 4.6\eclipse\plugins
    The NavigatorSupport folder has been extracted to:
    C:\Program Files\Adobe\Adobe Flash Builder 4.6\eclipse and ( just in case ) to
    C:\Program Files\Adobe\Adobe Flash Builder 4.6\
    any advice would be greatly appreciated
    Best Regards,
    -Alex

    as per Joel's recommendation, used 4.5 instead - that worked just fine

  • Free characteristics Functioanlity is not working please advice

    HI
    I got an problem in the report with the multiprovider ZCOPA_M01
    If I open the report for this multiprovider and there are 2 default characteristics displayed in the query and after removing the drill down for those two characteristics and Now IF I go to Free characteristics and do an drill down on one of the characteristic (for example: Geographical Type)and place an filter on the Geographical Region  (Geographical region is also an free characteristic) now I find no values in the set filter screen.
    But when I again remove the drill down on Geographical type and do an drill down on geographical region and set an filter on geographical region then you can see all the values...(In filter screen)
    Can any one please advice me for the same. How to get values in the filter screen for this report with the Multiprovider ZCOPA_M01
    Thanks in advance and will be rewarded with good points...

    Hi,
    Go to the definition of a Master Data Object. In its Attributes tab, there is a column of navigation on/off. There you can either swith on or off the attribute as a navigational attribute. After converting into navigational attribute, you can see the type column is changes to "NAV" from "DIS".
    Hope this helps.
    Regards,
    Yogesh.
    Edited by: Yogesh Kulkarni on May 27, 2008 4:14 PM

Maybe you are looking for