Order Flash Sprites with Lingo

I need a Flash sprite with Director of control when the user pushed a button stop, stop us Director and Flash playheads.

I have attached this code to a button without success.
---------
When you click on
Sprite (1). Stop()
go to the section
end
---------

My thoughts were I need to stop the playhead to Flash with the "sprite (1) .stop ()" and the read head of Director with "go to section". Just a background of Flash, so thanks for any help!

| rossimo |

Thanks to Sean and Mark! You guys really helped me to get to my solution.

Here is the final code for the frame of the end:
-------------------------
on exitFrame me
CF = sprite (1) .getFlashProperty ("", #currentFrame)
TF = sprite (1) .getFlashProperty ("", #totalFrames)
If CF< tf="">
go part
on the other
go to the section ("Menu")
end if
end
-------------------------

This in combination with the keys of reading and stop (indicated in the thread) gives me exactly what I need. This way when I stop the Flash sprite he not going to my Menu marker until currentFrame is superior to totalFrames. I guess I could also use a greater than or equal to, but it works in my scene.

Thanks again for all your help!
| rossimo |

Tags: Director

Similar Questions

  • Order of sprite does not work

    I have a movie with a member 3D and 2D text members.  I want members of the 2D text to appear before the 3D Member, but no matter what I do (no matter how I change the order of sprite in the score), everything in the film still shows BEHIND the 3D member.

    I got another 3D member in the front partition, and it worked very well.  Has anyone ever encountered this before, or no one knows how to fix?

    Clear the directToStage property in the property inspector for the 3D member.

  • passing table flash flash sprite

    Hello

    I try to convey a flash like table [{x: 1, y: 2}, {x: 1, y: 2}, {x: 3, y: 5}] a Director lingo and back to another flash sprite flash sprite. Director everything seems perfect when passing it to second sprite, but the trace flash command gives me just undefined values. I can't do that in the jargon?

    in the jargon:

    put 'flashAry.length' & flashAry.length

    flashObject.DrawAry (flashAry, "testxy")

    Output window:

    -"flashAry.length 23,0000"

    in ActionScript

    function {DrawAry (table: points, tests)}
    trace ("> DrawAry" + points + "" + points.length + ">" + test + "<")

    Output window:

    -> Undefined DrawAry undefined > testxy <

    Alternatively, you can set up a LocalConnection between 2 sprites (assuming that they exist simultaneously on your scene) and pass data over this.

  • that means 24 imac has a flashing envelope with exclamation mark mean?

    What model of imac 24 A1225 a flashing envelope with exclamation mark mean? I try to install snow leopard. I inserted the disc, but nothing happens.

    This means that no boot drive cannot be found.

    Insert the Snow Leopard DVD and restart the machine while holding down the c key and follow the instructions.

  • 2008 mac book pro screen flashing folder with question mark at startup

    2008 mac book pro screen flashing folder with question mark replaced boot hard drive and cable, continues to do the same.  any ideas to fix?

    Start your Mac by holding down the button Option. The should launch the window of Boot Manager where you can select the startup disk, and then click on restart.

    How to choose a boot on your Mac - Apple Support drive

  • Help! You are ordering photo book with pictures 1.0.1

    I can't finish my order a photobook with pictures 1.0.1 (urgent!)

    I have compiled, press BUY BOOK, move to the system asking me to you connect using my ID Apple (OK) and it starts to 'ALLOW' then stops and asks me to enter my Apple (OK) registered credit card security code.

    I enter this info, then get a message that says "the credit card associated with this Apple ID is assigned to the Bank of Australia. If you change the store, you will need to place the order again. »

    As I checked the store "Australia" in the preferences of Photos AND have an Australian listed billing/shipping address I hit continue.

    When exactly does nothing... the retractable window disappears and the process seems to have cancelled itself.

    What I am doing wrong?

    Re-enter all your account information, including payment information (do not check but just go)-usually that can solve these questions

    LN

  • Why? Reminders app does ' t order of tasks with a priority higher on top more.

    Reminders app does ' t order of tasks with higher on top priority. First of all he did, now he doesn't. On my iMac and iPhone. Do I have to change the settings?

    On the Mac, look at the view menu. Select sort by, and then priority.

    I think that the iPad and iPhone reminders program takes its look at a landmark of the computer.

  • Can I connect a link more MXI for PXI-1033 card in order to work with it

    Ladies and gentlemen,

    Tell me please that I can plug a card of MXI link more in the PXI-1033 chassis in order to work with it.

    In other words, I don't use the built-in controller for MXI and want to work with the NI PXI-8366 MXI-Express and PXI-1033.

    Thank you.

    The answer to your question is no. The question that must be taken into consideration is the type of housing, we have access to on the PXI-1033. To use a PXI MXI card for control purposes in a PXI system, we need to use the card in a slot of system controller (denoted by a triangle around the number of slots on the chassis). With the 1033 however, we have no access to slots control. Because of the connection of controller MXI incorporated, we only have access to a calendar/trigger and devices slots.

    Is there a particular reason you don't want to use on the 1033 MXI connection, or you just want to avoid having to change the connection to another computer?  Single MXI cards which would depend on the space available on the PXI-1033 would be something along the lines of the 8367 and 8367, who are used to the Garland of a separate chassis.

  • my windows server keeps flashing upward with errors with security

    my windows server keeps flashing upward with errors with security

    I suggest that you reinstall the operating system as there is a Setup error.

  • ordered a pavilion with graphics card upgrade, upgrade used only 16-bit location

    ordered a pavilion with graphics card upgrade, upgrade used only 16-bit location. I want to connect a second monitor, can I use the parent connections card currently have coverage through them that say "do not remove"?

    Hello

    If you use an adapter, then you have the choice on the end to use the adapter based on the adapter that you use. Buy cable HDMI to DVI and save frustration adapter problems and possible.

  • How to call a function of my html code to js created by animate cc, I had used 'exportRoot.functionName' and said this function in my document of flash pro with html5 canvas, but now on cc animate this way doesn't work.

    My html code created by animate cc was changed to php for me, because I send and received variables via get and catch the cookies and much more. the function that I used to call function on my .fla of the document is passId() and it worked before when animate was Flash pro with html5 canvas.

    Captura de pantalla 2016-09-27 a las 12.19.59 p.m..png

    And function of .fla, I frame_0 only assign to the variable "id_usuario", this is the feature on fla:

    Captura de pantalla 2016-09-27 a las 12.20.12 p.m..png

    First of all, the title of your thread is horrible. Titles are supposed to be securities, not paragraphs.

    As for your problem, you are probably trying to call catchIdUser before it is defined. handleComplete() is raised when the content is ready to run. He did not actually yet. I guess you should have script code call the function of window parent, not the other way around.

  • Use Flash CS6 with CC license?

    Hello

    is it possible to use Flash CS6 with a CC-license. Ist of problem that we have a few old Flash AS2

    that cannot be changed in the CC.

    see you soon,

    tOmek

    Hi Thomas,

    You can install Flash CS6 with creative cloud subscription

    Please refer and skip to the section install previous versions of apps, download and install Adobe Creative Cloud apps

    It could be useful!

    Rayyan

  • Create a sub menu with lingo

    I can create different types of menus with boyfriend Api,

    or simple menu with lingo.

    Some of you find out how s creation ub menu with Lingo like this ?

    I have this possible?

    Thank you

    Submenu.jpg

    No - you can't create submenus using the Lingo installMenu command. To do this I use Buddy Menu xtra

  • Main Flash CS5 with MS Access?

    Hi all

    I need to create a Flash CS5 solution that queries data from a database MS Access.  The Flash application and the database will be located on the same web server and the database will have a specific query for each function of Flash.  Is it possible to achieve this interface between Flash and access with some ActionScript magic alone?  Or, is it an intermediate stage (or stages) that should be taken to query the data from access and put it back into Flash?

    Thank you

    SID

    Hello

    in theory, it is possible to talk directly to a database with actionscript, but it's very complex.

    most people use a side script server what Flash communicates with and talks of script for the database. Assuming you are using a windows server, look for flash tutorials on connecting to a SQL database - it is essentially the same as the connection to a db access.

    one thing to note on access: it can handle 10 simultaneous connections so its not very good for sites Web - if possible, use a mySQL or SQL database.

  • text search on rich TEXT with lingo

    Hi all...

    can help me?...

    I glossary with RTF text, because the RTF text is easy to modify the content, but can help make the search text or Word on the RTF text with lingo... ?

    Thank you

    You could attach something like the following to your button:

    on mouseUp me
      sMessage = "search text not found"
      -- assume member names are "text1" and "text2"
      sSearch = member("text1").text
      sText   = member("text2").text
      tOffset = offset(sSearch, sText)
      if (tOffset > 0) then sMessage = "search text found"
      alert sMessage
    end
    

Maybe you are looking for