How make menu button with unrolling thumbnails in as 3.0??

Hello
I need help with doing a menu with unrolling and rolling up buttons with thumbnails;  now I have someting like that (attachments) this was made by as 2.0 but I need help with changing this on as 3.0.
if samobody have some ideas how can I do this or somting similar using as 3.0 I will be grateful

The only way to convert it to AS3 is to go thru it and replace the code as needed.  While some code may not have to change, quite a bit of it will.  Your best bet for getting thru it is to build it up from scratch one object at a time and get each coded as you go.  Otherwise you will be overwhelmed with error messages.  Here's a few pointers.
All code is AS3 has to be placed on the timeline.  You cannot place code "on()" objects.  So each object needs an instance name.
Any interaction or event handling such as mouse controls and file loading involve event listener/event handler pairs.  So you will want to start with looking into the addEventListener() method, which is pretty much used globally for any/all event processing.
When it comes to loading external swf files, you want to use the Loader class.
To determinine how to make the code work, I recommend using a practice file.  A file that you can implement one codig sequence in at a time just to determine what works.
Converting this to AS3 will be a good exercise for you on the road to learning it.  When I wanted to start learning AS3 that's pretty much what I did, though with the sole purpose of the learning as my goal.  I took a fairly complicated menu design that I had created first in AS2, and then rebuilt it from the ground up using AS3.

Similar Messages

  • How make menu button with unrolling and rolling up thumbnails

    Hello
    I need help with doing a menu with unrolling and rolling up buttons woth thumbnails;  now I have this made by as 2.0 but I need help with changing this on as 3.0. or if samobody have some ideas how can I do this using as 3.0 I will be grateful

    The only way to convert it to AS3 is to go thru it and replace the code as needed.  While some code may not have to change, quite a bit of it will.  Your best bet for getting thru it is to build it up from scratch one object at a time and get each coded as you go.  Otherwise you will be overwhelmed with error messages.  Here's a few pointers.
    All code is AS3 has to be placed on the timeline.  You cannot place code "on()" objects.  So each object needs an instance name.
    Any interaction or event handling such as mouse controls and file loading involve event listener/event handler pairs.  So you will want to start with looking into the addEventListener() method, which is pretty much used globally for any/all event processing.
    When it comes to loading external swf files, you want to use the Loader class.
    To determinine how to make the code work, I recommend using a practice file.  A file that you can implement one codig sequence in at a time just to determine what works.
    Converting this to AS3 will be a good exercise for you on the road to learning it.  When I wanted to start learning AS3 that's pretty much what I did, though with the sole purpose of the learning as my goal.  I took a fairly complicated menu design that I had created first in AS2, and then rebuilt it from the ground up using AS3.

  • Is it possible to make a button with multiple paths?

    Hello and good day Everyone
    I want to make a flash game with a map leading to various places for example school or beach like this http://www.yotreat.com/sites/default/files/190-160_1286.jpg
    if the player goes to the school she will find the teacher, and if the player goes to the beach se will find the coach.
    How can I make the player (for example) talks to the teacher at school, returns to the main map, and goes to the beach to talk with the coach, yet if she goes to the school again, the dialogue with the teacher won't be the same with first dialogue?
    =>>> Is it possible to make a button with different paths to go? As if you've watched frame A, then you push the same button again it will take you to frame B??? <<<=
    Sorry for my confusing description... I hope you get the idea >,<
    Im so desperate... I've been searching for articles about this since yesterday and I still can't find one to solve this problem of mine.
    Making games is my dream... I've made some very simple games, but I want to try a new level of difficulty
    Please help me? (>o<

    Thank you for the advice, sir Ned Murphy!
    Yes, I try to use variables now, but face another problem with it... would you please tell me what's wrong with my script?
    Here, in label: "School" I type:
    on (release) {
    if (point = 0){
    gotoAndStop("dialogue1");
    else if (point = 10){
    gotoAndStop("dialogue2");
    else {
    gotoAndStop("dialogue3");
    (it's only a testing, so I only use these 4 labels)
    and in label: "dialogue1", "dialogue2",and "dialogue3" I type:
    on (release) {point += 10;}
    on (release) {
    _root.gotoAndStop("school");
    The result when I test movie:
    1. At "School" (shows point=0), I click the button,
    2. then occurs "dialogue2" (shows point=10), I click the button,
    3. then back at "school" (shows point=20), I click the button,
    4. then occurs "dialogue2" again (shows point=10)
    even the first shot is wrong
    point=0 should be the entrance to "dialogue1", but all I can get is "dialogue2"...
    Please tell me what's wrong with my script, sir Ned Murphy,
    Thank you very  much
    Regards,
    Tami

  • How make dynamic site with MUSE

    Howdy, i want ask how make dynamic site with muse, can it intergated with CMS like wordpress, joomla, drupal etc?
    Thanks,
    best regard,
    harles

    Hello Harles,
    The CMS functionality till now is only supported with Muse while using Business Catalyst as host.
    Please refer to forum posts : http://forums.adobe.com/message/4418294?tstart=0 and http://forums.adobe.com/message/4776241#4776241 .
    Hope this helps.
    Regards,
    Sachin

  • I just installed Lightroom 5. It will not open. I have clicked on the desktop icon as well as the start menu button with no results. What am I missing?

    I just installed Lightroom 5. It will not open. I have clicked on the desktop icon as well as the start menu button with no results. What am I missing?

    I had the same problem, and I believe it is caused by having the Creative Cloud application doing the updating of LR.  I "fixed" the problem by:
    1. Uninstall Lightroom
    2. Download the stand-alone LR 5.6 installer from Product updates
    3. Install LR 5.6 using the stand-alone installer, instead of using the Creative Cloud application.

  • How make a button inactive after the click ?

    Hi,
    how can i make a button inactive after i clik on it ? I need it becasue i have one button which play my symbol (made with this nice course https://blogs.adobe.com/edge/2012/07/18/tutorial-leveraging-independent-symbol-timelines/) but it's not working when the button is in the symbol where there is animation, it's only working when the buttons is a symbol on the stage and on the top of all over symbols, so when i clik on it works and play the symbol that i want but after is still active so i can't place another button at the exact same place of the first because it will play the first button and i need to put 20 buttons, anyone can help me please ? My buttons is just an empty rectangle so i don't talk about turn of the visibility but turn of th "activity"
    Thanks a lot

    If you prefer you can put the code in compositionReady
    Here is a sampe on how to use a next and prev buttons to change data.I have some other examples I will add later but this one could give you an idea on how to do it.
    This one uses data from an array and then moves through the info:
    https://app.box.com/s/78ya0labbydgwogxra2a
    If you are playing symbols then use the rigth scope to get to them.
    I would make a array of the symbol names and use it the same way like I did the array for the info.
    sym.getSymbol(mysymbolArray[i]).play();

  • How to menu buttons?

    I have a set of menu buttons made in flash ac3 (menu.swf). the menu buttons goes with menu.htm for example.
    I have another swf for example about us (about.swf). this swf goes with about.htm.
    the index.html loads the menu.swf and the main.swf.
    I hope some expert can point me in the right direction:
    Is it possible to make the ac3 code, able to, tell the menu.swf buttons when clicked (on the about button), to go to the about.htm but load the exact frame/label of the about.swf.
    in other words what i trying is, to make it more seo friendly. to have menu.swf to go to the exact content of another swf.
    thanks in advance.

    if a swf loads a htm file, the htm file will replace the swf or open in another browser window.  the swf embedded by that htm file can be directed to a particular frame by using a query string to open the htm file and pass the frame number or label you want the embedded swf to play.
    you'll need javascript in the loaded htm file to pass the url with the query string to flash where you'll parse it and extract the needed info or, you can parse the query string in javascript and pass the needed info to flash.
    to communicate between js and actionscript, use the externalinterface class.
    you'll need to use preloader-type code to ensure the needed frame number or label is loaded before executing a goto in your swf that's embedded by the loaded htm.

  • How make a button open a .swf file in a new window?

    How do I make a button open a swf file in a seperate window
    new window (like if i opened to swf file seperately)
    Anyone know ?

    well you can publish the the other FLA, which would give you
    an HTML file, upload that and the SWF then link to the SWFs' HTML
    page.

  • Rollover Menu buttons with audio

    I am trying to create a menu with Rollover Graphics for the highlights. So I have the buttons autoactivate to a duplicate menu with a different graphic button.
    (ex. Main menu button one color - auto activates to Main Menu button one black and white - hit enter - jump to track)
    I know it can be done with layered menus also.
    But here is the problem...
    I need an audio bed looping through the menu navigation, the problem with the duplicate menus is that the audio starts over everytime I go to a new button highlight. Is there really no way to have audio on a layered menu? Or is there a workaround to having audio without it restarting everytime I go to a new button (which is technically a new menu).
    Thanks

    As Ryan said - this is a limit of the spec.
    When you use a layer based menu in DVDSP you are actually creating a different menu for each layer in the file. This is pretty much the same as using auto-activating buttons and going from menu to menu...
    If you are playing a menu then the DVD player's laser is in a particular location on the disc. If you go to a different menu then the laser has to move to the new location. As it moves it cannot then be reading audio from a different location, so it is impossible to play continuous audio. You might well have noticed that no DVD you have ever played has been able to give you continuous audio across different menus for exactly this reason.

  • Make a button with an icon

    Hi all.
    I have a new problem. I want to make a button as an icon e.g. when I push a button to open a file I want to display the button with the icon.
    I'm on devsuite 10g.
    Can someone tell me which are the steps to follow to do this???
    Thank,
    Fabrizio

    I have restarted the form builder and the http
    listener but I don't see the icon on my button.
    Here is the value of my
    UI_ICON_EXTENSION
    .gif;.jpg;.ico;.GIF;.JPG;.ICO
    And this is the value of my
    UI_ICON
    c:\oracle\devsuite10g\reports\plugins\resource;
    C:\ORACLE\devsuite10g\cgenf61\ADMIN\ICONS\PC;
    c:\oracle\devsuite10g\forms\java\icone.jar
    Fabrizioyou cause a Vertigo for your Forms Builder :-)
    Try to specify only one extension, .ico in Forms Builder are more accurate in size. Try it.
    Tony

  • How make custom window with flex 3 ?

    Recently version, I was maked custom window by used
    <mx:Application> instead of <mx:WindowedApplication>
    but <mx:Application> script does not work in flex 3
    beta 3 ...
    when I changed WindowedApplication to Application. design
    view was black out ..
    ofcourse, I changed systemchrome and transperate tag in
    app-xml .
    how make custom window ?
    sorry for my poor english ...

    Have you tried changing your root tag to WindowedApplication?
    I think AIR may not support using Application as the root tag. Is
    there a reason you want to avoid WindowedApplication?
    - Peter

  • How to Create Buttons With some operation

    Hello friends How can create button so that when i click that button it should open another new window so that i can select some options in that new window and do some calculations.
    Kindly help me .
    byee

    Hi JN,
    I have created a Frame which has some checkboxes , a button and text field. when i check some checkboxes and press the Button (ie in my program Metrics level Button ) it should display the result as number of checkboxes that are checked divided by total number of chechboxes. ie if i check some 6 check boxes and press the Metrics level button it should display 6 divided by 12 ie 0.5 in the Result Textfield.
    I am sending the code i have written.
    Thanks in advance.
    public class Frame extends java.awt.Frame {
    /** Creates new form Frame */
    public Frame() {
    initComponents();
    setSize(800, 800);
    private void initComponents() {
    label1 = new java.awt.Label();
    checkbox1 = new java.awt.Checkbox();
    checkbox2 = new java.awt.Checkbox();
    checkbox3 = new java.awt.Checkbox();
    checkbox4 = new java.awt.Checkbox();
    checkbox5 = new java.awt.Checkbox();
    checkbox6 = new java.awt.Checkbox();
    checkbox7 = new java.awt.Checkbox();
    checkbox8 = new java.awt.Checkbox();
    checkbox9 = new java.awt.Checkbox();
    checkbox10 = new java.awt.Checkbox();
    checkbox11 = new java.awt.Checkbox();
    checkbox12 = new java.awt.Checkbox();
    button1 = new java.awt.Button();
    textField1 = new java.awt.TextField();
    setLayout(null);
    addWindowListener(new java.awt.event.WindowAdapter() {
    public void windowClosing(java.awt.event.WindowEvent evt) {
    exitForm(evt);
    label1.setText("Select the Metrics below");
    add(label1);
    label1.setBounds(320, 20, 136, 20);
    checkbox1.setLabel("Architecture Metrics");
    add(checkbox1);
    checkbox1.setBounds(240, 80, 84, 20);
    checkbox2.setLabel("Runtime Metrics");
    add(checkbox2);
    checkbox2.setBounds(240, 200, 115, 20);
    checkbox3.setLabel("Documentation Metrics");
    add(checkbox3);
    checkbox3.setBounds(240, 320, 152, 20);
    checkbox4.setLabel("Size");
    add(checkbox4);
    checkbox4.setBounds(280, 110, 49, 20);
    checkbox5.setLabel("Structure");
    add(checkbox5);
    checkbox5.setBounds(280, 130, 75, 20);
    checkbox6.setLabel("Complexity");
    add(checkbox6);
    checkbox6.setBounds(280, 150, 86, 20);
    checkbox7.setLabel("Size");
    add(checkbox7);
    checkbox7.setBounds(290, 230, 49, 20);
    checkbox8.setLabel("Structure");
    add(checkbox8);
    checkbox8.setBounds(290, 250, 75, 20);
    checkbox9.setLabel("Complexity");
    add(checkbox9);
    checkbox9.setBounds(290, 270, 86, 20);
    checkbox10.setLabel("Size");
    add(checkbox10);
    checkbox10.setBounds(300, 350, 49, 20);
    checkbox11.setLabel("Structure");
    add(checkbox11);
    checkbox11.setBounds(300, 370, 75, 20);
    checkbox12.setLabel("Complexity");
    add(checkbox12);
    checkbox12.setBounds(300, 390, 86, 20);
    button1.setLabel("Metrics level");
    add(button1);
    button1.setBounds(290, 470, 83, 24);
    textField1.setText("Result");
    textField1.setName("Result");
    add(textField1);
    textField1.setBounds(400, 470, 60, 20);
    pack();
    public void actionPerformed(ActionEvent e) {
    ****** I think code should be added here for the button pressed event*******
    /** Exit the Application */
    private void exitForm(java.awt.event.WindowEvent evt) {
    System.exit(0);
    * @param args the command line arguments
    public static void main(String args[]) {
    new Frame().show();
    // Variables declaration - do not modify
    private java.awt.Button button1;
    private java.awt.Checkbox checkbox1;
    private java.awt.Checkbox checkbox10;
    private java.awt.Checkbox checkbox11;
    private java.awt.Checkbox checkbox12;
    private java.awt.Checkbox checkbox2;
    private java.awt.Checkbox checkbox3;
    private java.awt.Checkbox checkbox4;
    private java.awt.Checkbox checkbox5;
    private java.awt.Checkbox checkbox6;
    private java.awt.Checkbox checkbox7;
    private java.awt.Checkbox checkbox8;
    private java.awt.Checkbox checkbox9;
    private java.awt.Label label1;
    private java.awt.TextField textField1;
    // End of variables declaration
    this is the output when i execute the program

  • How Make A button point me to other window in Gui with java

    hello .i try to make a program,i creat button it's name Next, i wanna when user press Next go To other Panel Or another Window .
    plz help me for this problem try to code me the function or somthing help

    Make each page a JPanel with a master JPanel (using a CardLayout) holding all the pages . Each page will then have a button for which the associated Action will be to move to the next page of the msater JPanel. See http://java.sun.com/docs/books/tutorial/uiswing/layout/card.html .

  • Trying to make a button with a drop zone

    Since I can't find any of the template buttons that look the way I want, I want to make a simple button that includes a drop zone for an asset, a label, and a highlight. I am trying to make a chapter index menu. I can do it using the automated method and using a customized template - but I cannot find buttons that look the way I want. All I want is a simple rectangle, with the label underneath, and a highlight line under the label. There is one like that in which the asset is black and white (RectRoundEdgesBlue.pox), but I want one that is in color. Is there any way to do this?? I have studied some of the Photoshop tutorials, but I am missing how you put a drop zone in.

    Hi,
    Below is the AS3 code to navigate to adobe.com upon button(whose instance name is 'myButton') click
    myButton.addEventListener(MouseEvent.CLICK, gotoPageFunction);
    function gotoPageFunction(event: MouseEvent) {
    var request:URLRequest = new URLRequest("http://www.adobe.com");
    navigateToURL(request, '_blank');
    Thanks!
    ps: please mark this post as Answered if this is of help to you

  • How to add buttons with links to different pages in my flash document?

    Hi I created a template for my flash animation which is a simple content box and a scroll bar beside it.. Anyway at the top I also have 3 pages (they are currently just part of the png background image so they are not buttons of any sort).. My question is how can I make links to these different pages so when clicked in the flash animation they will just open normally like they would in like a website..
    I am a flash beginner so I'm not too technical with it... I don't know if I would have to create 3 seperate documents for my 3 pages or something else?
    Thanks!

    Do you expect the loaded SWF to load "into" the SWF that contains the buttons or are you expecting it to overwrite the existing SWF you're already in (similar to a web page)?
    Loading a SWF inside is pretty straight forward, as long as the SWF is on the same domain or the domain you're loading from has a crossdomain.xml policy allowing it and the SWF is set to publish with the networking sandbox:
    import flash.display.Loader;
    import flash.net.URLRequest; 
    import flash.events.Event;
    var myLoader:Loader = new Loader();
    // listen for completion
    myLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, handleCompleteF);
    // usually add some IOErrorEvent or SecurityErrorEvent handlers here
    // button hook here
    myButtonInstanceName.addEventListener(MouseEvent.CLICK, loadPageF);
    function loadPageF(e:MouseEvent):void
         // try to load
         try
              myLoader.load(new URLRequest('another.swf'));
         catch (e:*)
              // catch any error, trace it to flash IDE for debugging
              trace("Error loading SWF: " + e);
    function handleCompleteF(e:Event):void
         // success, add to display list
         addChild(myLoader);
    Season to taste, like moving the position of the Loader object. The Loader will contain the SWF in the .content property (e.g. myLoader.content) and is a display object so you can just add it directly to the display list.
    If you add a second button you can re-use the myLoader to .load() a different SWF, just point it to a new function. You could re-use the same function but you'd need to detect the different buttons (possibly via the .name property). I presume you might want to do "different things" when different pages are loaded so I'm assuming you'd probably use a different function rather than make a huge reused branching function.
    More info on Loader with sample code here:
    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/Loader.ht ml#includeExamplesSummary

Maybe you are looking for

  • Dynamic select list with more than one value?

    I am creating a simple CRUD component for our company's Joomla site. This component allows our users to create discount bundles for our cart according to shopper group and products.  I've been using Dreamweaver to author the administrator forms and h

  • How to add a button by writing in Actionscript?

    I have a Flash Button. If I had drag this button from the Library to the Document then I know how to have a mouse event. I would write the event in the same Frame. But I don't want to drag it from the Library. I want to display this button by by usin

  • Satellite A505D Randomly Shuts off...help please

    hi, i recently baught a Toshiba satellite A505D....recently it has started shutting off randomly...the screen will go black and briefly display a blue screen that says that it is shutting off to protect something in the computer...does anyone know wh

  • Report Dataset NOT displaying Fields within Microsoft Visual Studio

    I have developed my Stored Procedure using two driven parameters. @ReportTypeName @YearParameter The @ReportTypeName is handled within an IF at the End of the Stored Procedure to produce the correct type of report..."New" or "Renewal" The @YearParame

  • I get an error when I try to index the 11th excel worksheet

    I tried to access the 11th worksheet in an Excel Workbook. I try to access it by using  invoke method. When I do, I use an index of 11. My error code is  -2147352 which is "Invalid Index."