How do I open a window at moving button's current location?

I'm creating a flash movie of various fish swimming across
the screen. At the moment I've got each fish as a movie symbol
inside a button symbol whose position moves across the screen as
the fish swims along. When you click a fish I want text to pop up
at the fish's current location telling you about the fish. The text
sits there while the fish continues to swim away and after a
certain time the text disappears.
The fish swims away but the text needs to stays put. If you
click the fish again the same text appears at the new location as
well, so I need to be able to have multiple instances of the text
on screen at once.
What is the best way to make this text appear at the fish's
current location and disappear again after a certain time? In the
long term I'll probably want to make the text appear in a bubble
and have a little picture of the fish as well. The text for each
fish will be different, describing that species of fish and his
habitat, etc.
I've never touched Flash before so any help would be greatly
appreciated.
Which way should I go? Action Script? Behaviors? Listeners
& Broadcasters? Something else?
Any suggestions greatly appreciated! Please help!
I'm using Flash Professional 8.
Thanks,
John

Well, if you've really got no experience, this may be a
little awkward, but
the answer is yes, it involves ActionScript.
There are several potential solutions, but the basic
principle is to track
the _x, _y coordinates of the fish movieClip when the user
clicks on it.
Then have a dynamic text box that is inside another movieClip
display the
correct text at those specific coordinates. This is not
really a task to
dive into (no pun intended) as a beginner. I'd look into
variables,
functions, and specifically duplicateMovieClip (use this on
the text
movieClip) for starters.
--KB
"Tregithew" <[email protected]> wrote in
message
news:eilkil$se4$[email protected]..
> I'm creating a flash movie of various fish swimming
across the screen. At
> the
> moment I've got each fish as a movie symbol inside a
button symbol whose
> position moves across the screen as the fish swims
along. When you click a
> fish
> I want text to pop up at the fish's current location
telling you about the
> fish. The text sits there while the fish continues to
swim away and after
> a
> certain time the text disappears.
>
> The fish swims away but the text needs to stays put. If
you click the fish
> again the same text appears at the new location as well,
so I need to be
> able
> to have multiple instances of the text on screen at
once.
>
> What is the best way to make this text appear at the
fish's current
> location
> and disappear again after a certain time? In the long
term I'll probably
> want
> to make the text appear in a bubble and have a little
picture of the fish
> as
> well. The text for each fish will be different,
describing that species of
> fish
> and his habitat, etc.
>
> I've never touched Flash before so any help would be
greatly appreciated.
>
> Which way should I go? Action Script? Behaviors?
Listeners & Broadcasters?
> Something else?
>
> Any suggestions greatly appreciated! Please help!
>
> I'm using Flash Professional 8.
>
> Thanks,
> John
>
>
>

Similar Messages

  • How do i open multiple windows in itunes 11?

    how do i open multiple windows in itunes 11?

    At the Entourage menu bar, go to File > New and select Open New Main Window. You can open an additional two main windows and select the Address Book for one and the Calendar for the other.
    To navigate to a different window, at the menu bar go to Window and select Mail, Address Book or Calendar.
    The Mail.app does not incorporate all 3 applications. You can have the Mail.app, Address Book and iCal launched and running and select between each from the Dock along with other ways to do so. The Mail.app also includes an Address Book panel to view all Address Book contacts or to select from when addressing a message. You can't add to, delete or edit contacts from the Mail.app Address Book panel.

  • HT2512 how do I open multiple windows on the mac?

    How do I open multiple windows on the Imac?

    In the Finder?
    File>New Finder WIndow or command - n.
    Matt

  • How can I open the windows file directory in "WHEN-BUTTON-PRESSED" trigger

    Dear All,
    How can I open the windows file directory in “WHEN-BUTTON-PRESSED” trigger?

    Blessan Joseph,
    The solution is dependent on your Forms version and if your applications is traditional Client/Server (CS) (Forms 6i and lower) or web deployed (Forms 6i and higher). For CS, you would use the Get_File_Name() built-in as Faa demonstrated. For Web, you will need to use the WebUtil library function Client_Get_File_Name() as Sarah (OGIR) demonstrated. Both of these functions will return the full path to a file. Note: WebUtil is an external library so it requires you to perform some configuration on your developer client as well as on the Application Server. WebUtil is included with Forms 9i and higher, but you must download it for Forms 6i.
    My requirement is user should able to select windows directory for the output.Do you really need to allow the user to write to a file in the Windows directory? This is very dangerous and you should not allow users or programs to write to the Windows directory. Users should only be able to write files to "User" directories (\My Documents\<Directory name>).
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • How to automatically open browser window for getting user id & password

    i have created a jsp page, that page cannot be open by anyone anyway, it should be only visible to me only.
    how do i achieve this.
    my requirement is that whenever any one request for that jsp page, browser should automatically open one window and ask for user id & password, if it is right then the page should be displayed else error should be shown.

    Adding the following to web.xml will define security constraints for all resources under the /admin directory, also only a user in the manager role will have access to these resources.
    For tomcat you can look at the conf/tomcat-users.xml file for setting up users and roles
         <security-constraint>
              <web-resource-collection>
                   <web-resource-name>Secure Pages</web-resource-name>
                   <description></description>
                   <url-pattern>/admin/*</url-pattern>
                   <http-method>GET</http-method>
                   <http-method>POST</http-method>
              </web-resource-collection>
              <auth-constraint>
                   <description></description>
                   <role-name>manager</role-name>
              </auth-constraint>
         </security-constraint>
         <security-role>
              <description></description>
              <role-name>manager</role-name>
         </security-role>

  • In EP7 Ess, how to remove "open new window" for ESS areapage

    Hi all:
       In ESS areapage, there is some tabs for click. When I click it, it open a new window. But I want the content display inside the same content page. These are all standard areapage and worksets.
       How can I reset the "open new window" ?
       My EP version is EP 7 sp9

    You can set the workprotect mode on a global level so its used for every user.
    Systemadministration -> Systemconfiguration -> Service Configuration -> Applications -> com.sap.portal.epcf.loader -> Services -> epcfloader. Set the "workprotect.mode.default". After you have saved the entry. ricght click on com.sap.portal.epcf.loader in the tree menu and choose "administrate". Click on "restart".
    Markus

  • How to restrict "Open Applications" window from showing C drive? Or use the Windows Explorer "Open" Window?

    Hi, Im new to JDeveloper and I work in a school which requires restriction of the C: Drive. Does any one know how I can either stop the "Open Applications" dialog from showing this drive or Use the Windows Explorer "Open" dialog window to browse files, the drive has been hidden and restricted using GPO but JDeveloper shows the C: drive?
    Any help is much appreciated.

    Hi and thanks Timo. We are using 12c. On the Windows side of things, we are using Win7 and we have hidden the drives we don't want the user to see using GPO but obviously Jdev then shows these drives in its "Open Applications" Window and allows access. As far as the environmental variable is concerned this is something that I put in place.
    Many thanks for your reply and the link to the tech doc.
    Nigel

  • How to create a dialog window with no button that opens along with the main window?

    When the main window is open, the dialog window opens up immediately and can be closed by key press. At other times, when the next step, ie: decision, comes to, the another dialog window pops up again and is again closed by key press. Does anyone know how to do? Use the sub-Vi? notification method? occurrence method?
    And another thing: how to create a reusable dialog window with no button so that different messages can be sent to it and it can closed by key press. And how to pass the string to the title of the dialog window programmatically?

    For your functionality (If I understand it right), nothing needs to be in the event structure. Pressing any key just triggers the event, thus finishing the VI (there is no while loop).
    Could you tell me what you mean my "it won't run properly"? Make sure that the front panel of the subVI is closed before starting the main VI. Remember that the subVI is set to "open when called" and "close afterwards if originally closed". So, if you had the panel open already, it won't of course close when finished!
    (Actually, the problems is worse when you have the subVI panel open when starting the main VI. you get a catch22 and labVIEW locks up because (1) the subVI is set to dialog and grabs all attention but (2) it has not been
    called, thus the event cannot be triggered. So don't do that!!!! As a quick workaround, add the modification shown in the attached image to ensure the panel of the subVI is closed.)
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    CloseNoButtonDialog.gif ‏3 KB

  • How do I open multiple 'windows' in Entourage?

    I am using MS Entourage and would like to be able to open multiple windows within that program. For example, I would like to have both my calendar and address book opened at the same time in different windows. I have looked all over for a way to do this, but I have not had any luck. Any ideas? Please forgive me if this is an easy answer. I am still new to the Mac world, but love it so far. Thank you.

    At the Entourage menu bar, go to File > New and select Open New Main Window. You can open an additional two main windows and select the Address Book for one and the Calendar for the other.
    To navigate to a different window, at the menu bar go to Window and select Mail, Address Book or Calendar.
    The Mail.app does not incorporate all 3 applications. You can have the Mail.app, Address Book and iCal launched and running and select between each from the Dock along with other ways to do so. The Mail.app also includes an Address Book panel to view all Address Book contacts or to select from when addressing a message. You can't add to, delete or edit contacts from the Mail.app Address Book panel.

  • How can I open two windows in contacts

    I am using MacBook Pro, 2.3 GHz Intel Core i5, 4GB 1333 MH DDR3, OSX Yosemite Version 10.10.1
    In contacts I would like to know if there is a way to open two windows side by side so I can edit my group lists with my all contacts?

    Thank you for your reply.  I am trying to edit my Christmas Card List (group) with my All Contacts List.  If I had a window side by side with each group in separate windows I could just compare the lists.  The only other way I can think to do this is open my contacts on another device and have different group lists display on each device.

  • How can I open the 'time date browse button'?

    Hello!
    How can I open the 'time date browse dialog' from the time stamp control in my block diagram? I tryed it with the property node but couldn't find this item to open the 'time/date browse dialog'!
    Thanks in advance for your help

    There is no way to programitically bring up the dialog window for the timestamp control. I recommend building your own dialog window VI that will work by opening when you want the user to set the time and when it closes, it can programatically update the timestamp control. It will not be as pretty but it will be just as functional.

  • Open Explorer (windows) from CRM button

    Hi,
    how can i open windows explorer for a specific directory from a CRM button in the Web UI ?
    The CALL_BROWSER function (which works fine in the SAP GUI) will result in a
    500 SAP Internal Server Error
    ERROR: Exception condition "FRONTEND_ERROR"  raised. (termination: RABAX_STATE).
    How to solve my problem ?
    Any suggestions ?
    gr
    Hans

    kelvin_nitk wrote:
    Hi i have a java application running on a unix machine.What does this have to do with the rest of the question?
    On a jsp i need to provide a hyperlink which should open a new window but not the internet explorer window but the windows explorer window of some remote windows machine. How can this be done. Can anybody suggest?You want to execute the Windows Explorer program on somebody's computer from within the browser? Running executables from the browser is a security hazard that the browser tries very hard to prevent. You can't do it without getting the user to install some software into their browser where they agree, in advance, that they will let your site do insecure things.
    In this case most likely an ActiveX component would be the best bet.

  • How can I open new window from a link in another window?

    Hello everyone!
    Can anyone help me with my problem. I need to open a child window from a link in the mother/master window. Actually, the link that would open the child window is directed to a servlet that retrieves data from the database. The data will then be displayed in the child window. I don't how to open a new window with the data retrieve (thru the servlet) displayed in it. I'm using model 2 architecture (Servlet-JSP).
    Thank you in advance and more power!
    nicoleangelisdaddy
    [email protected]

    Or you can use something like this,
    Click and in your test()
    <script language="javascript">function test()
          document.form_name.target="_blank";
          document.form_name.action="/test/servlet/LoginServlet";
          document.form_name.method="post"
          document.form_name.submit();
    }</script>
    Here "/test" is your application context path.
    If you want to open the link in the named window then use,
    document.form_name.target="your_own_name";

  • How can I open popup window

    Hi ,
    How can I create a new window such as the one that opens here when i click
    the "insert link" above, with fade out and one that looks as if it's in the same window ?
    Thanks.

    will this replace the current swf?  or open in the current swf?

  • How can I open two windows from one submit?

    Is there a way to open two browser windows from one click of a button to submit a form? I have a button on a screen that does some processing of the data and then generates a PDF file with the output. I would also like it to run a report and show the output of that in a separate window. I realize that using regular HTML with a target of "_blank" on the form, you can have the results show in a new window, but how can I launch a second window from a single button click, if possible?
    Thanks!

    It can be possible using two different popUps instead windows. Onclick on the button just make vissible true of those two popup in the event method, before making visible true, do the business operation to show on the popups. So simple :)
    Note: Popup has modal=false attribute
    Edited by: man_ish on Jan 12, 2010 10:13 AM

Maybe you are looking for

  • Ipod Nano 7th Gen Audiobook Resume Playback

    Hello, im considering purchasing the new 7th gen nano. I primarily listen to audiobook, however, and I was wondering if the issue regarding resuming playback position has been fixed on this model. The 6th gen model was having trouble remmbering the p

  • How can I find out what kind of battery my computer uses in order to buy a replacement?

    I purchased a new Macbook Pro 13" in January 2012. Unfortunately, I did not purchase Apple Care. My trackpad seems to have taken on a life of it's own. I'm guessing this is due to a swollen battery. How can I find out what kind of battery my computer

  • Real-Time Data Sync-up between Oracle and MS SQL Server

    Hi All, I am looking for a solution to sync-up the data between Oracle and MS SQL Server in real time. Here, the structure of table is different (in the sense, the data in multiple table in SQL Server should be combined and put it in a single table i

  • How to play DVD on ipad2

    I am not too computer savvy. Can someone help me into getting to play DVDs on iPad 2 16gb

  • Brand new iBook

    I just got a new iBook this Thursday and after installing the office programes, moving pictures and word douments over and about 400 or 3000 iTunes songs it is telling me that the hard drive is FULL! Has any one else run into this problem, I got the