I want to learn AS3 compared to AS2 starting with a getURL btn

Hello

I tried a free online tutorial and my tutor was as usual a little incoherent!

So with that I hope that a forum based with out learning - curve her head banging.

Which equals this btn getURL btn AS2 function please?

{We (Release)}
getURL ("mainFrame1.html", "mainFrame");
}

It's just a script that I use for Dreamweaver frameset. I know from the tutorial AS2 AS3 equivalent will be longer and probably assigned to the frame on the btn's and not the btn.

So I leave this place tender of the statement in the hope of sober enlightenment.

Sabby76

Don't raise your hopes on what is a place of education.  It is more a place to get help to fix issues where you can view the code that is troubling you.  That said, there are some things that come back often enough to justify a small copy and paste...

Assume that you create a button symbol.  Since this is a button, it is already a car animation object that will react to mouse interactions, but only visually at this stage.  The first thing you need to do to make it useful down must assign a unique instance name.  If you drag a copy of it on the stage of the library, and while it is still selected, enter you this unique instance for her name in the Panel properties... say you name "btn1.

In AS3, to make a button with the code, you must add a listener of events and event handler for it function.  You may need to add a little (for different events, like reversal, deployment, by clicking on it, but for now let's just say you want to be able to click them to get a web page.)  In the scenario that contains this button, a layer of separate actions that you create in a similar framework where this button exists, numbered, you must add the event listener:

Btn1.addEventListener (MouseEvent.CLICK, btn1Click);

The name of the unique function for the treatment, the click of this button is specified at the end of the assignment of event listener, so now you just have to write this function:

function btn1Click(evt:MouseEvent):void {}

var url: String = "http://www.awebsite.com/awebpage.html";

var req:URLRequest = new URLRequest (url);

navigateToURL (req);

}

Tags: Adobe Animate

Similar Questions

  • Want to learn some AE, where to start?

    Hello

    I am new to AE (with the exception of some specific functions such as image stabilization and adjustment of colors) and I would like to invest many hours learning how to use professionally in all of its features.

    Where to start? Adobe TV? Lynda.com?

    Thank you

    Start here learn After Effects:

    http://Adobe.LY/AE_basics

  • I want to do a project of AS2 AS3

    I'm working on a file flash with AS 1 & 2, with many layers and library items. I want to do an AS3 project. How should I go about this?

    First of all, change as a large part of the code that you can to be code AS3. Then, change your settings for publication of AS3. Then, run the file and them fix all errors that occur... the first list of errors is not likely all of them. Errors are often expressed in the stadiums... is fixed, another is detected.

    Another option is to start from scratch. Maybe it's better if you have no familiarity with AS3 - you will learn about it in the process. You can gradually build and test as go you, rather than starting with a potential herd of issues relating to the code.

  • Book to learn AS3

    Could someone tell me the book that teaches you ActionScript 3 for Adobe Flash CS5?


    Is it the one- http://www.adobepress.com/Bookstore/product.asp?ISBN=0321704479


    I also want to learn AS1 and AS2...


    Thank you

    Dylan

    Hello.

    If this book is good or not all depends on your personal data

    taste.

    Some like the books crammed with small examples followed by a

    short and to the point explanation.

    Some goes for books, which takes you through the entire process

    to build a single project.

    Try to search using amazon.com: for example: "Flash Actionscript 3.

    Many books has ratings and reviews...

    I also want to learn AS1 and AS2...

    We all don't?. Do not overload you guy.

    There is a fine line between "fun and exciting" and "donkey and mind-numbing work '...

    Good luck and have fun.

    Best regards

    Peter

  • I want to learn to make applications for iOs. Where should I start?

    Hello. I want to learn to make applications for iOs. Where should I start?

    The following may help: https://developer.apple.com/library/ios/referencelibrary/GettingStarted/Developi OSAppsSwift /

  • Want to learn the basic Groovy script

    Want to learn how Groovy script of all reference documents database

    You might find many documents, some of them for you

    http://docs.Oracle.com/CD/E23943_01/integrate.1111/e12643/appendix_c.htm#ODIDG1443

    http://www.Ateam-Oracle.com/getting-groovy-with-ODI-upgrades-and-OWB-migrations/

    https://Java.NET/projects/oracledi/pages/ODISDKSamples/text

    Kind regards

    Deker P.

  • I want to learn Photoshop for t-shirt art... doesn't know ANYTHING!... And Adobe open a new tab, all clicks (I'm on a SurfacePro3 Ms... Help!

    I want to learn Photoshop for t-shirt art... doesn't know ANYTHING!... And Adobe open a new tab, all clicks (I'm on a SurfacePro3 Ms... HEL

    Why am I being asked to redeclare my problems?

    Photoshop is a professional application, so be prepared for a steep learning curve (or use a simpler application).

    Try the video tutorials online include an issue dedicated to TrainSimple.com or Lynda.com Photoshop (you can get a free 10 day trial).

    There are also a few books of excellent training, such as Photoshop's quick start Guides.

  • How can I get rid of him?  Have long subscription to Acrobat Pro DC, all of a sudden whenever I open a PDF from the Web, it opens in the player, which is useless; I don't want to learn a new system.  Previoius unilateral of the player installation, open a

    How can I get rid of him?  Have long subscription to Acrobat Pro DC, all of a sudden whenever I open a PDF from the Web, it opens in the player, which is useless; I don't want to learn a new system.  Previoius unilateral install drive, open a PDF file in Acrobat, and I treat here.  Thus, the reader is disturbing and needs to go. HOW?

    Here is a link that addresses disabling reader: display PDF in browser Adobe Acrobat DC, Acrobat Reader DC

    Let us know if it works for you.

    RonB

  • I want to learn vmware thorugh self study, kindly suggest me a pc config

    Hi all I am new to vmware and want to learn how to get certified

    So I want to create a test server for learning so kiindly suggest me configuration

    Check out of it:

    http://boerlowie.WordPress.com/2011/11/30/building-the-ultimate-vSphere-lab-part-1-the-story/

    really amazing and well help you through if you're new, I used it to build my lab and I passed the exam, 4 months ago, I always use the lab to test things before I do in production.

  • I want to learn how webcenter

    I want to learn Oracle WebCenter.

    Please guide me.

    I have 11g (11.1.2.3.0) installed jdeveloper.

    Thank you

    Dilip

    Have what you done so far?

    There are classes of Oracle University who are very good.

    There are many blogs out there that are very good.

    There is the homepage for Oracle.com WebCenter that contains documentation, software and community links. It is also very good.

    There are many resources available to start to learn, but you must take the first step and read. Read blogs, read the forums, but above all, read the documentation. At least the summary and the table of contents to see where the information is. When you answer a question, to employment. It is, there's a procedure step by step are to be followed.

    Here is a quick start:

    Sound clips SENA: WebCenter content - plan of course 101

    -ryan

  • I want to learn SOA.

    Hello

    I want to learn SOA please guide me.

    Let me know below things

    1. where to go.
    2. the time are there any training available online or on the sites of oracle.

    Please do not discourage I start let me know where to start from.

    Hello

    This can be your starting point...
    http://docs.Oracle.com/CD/E23943_01/index.htm

    Read the "Get started" and then navigate and install the product... See the developer's guide and try a few samples...

    I hope this helps...

    See you soon,.
    Vlad

  • Want to learn the DPS.

    Mr President.

    I want to learn the Digital Publishing Suite. Is there any Institute coching or training in delhi in India?

    Hi Vimleshky

    A possibility, if you don't mind the training online is a new training course of DPS of our own Bob Levine on Lynda.com:

    -Essential-training/149122-2.html?srchtrk=index%3A1%0alinktypeid%3A2%0AQ%3aBob+Levine+%0ap http://www.lynda.com/SDK/Digital-Publishing-Suite-Tutorials/Adobe-Digital-Publishing-Suite age 3% has 1% 0as % 3arelevance % 0asa % 3atrue % 0aproducttypeid % 3A2

    Please note, there is a separate Adobe for DPS Forum.

    Derek

  • Newbie need help to start to learn AS3, help please. ?

    I am very interested to learn action script 3. so please can someone help me

    to start with an excellent material or something you think.

    Thank you.

    Try this site: http://active.tutsplus.com/tag/basix/ it would be a good start for Flash with AS3. The site has also other tutorials for intermediate and advanced levels.

  • [Help] I want to learn Sessions

    Hello

    I want to learn more about the session.

    I want to know how to show a "heelo $user" what user login

    and display or hide things depend on the access level of the user.

    Can someone tell me where to start please?

    Thank you...

    See also this description in the Dreamweaver FAQ.

  • I want to learn three things

    Hello

    I want to learn the following three things

    * 1. V.3.0.1 APEX to v3.2.0 patch *.

    v.3.0.1 has been installed on the server of my team.
    But I'm not in a position at this level to v3.2.0 despite many docs and tips.
    Saved the file zip v3.2.0 in the server, I don't know how to unzip and replace the current v3.0.1.
    Would appreciate if you can teach me step by step.

    * 2. Creating a space of storage dedicated for APEX development engagement

    By default, the database uses SYSAUX tablespace.
    Would appreciate if you can teach me how to create a tablespace that is dedicated for APEX.

    * 3. Save my APEX application such as Oracle Partner program *.

    It comes to leave Oracle employees log in my application via Oracle SSO.
    Would appreciate your advice step by step.

    Thank you
    Guy

    Hello

    1. the v.3.0.1 APEX to v3.2.0 upgrade

    It's covered in the installation guide (which includes a section on the upgrade), you can read it here.

    http://download.Oracle.com/docs/CD/E14373_01/install.32/e13366/overview.htm#CEGEFBFI

    I don't want to seem shocking, but given your two comments-

    v.3.0.1 has been installed on the server of my team.

    and

    I have saved the zip v3.2.0 file in the server, but do not know how to unzip

    Decompression of the files is quite a basic operation of these days, you're absolutely sure that you want to update yourself (which while it's pretty easy is even more complex than the decompression of a file). If it was your own server I would say "go ahead", however since you mentioned that it is your server team is there anyone else on your team who can help you in the task?

    2. create a tablespace that is dedicated to the development of the APEX.

    It would be something that your DBA can do for you.

    3. save my APEX application such as Oracle Partner program

    Take a look at the Howto SSO, available here-

    http://www.Oracle.com/technology/products/database/application_express/HOWTOs/sso_partner_app.html

    Hope this helps,

    John.
    --------------------------------------------
    Blog: http://jes.blogs.shellprompt.net
    Work: http://www.apex-evangelists.com
    Author of Pro Application Express: http://tinyurl.com/3gu7cd
    AWARDS: Don't forget to mark correct or useful posts on the forum, not only for my answers, but for everyone!

Maybe you are looking for

  • Toshiba PA2487U RG battery problem

    I have a laptop satellite that uses battery PA2487U RG. I bought it used for a long time with a dead battery. It was really good and I'm very happy with it. However, I was given a good so-called battery for it. The battery has always says loading and

  • We are sorry internal error?

    Just when I'm all for work. Now, I can not connect my web data. I get a screen "we're sorry". (See the image) Please fix this! Thank you fxrunner

  • Isass.exe - bad Image

    When I start my computer, this error pops up with a black screen- "The application or DLL C:\WINDOWS\system32DNSAPI.dll is not a valid Windows image. Please check this against your installation diskette. » What should I do? I tried to press F8 and bo

  • What is the best way to restore the operating system to Windows XP?

    I don't have a restore cd. I have a corup large files in the Window XP operating system & restore point fail & did not save at all. I may have to save all the files & nuke all over again, but not CD of resettlement to the SOS HDD. Thank you

  • How can I restore color of black and white in the solitaire game

    When you open the solitaire game a reason that the display is only in black and white.  How can I return the color?