button click

Posted on 2006-04-12
Last Modified: 2010-04-03
i make button (bb1) when mouse over change as u can see in flash

but now how i can make when mouse over in button (button1) make event as mouse over in (bb1)

Question by:newnewmommon
    LVL 34

    Expert Comment

    by:Aneesh Chopra
    click on bb1

    press F9 to open action panel

    write the following code here..
    on (rollOver) {
          trace("rollover on bb1");

    now press CTRL+ENTER to test it

    LVL 34

    Accepted Solution

    similar as rollover you can write all the following events here.

    on (rollOver) {
         trace("rollover on bb1");

    on (rollOut) {
         trace("rollout from bb1");
    on (press) {
         trace("pressed bb1");
    on (release) {
         trace("release on bb1");
    on (releaseOutside) {
         trace("releaseoutside on bb1");


    Author Comment

    how can make if i click in button1 make the functionality to button2

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Sometimes you know that one object has a specific child in it, but you can't find the child. This happened to me when I was trying to code some actionScript to make a toolbar work with its embedded buttons.  My partner had created the toolbar usi…
    I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
    The goal of the tutorial is to teach the user how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…
    The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    9 Experts available now in Live!

    Get 1:1 Help Now