How to create a Flash using AS2 interactive floor plan?

I try to do an interactive floor plan.  I'm sure I did it wrong, I'm new to Flash.  So far, I have pointed out the rooms I want to do the 'hot spots', turned them into buttons. Then I selected all the buttons and turns it into a clip called "mcbtns".  I then turned into a clip once again, named "mcbtninside"; It is where I have all my buttons that have instance names "btn1" House through "btn11.

The images which corrospond with floor plan rooms are housed in a clip named 'mcPhotos '.  On the timeline, photos are up to 10 images at a time, and time of Action Script above them line has names "img1" through "img11" frame, which corrospond with photos every 10 images.  Image 1 of the line AS has the code stop();

Now, let's go back to scene 1...

Setting of scene 1: 1 on the line of Action Script, I have the following script:

mcPhotos._visible = false;

this.mcbtns.onRollOver = function() {}

mcPhotos._visible = true;

};

this.mcbtns.onRollOut = function() {}

mcPhotos._visible = false;

};

Stop();

In box 1 on the line of Action Script in the "mcbtninside", I have the following script:

var frameNum:Number;

function photoChange() {}

_root.photos.gotoAndPlay ("img" + frameNum);

}

Btn1.onRollOver = function() {}

frameNum = 1;

photoChange():

}

btn2.onRollOver = function() {}

frameNum = 2;

photoChange():

}

The code continues through btn11.

So I don't know that I've gone wrong in many places.  If anyone could lead me in the right direction, I'd be very happy.

Take all of the interactive code off the movieclip mcbtns and even get rid of that clip if it is used for any other purpose than to collect all the rooms.  Assign the code to make pictures appear / disappear in all rooms... (which is shown below assumes that mcbtns went and the rooms are on the same timeline as the mc of photos)

Btn1.onRollOver = function() {}

frameNum = 1;

photoChange():

mcPhotos._visible = true;

}

btn2.onRollOver = function() {}

frameNum = 2;

photoChange():

mcPhotos._visible = true;

}

Btn1.onRollOut = btn2.onRollOut = function() {}

mcPhotos._visible = false;

}

If you keep the mcbtns movieclip, button your code would have to use a _parent reference to target the mcPhotos... _parent, mcPhotos.visible is etc... in fact, I don't know where things are located so I hope you can understand the correct targeting in this aspect.

Tags: Adobe Animate

Similar Questions

  • How to create IT strategy using the BES administrator API

    Hi all

    Can tell me, how to create IT strategy using the BES administrator API.

    Please provide me with the code example.

    Thanks in advance.

    Kind regards

    Sampath

    Hi Sebastian,.

    The Administration of BlackBerry API does not support the creation of it political. This feature is currently with the development of control and review for a future version of the BlackBerry Web Services for the Administration of the company.

    Kind regards

  • How to create screen saver using the java bean

    Hi all

    can someone knows how to create screen saver using java beans?

    Thanks in advance.
    Sarah

    It is a strange requirement, but you can go

    A TIME-NEW-FORM-INSTANCE:

    DECLARE timer_id Timer;
     one_minute NUMBER(5) := 60000;
    BEGIN
     timer_id := CREATE_TIMER('chnage_color', one_minute, REPEAT);
    END; 
    

    WHEN-TIMER-EXPIRED:

    DECLARE
         RandomR NUMBER(10):=dbms_random.value(1,256);
         RandomG NUMBER(10):=dbms_random.value(1,256);
         RandomB NUMBER(10):=dbms_random.value(1,256);
    BEGIN
    
     SET_CANVAS_PROPERTY('CANVAS2',BACKGROUND_COLOR, 'R'||RandomR||'G'||RandomG||'B'||RandomB);
    END; 
    
  • How to create bootable flash disc of original recovery media?

    Hi guys,.

    I need to create bootable flash disc of original support of recovery for Satellite A200 - 1 M 4, because my DVD - RW is not able to read the DVD, and I have to reinstall the OS. In fact, I made Flash bootable drive and I copied the contents of the DVD. PC starts, but it stops because it is looking for drive E: (DVD - RW). Is it possible to fix it somehow?

    Hey Pedi

    AFAIK, you can create bootable flash drive using Toshiba recovery image files.
    This can be done on the new NB series original creator Toshiba Recovery tool.

    Satellite A200 is old laptop model and you can find the new drive to optical disc on eBay and it's not expensive. Share the STRANGE and everything will be OK again.

  • How to create a flash disk drive with XP pro & SPs on

    I have my copy of Win XP pro without service pack. Can I create a flash drive to include my XP pro & downloaded SP is to be used as the operating system for my new computer?

    You cannot install Windows XP on a USB key, but you can do a XP SP3 slipstreamed installation CD. You can use this CD to install Windows XP on an internal hard drive.

    Slipstream SP3 of XP installation disc:
    http://Lifehacker.com/386526/slipstream-Service-Pack-3-into-your-Windows-XP-installation-CD

  • How to create the custom using Javascripts in PLM for Agile process validator

    I have already created customized using ASP.Net validators. But now I need to create custom using Javascript validator.

    Please provide me the details

    1. how to create custom validator and where to create?

    2 provide me with code samples for custom validators javascripts

    Thank you

    Floquet

    I am currently using 6.1.1.5

  • How to create the report using the procedure.

    Hi all

    I want to create the report in the apex. But I don't have a sql code. I have a single procedure. Is it possible to create the report using this procedure in the apex.

    CREATE OR REPLACE PROCEDURE headcsv_prc2

    AS

    CURSOR cr_header

    IS

    SELECT ood.organization_code, fm.formula_no AS "FORMULA_NAME."

    FM.formula_vers AS "FORMULA_VERSION."

    FM.formula_desc1 AS "FORMULA_DESC."

    DECODE (fm.formula_status,

    100, 'new ',.

    400, "approved for use in the laboratory."

    700, "allow the general."

    800, "We Hold."

    900, "frozen."

    1000, "obsolete/archived.

    ) AS "FORMULA_STATUS."

    DECODE (fd.line_type, '1', msib.segment1).

    DECODE (fd.line_type, '-1', msib.segment1 ') ingrediant.

    DECODE (fd.line_type, '2', msib.segment1) AS "BY_PRODUCT."

    DECODE (by_product_type,

    "W', 'waste."

    "R',"rework. "

    "Y', 'Yield."

    The of ', 'Sample. "

    NULL VALUE

    ) AS "BY_PRODUCT_TYPE".

    Of org_organization_definitions ood,.

    fm_form_mst fm,

    fm_matl_dtl fd,

    mtl_system_items_b msib

    WHERE ood.organization_id = fm.owner_organization_id

    AND fm.owner_organization_id = msib.organization_id

    AND msib.organization_id = fd.organization_id

    AND fd.organization_id = ood.organization_id

    AND fm.formula_id = fd.formula_id

    AND msib.inventory_item_id = fd.inventory_item_id

    - and fm. FORMULA_NO like '% THE % '.

    AND fd.line_type IN ('1 ', ' 2', '-1' ")

    Ood.organization_code GROUP,

    FM.formula_no,

    FM.formula_vers,

    FM.formula_desc1,

    FM.formula_status,

    FD.line_type,

    MSIB. Segment1,

    by_product_type

    ORDER BY fm.formula_no, fm.formula_vers;

    BEGIN

    Dbms_output.put_line (INITCAP ('the ORGANIZATION CODE')

    || ','

    || INITCAP ('NAME FORMULA')

    || ','

    || INITCAP ('FORMULA VERSION')

    || ','

    || INITCAP ('FORMULA DESC')

    || ','

    || INITCAP ('FORMULA STATUS')

    || ','

    || INITCAP ('PRODUCT')

    || ','

    || INITCAP ('INGREDIANT")

    || ','

    || INITCAP ("PER PRODUCT")

    || ','

    || INITCAP ('PER TYPE OF PRODUCT")

    );

    FOR ch IN cr_header

    LOOP

    Dbms_output.put_line (ch.organization_code

    || ','

    || ch.formula_name

    || ','

    || ch.formula_version

    || ','

    || '"'

    || ch.formula_desc

    || '"'

    || ','

    || ch.formula_status

    || ','

    || ch. Product

    || ','

    || ch.ingrediant

    || ','

    || ch.by_product

    || ','

    || ch.by_product_type

    );

    END LOOP;

    EXCEPTION

    WHILE OTHERS

    THEN

    Dbms_output.put_line (' No error: ' |) SQLCODE. "Error Msg: ' '.

    || SQLERRM

    );

    END;

    EXEC HeadCSV_Prc2



    Thank you

    Rambeau

    Hi Christian,

    In addition to the fact that the Oracle database has an internal Java engine and it would be possible for Apex call a Java stored procedure, the Apex really has nothing to do with Java. To create a report, you discovered, you specify a SQL query. In certain circumstances, you can embed a query in a PL/SQL function, but the incorporation of an arbitrary Java application and waiting for it to be called from Apex for a kind of security is there with the fairies.

    I recommend you research the Apex and then enter your so-called "higher authorities" how things work.

    Concerning

    André

  • How to create vSwitch distributed using vicfg-vswitch?

    I was looking for to vSphere command-line Interface documentation to create the vswitches distributed using the CLI.

    http://www.VMware.com/support/developer/VCLI/

    But I couldn't find a way. So I would like to know, is it possible to create a dvSwitches using the CLI?

    If it is not possible through CLI, then what is the opposite?

    Unfortunately, my development environment is always downwards, otherwise I can whip up a small example.

    But when you say it is no examples around, there are actually many examples using the SDK including the vSphere SDK for Perl. If you look at the source code of the any orders vCLI, you will notice that they are all written in Perl, and it is not surprising, he uses the vSphere SDK for Perl. Yes, there may be no examples for each use unique case or operation that can be performed against a host ESX/ESXi and vCenter, which is the same for given PowerCLI, the functionality is there in the API.

    If you are new to VMware SDK/API and is interested to develop or create your own scripts, I'd take a glance at this document first - Getting Started with vSphere SDK - Update for SDK 4.1 release. Depending on your comfort level, you will choose an appropriate SDK (vSphere SDK for Perl, PowerCLI, VI Java, c#, .NET, etc.) to the script or program in. Some SDK will be easier to learn as PowerCLI, VMware has done a great job using the Powershell language to abstract much of the complexity of the vSphere API made it really simple to jump to the right, if you still need to understand what is happening and how the operations are actually called. The default value 100-200 + cmdlets cover most of the basic use cases, but once you start getting into more complicated scenarios, then you need to really understand the vSphere API to extend the functionality, including things like creating a vDS and distributed of the exchanges, etc.

    Here is a guide on getting started with vSphere SDK for Perl - Getting Started with vSphere SDK for Perl and here a collection of vSphere SDK for Perl scripts that I've written scripts repository vGhetto. Another excellent resource is the forums for developers as well as for the vSphere various API/SDK - http://communities.vmware.com/community/developer

    Bottom line is, everything that can be done via vSphere Client can be done using the API vsphere and with one of the vSphere SDK, it can still be trivial, but the functionality is there, you can simply create it if there isn't an example/sample code.

    =========================================================================

    William Lam

    VMware vExpert 2009

    Scripts for VMware ESX/ESXi and resources at: http://engineering.ucsb.edu/~duonglt/vmware/

    Twitter: @lamw

    repository scripts vGhetto

    Introduction to the vMA (tips/tricks)

    Getting started with vSphere SDK for Perl

    VMware Code Central - Scripts/code samples for developers and administrators

    VMware developer community

    If you find this information useful, please give points to "correct" or "useful".

  • How to create this site using Dreamweaver?

    I just finished a course of the basics of Dreamweaver and I would like to enter into a more advanced stage.

    This is the site I want to create:

    www.safaribig5.com

    Could someone please help me understand whether it is possible to create a website using Dreamweaver? If so, HOW?

    Thank you.

    The cursor is a plugin called Galleria

    http://Galleria.IO/

    The image gallery is a plugin called Flowslider jQuery

    http://www.flowslider.com/

    The page is a fundamental provision of 2 columns fixed centered width.

    http://ALT-Web.com/templates/CSS-Basic-2-column-layout.shtml

    Having said all that, you need to learn the theory of web design of base first and all that you can in HTML & CSS. He had to learn.

    HTML CSS & Web Design theory tutorials.

    http://www.html.NET/

    http://w3schools.com/

    http://www.csstutorial.NET/

    http://webdesign.tutsplus.com/sessions/Web-design-theory/

    Nancy O.

  • How to create a certificate using the keytool / terminal?

    I have problems with the creation of certificates using the Terminal. I use the instructions below and exactly all the information required. When he asks me to type 'Yes' and confirm, the whole process starts right at the beginning over and over and I have to type in the same things. Do I did wrong? How can I confirm the information I typed in?

    I'm trying to create a certificate to sign the apps for GooglePlay and Amazon. I use professional DPS.

    Thanks for the help!

    Directions for use:

    (Mac OS) Create a certificate using Keytool

    Open Terminal, located in Applications > utilities.

    Type (or paste) the following line (replace "myname.key.p12" with the actual name of your certificate):

    1

    keytool - genkey - v - keystore myname.key.p12 - alias alias_name - keyalg RSA - keysize 2048 - stores pkcs12-validity 10000

    The "10000" specification sets the expiration date after 22 October 2033.

    Enter and enter a password. Until the Viewer constructor supports the creation of custom Android applications, it is necessary to share this password with Adobe. Create a password that you can share.

    Follow the prompts to specify the certificate information.

    When you are prompted to confirm the choice, enter Yes and press return to use the same password.

    A certificate is created in your quick location, such as your user name folder. Copy the certificate file to a known location. Note the password as well.

    It could be access question. Enable the root user, and then try again.

  • How to CREATE a DIRECTORY using local directory

    Hi all

    I want to get some data to the local computer from the remote database service, so I use a stored procedure to get these date and save them in a file before you perform the procedure, I have to CREATE a DIRECTORY ensures that the path of the file.

    I use to CREATE a DIRECTORY on the local computer OCCI using, as: "CREATE or REPLACE DIRECTORY MSGDIR AS 'C:\test'" and I can't find the file in C:\test, I found the answer on the internet about this problem, it seems that use to CREATE a DIRECTORY on the database of service rather than on the local computer.

    Anyone know how to CREATE the local directory to use?
    Or give me advice to get the data to the local computer in my case?

    Best regards.
    It looks that CREATE DIRECTORY use the directory on the database service rather than local machine.
    

    Exactly. Where it States Furthermore?

    Anybody knows how to CREATE DIRECTORY use local directory?
    Or have any advice to get data to local machine in my case?
    

    1 all simply cannot do it. It is not possible, because this would be a serious security breach.
    2 of course, you can share the directory on the server to the network and configure a share on your local machine.
    It's so simple, most people think about it.
    You might also consider using Apex or utl_http directly.

    -----------
    Sybrand Bakker
    Senior Oracle DBA

  • How to create a signature using a business card in Windows Live Mail?

    I want to know how to create a business card to signature in Windows Live Mail 2011. I already know how to create a signature. I want to know how to create a signature with graphs, etc.

    You will find detailed instructions on this page: create a signature with a picture

  • How to create the report using pass-in parameters

    Hi all

    I want to create a report using the parameters passed from the previous page. Let's take an example:

    Now in page B, he got 2 parameters P1_Table, P1_column, from Page A, I want to get the report:

    Select * from P1_Table, where P1_column like 'test % ';

    This means that I want to get the date in the P1_Table table and its P1_column begins with the character 'test'.

    I tried to use dynamic sql in the source of the region, but failed.

    Please help me

    Thanks in advance.


    PPMonkey

    Published by: PPMonkey on January 4, 2009 12:53 AM

    Hello

    Ensure that the report is a "SQL (body of function from PL/SQL returning the SQL) query. Then, use a source of something like:

    DECLARE
     vSQL VARCHAR2(4000);
    BEGIN
     vSQL := 'SELECT * FROM ' || v('P1_TABLE') || ' WHERE ' || v('P1_COLUMN') || ' LIKE '''test%''';
     RETURN vSQL;
    END;
    

    Andy

  • How to allow users to pan on an interactive floor plan

    Hello!

    I have created a tutorial in the Captivate, but one of the sections includes a map showing users where certain things by looking at their building floor plans.

    The PDF image I have is too big to show static image, so I had the idea to let the user select where to what they want to sail & let them zoom in on the image & pan around them showing additional details that will be lost when the zoom for the benefit of showing the floor plan around on the screen.

    So to sum up, I want to do the following-

    Create one 'To' & 'To' input box that will then draw a route (I needed to draw as it would be necessary to avoid the walls etc...)

    Before or after the data entry and displays paths, allow the user to zoom and pan on the floor plan so that they can see clearly where the road is.

    I hope someone can help with this.  I really have no idea where to start!

    A huge thank you in advance.

    to animate, you simply add your oversized at a smaller stage floor plan and then the user can pan the plan on the stage of various input methods.

    the floor plan would probably convert a vector it is too large or break it into several pieces and use goto is to allow the user to navigate from one piece to another.

  • I use flash to build a floor plan Viewer and editor?

    I want to build a program that any floor plans and allows the user to place furniture in the space. The features will be quite simple, similar to a puzzle game. I have a menu on the side drop-down list with different categories such as chairs, sofas, beds, and then the user can place these objects in the scene and rotate and resize. Before making further research in actionscript, I thought that I would ask people with experience to see if it was possible. I could write this program and publish different versions so it could also be used on iphones and androids? I've been looking into Flash mobile development and I feel optimistic. I would love to get comments about people making applications mobile using flash and if there is any advice they could offer for someone begins, thank you.

    Yes, flash pro can be used for this.

Maybe you are looking for

  • What is the difference between IPhone exported to Asia and the IPhone has exported to Europe?

    I need to know the difference from all sides and what products is best between the iphone (5 s) devices which has exported to Asia or devices (5 s) iphone that has exported to Europe

  • Sync iBooks

    After the upgrade to the latest version of iTunes 12, everything seems to work fine except: I noticed that iTunes always seems to re-sync my whole iBooks library whenever I connect my iPhone, even if I did not bring any changes to my iBooks library. 

  • When I saw a new calendar pictures disappear

    I created a new calendar of Photos. When I save it in PDF format pictures have disappeared, the month is empty, other months are very well. No one knows what to do. I tried restarting the computer and who did not

  • Invalid email address Xbox 360

    When I activated and set up my sons Xbox 360 live on the Xbox a wrong e-mail address has been added This means that I could not return on the Microsoft account like security by e-mail to the address that is not I now want to move the profile to a val

  • Why are all the drivers for systems dated only for 2006? microsoft updates?

    I noticed on all devices systems the only date of 2006 on most, why microsoft did not create new drivers updated now?owner of the frustrated computer!