With the help of buttons in frames with scroll

Hi, I'm new to Flash and I encountered a problem, I have just resolution of the Cant.

I have a floating frame and the contents of this frame contains various buttons.

The user clicks on a button and a new button will appear with information on this subject. At this point, I want to prevent the user to scroll the image.

I understand the scrollDrag = false; command, but I do not know how to approach the scrollable frame of in the framework itself.

If I had a framework floating in scroll (called frameb for example), it would be easy to address the fair frameb.scrollFrag = false;

But I do not know how to reference the framework, I'm (or above it).

Also, I can get the buttons on the main stage to interact with the floating framework, but can not work, how do I get the buttons in the framework to interact with the main stage.

Here is a code to get an idea:

This piece of code is on the actions of the main stage (stage one). It controls a button, that once pressed hides the book on Slide1925 buttons:

BooksOff.addEventListener (MouseEvent.CLICK, fl_ClickToHide);

function fl_ClickToHide(event:MouseEvent):void

{

Slide1925.pulp.visible = false;

Slide1925.buck.visible = false;

Slide1925.comics.visible = false;

Slide1925.GoldenAge.visible = false;

Slide1925.Orwell.visible = false;

BooksOff.visible = false;

BooksOn.visible = true;

}

That works fine, but when I'm coding inside of Slide1925 (like a symbol definition) how would I code to change a button on the main stage?

Also, how can I program a button on the contents of the scroll pane which some will be the scroll pane?

Sorry if I didn't explained this very well. Any help would be appreciated

There are a variety of ways to address the issue.  It would be to have all the code in one place, as the main scenario and target all content from there, whatever in even within the frame of scrolling.

Another way to approach it would be to use 'this' to target the current timeline and "parent" to target the object containing.

Still another way is to have the functions that relate to the control of the parent object in the parent timeline and assign event listeners to the internal objects, such as internal objects simply send an event.  The auditor assigned to the event calls the function that lives in the parent timeline.  This works well for situations where the blade is a responsible external file that must be run on its own.

Tags: Adobe Animate

Similar Questions

  • With the help of button text label in case selector

    Hello forum members

    I have to use a digital button with labels of text instead of numbers:

    For better readability of the code I would use the text (not the value of the entire control) values in a structure of matter as a selector directly values. I could use the "[] labels text" or the "Digital displays [] well, if I could cast a ring or enum.

    The help of LabVIEW offers:

    Text [] property Dim labels hasPlayer, hasPlayer playerversion = false playerversion = 10 Do While playerversion > 0 On Error Resume Next hasPlayer = (IsObject (CreateObject ("ShockwaveFlash.ShockwaveFlash." & playerversion))) if hasPlayer = true then Exit Do playerversion = playerversion - 1 loop is_FlashVersion = is_Flash playerversion = hasPlayer

    If you want to create no sequential numeric values, use the Digital Displays [] property to get a reference to the display of text label then convert the reference to the class of the ring and use the property of string values and [of] .

    But I don't understand how to do the casting or if I am misunderstanding of aid.

    Does anyone have a suggestion?

    Thank you!

    Klaus

    Klaus M says:

    I now believe that it is not possible to use such a dial marked as a control of enum in food of a selector ' for text.

    Depends on what you mean by "as an enum. The text label can be connected on a box structure. You must manually set the element box selectors, however, for different cases you have. You cannot dynamically create the enum, if that's what you're fishing for. You can, however, have defined as typedef enum and cast.

  • With the help of buttons FW8 in DW8

    I tried to esport my buttons with Fireworks 8, but the effects do not work once I have place in Dreamweaver 8. idk what is happening and I wish someone could tell me what I need to do.
    That is to say-how export properly the buttons from FW and then place them in DW so that they still work.

    PLEASE SOMEONE HELP!
    :(
    Thank you
    Atarah

    Atarah Atkinson wrote:
    > I tried to esport my buttons with Fireworks 8, but once I have put
    > the effects do not work in Dreamweaver 8. idk what is happening and I wish someone
    > please tell me what I need to do.
    > It is to say-how to properly export buttons from FW and then store them in DW so
    > that they still work.

    The buttons export from Fireworks as HTML and images. Use of the
    Dreamweaver's Insert > Image objects > Fireworks HTML to add feature the
    buttons to your page.

    --
    Linda Rathgeber [PVII] * Adobe Community Expert-Fireworks *.
    --------------------------------------------------------------
    http://www.Projectseven.com
    Fireworks Newsgroup: news://forums.projectseven.com/fireworks/
    CSS newsgroup: news://forums.projectseven.com/css/
    http://www.Adobe.com/communities/experts/
    --------------------------------------------------------------

  • WITH THE HELP OF BUTTONS FOR FORMS IN ADOBE ACROBAT/READER

    Hello, I use Adobe Acrobat Std XI to create a form that Adobe readers will be completed.  Everything works in the form except for the button, I inserted to allow the user to reset/clear the form. The button works correctly in Acrobat, but this is no work in the drive.  I tried to save the file as a Reader Extended version, I tried the protected and unprotected file and I can not get the button work in Reader. Can anyone tell me what I did wrong or is it all just because I'm working with Acrobat Standard XI and not Pro?

    Thank you.

    Thanks for the file. What you need to do is to remove the fields of digital signature from the list of fields to be set to zero.

  • With the help of buttons to filter the interactive report

    I have an interactive relationship with a default filter set up. Now, I would like to have buttons to modify the SELECT statement used for the report. While I need not make a new page of interactive report for each button. I want to provide the user with a buttons show all reports, view reports on demand and completed report. Everyone will just filter the lines accordingly. What is the best way to achieve this?

    Thank you!

    Hello
    You can created a where clause clause in your IR as:
    Select...
    Of...
    where report_type like 'at the request of the reports' and: p1_button_value = 1
    or report_type like 'Finished reports' and: p1_button_value = 2
    or: p1_button_value = 3

    Now, you create your button and an element called: p1_button_value. Function of the key, you click on the value of your Exchange item. If you need display different columns, then go to the column and change the condition:
    : p1_button_value = 1

    It will be useful,

    Tobias
    ----------------
    http://Apex-at-work.blogspot.com/

  • With the help of buttons like movies

    I created a flash header where the individual buttons movies. What is happening is that there is no arrow to select the button/film, and if you simply place your cursor over any "buttons" on the menu, it will take you directly to the URL. The user does not receive a chance to decide what relationship it wants to go!

    I use Flash MX.

    I downloaded the zip on my site, if someone can help out me. TYVM!
    btnmovie.zip

    Thank you much, Andretti. This is the solution!

  • With the help of buttons in an AS2 imported SWF

    Hello world

    I have a portfolio AS3 site that load the previous content of AS2. Currently the AS2 loaded content will not respond to transfers or anything inside.

    Is this possible?

    Yes, if the button/movieclip is unresponsive to the mouse, the mouse event is not passed.  That is to say, there is something in the swf parent (as3) which is intercept the mouse event.

  • With the help of A6, must create menu screen which allows the user to click a button creates a branch to other screens and return to the main menu. When returning to the main screen on which button will be gray or inactive.  How can I do this?  I created

    I am trying to imitate a piece of equipment.  I need the user to be able to click on the specific buttons that have the user to another or screens.  After viewing these screens that will be the user to the main screen where the user which buttons were pressed and which still needed to be pressed.  I create buttons image with the 3 States - who has worked except when the user returns to that slide is reset to zero, and if the user does not see the 3rd State of the button.  How can I get this 3rd State of stay after the user returns to the main screen?

    You can not 'keep' a State, that's what I said in my first answer: "you can create an image with that look of '3' State, make it invisible and show it with the same action when a button is triggered. You will need to insert extra that third picture, first hide it out and make it visible to the advanced action, which I explained. I called this additional 'Done_one' image in the example. The three States you're talking about are in a totally different way to Captivate: for down, more and up-state. You can just tell Captivate to keep a low State, it will be down when the button is pressed. Where my explanation of an additional image.

    No need for all the variables. Looks like you have a lot to learn about variables and advanced actions. I don't see another easy way to achieve what you want. It is not so difficult, tons of examples on my blog.

  • With the help of a SmartShape as button

    Hi all

    I would use a SmartShape as a button that changes color in the overview.

    • Is it possible to apply a button style (which has one up, down and State) to a SmartShape?
    • If not, is it possible to set up and down and on States of a SmartShape you can for a button?
    • If not, is it possible to use a combination of a SmartShape and a form of Roll-Over to get the same result? I tried, but the form of Roll-Over covered then the button... then it was not clickable.

    Unfortunately I can't use a button, as this will happen at a Question slide.

    Thank you

    Sarah.

    Hi Sarah,.

    I like the intelligent forms to aid in the form of button, almost do not use the normal buttons more. They are not used three States, but the functionality of pressing (form shrinks a little pressed) is OK for me to have other benefits: being able to convert free-form of change, fill with gradients, images, textures, doubling as containers for text with many possibilities of formatting, like bearings etc..

    Static button widget has been what I recommended in previous versions, when requiring something interactive (with limited functionality and design possiblities) on a question or a model of slides, but now I use more.

    I suspect, not sure, that the old buttons just disappears, just like the old bitmap based text captions, to be totally replaced by forms. Shapes are vector, I miss more opportunities publishing (real pen with its tool), and especially which is capable of recording forms customized with the advanced actions and all formatting attached to them. So you see, I want extension of them and perhaps also the possibility of having more of two States, but not in the first place.

    Lilybiri

  • With the help of the ImageView as a button

    no idea how to do this? Thank you

    Hello

    You can check the sample of the github and the project name is CascadeCookBookqml.

    Link: https://github.com/blackberry/Cascades-Samples

    In the folder property button.qml contains the ImageButton demo you can refer to that.

    Thank you

    Megha.

    feel free to accept as a solution or the post.

  • Problem with the display of a video frame in Windows Media Player 11 on Vista

    Hello

    I am having some problems with the Windows Media Player 11 on Vista. On my XP machine, when I discovered a video frame by frame, it works perfectly back and forth. However when I try to play the same video on my Vista machine, the button to the front of the image works perfectly fine but the previous image button takes video from 5 to 10 frames. Since I use my machine Vista more and need this feature often enough, it gets boring very quickly. It is a drive problem (since the same player works great under XP with the same video) and can be solved with a patch or some sort?

    Thank you

    Hello Helloaamir,

    Thank you for posting.  I understand the problem you are having, but I do not understand why in the need for these features.  Depending on what you're trying to do, may be able to use Movie Maker instead of it you also has characteristics of the image by image.  If you could include that you are using this feature, because I can give you a good alternative or possible difficulty of deliverance.

    Looking forward to help you any further. Zack
    Engineer Microsoft Support answers visit our Microsoft answers feedback Forum and let us know what you think.

  • Firefox won't let me copy the web address of the bar using the context menu with the second mouse button or trackpad to address

    Hello!

    I am writing to report a problem I have with the new patch v35 and v35.0.1 Firefox address bar

    With the new version 35 of Firefox on Mac OSX Yosemite, clicking with the right mouse button in the address bar to copy the web address, a context menu DO NOT allowed to copy the link, he shaded in grey, inactive... you click on an other browser zone before returning to click a second time and be able to copy the link in the context menu

    I mean, with the first right click on the menu bar that appears to address do not allow me to copy the link directly, you must click another area and then click again with the right mouse button in the address bar to copy the Internet address (happens to all pages)

    I tried to open Firefox plugins and completed inactive and reset Firefox on first use (as the first installation) and the problem is here again... The problem with or without add-ins and plugins is here

    What happens before and then when I format my computer

    Here I put a screenshot that explains the problem better than my words
    http://i.imgur.com/QxKd8P1.gif

    I hope you can help me

    Hello

    I want to just inform you that with the new version 36 of Firefox, this problem has been corrected in my browser
    Now I can access the copy option in the context menu directly in the address bar
    Thanks for the replies

  • Anyone having problems with messages of script with the new version of GMail and Yahoo Mail? All the others seem fine and no problems with other browsers. With the help of FF25

    Gmail and Yahoo mail are very slow to load. I get a message from the script almost whenever instruct me to continue or to stop the script. Everything I have shut down or restart the browser goes blank and hangs. So, I have to restart Firefox. I followed suggestions on the help pages for the slow e-mail accounts or issues. (cleared cache etc, reset etc.) nothing solves the problem. I only noticed the problem since the first update of FF25. Scripts to stop even on these pages is not acceptable, because you are directed to the pages who insist you must restart scripts. It's a nightmare! Gmail both Yahoomail are very slow to respond to clicks more.

    Your list of details of the system shows that you have a user.js file in the profile folder to initialize some preferences at each start of Firefox.

    The user.js file appears only if you or another software created, therefore, normally, he wouldn't be here.
    You can check its contents with a text editor if you do not create this file yourself.

    The user.js file is read whenever you launch Firefox and initializes the preferences to the value specified in this file, so set of preferences via user.js can be changed temporarily for the current session.

    You can rename or delete the prefs.js file and numbered possible prefs-# .js and the file user.js to reset all default prefs.

    You can use this button to go to the Firefox profile folder:

    • Help > troubleshooting information > profile directory: see file (Linux: open the directory;) Mac: View in the Finder)

    Note that the folder "Application Data" in XP/Win2K and the "AppData" folder in Windows Vista and Windows 7 and later versions are hidden folders.

  • ow change titles & dates of lots of pictures (like in iPhoto?) With the help of Mac 'Pages' on, 2008 aluminium MacBook running OSX El Capitan 10.11.4

    How to change titles & dates of lots of pictures (like in iPhoto?) With the help of Mac 'Pages' on, 2008 aluminium MacBook running OSX El Capitan 10.11.4

    With the help of Mac 'Pages '.

    A typing mistake?

    If it is and you mean Photos Date of Mac are modified by selecting the photos using the Image menu == > adjust the time and date of order and changes made to the metadata such as keywords, location, etc. are made by selecting the photos and find the info and registering metadata in the Info window

    These are detailed in the help topics of pictures - a good place to look for help on the Photos

    View and add information about the photos

    You can view and add information about your photos. For example, you can see the date and time a photo was taken, the information about the camera that took the photo and badges that indicate the status of the photo. You can assign titles and captions to photos, add or change the location of the photos and change the date and time for them information. You can select multiple photos in an instant and add or change information about them all at once.

    Open pictures for me

    View and add information about the photos

    To view or change information for the photos, you select one or more photos, and then open the information window.

    • Open the Info window: Double-click a photo to view it, and then click the Info button in the toolbar or press on command I.
    • Add or change information: Change the following.
      • Title: Enter a name in the title field.
      • Description: In the Description field, type a caption.
      • Favorite: Click the Favorites button to mark the photo as a favorite. Click the button again to deselect.
      • Keywords: Enter the keywords in the keywords field. When you type, Photos suggest keywords that you have used before. Press enter when you have finished a keyword. To remove a keyword, select it and press DELETE.
      • Faces: Click on and type a name to identify a face. Click on several times, and then drag the identifier of the face different faces to identify many faces in a photo.
      • Location: Enter a location in the location field. When you type, Photos suggest places you can choose. To change a location, you can search a different location or change the location by dragging a PIN on the map. To remove location information, delete it or choose Image > location, then choose Remove location or back to the original location. You cannot assign a location if your computer is not connected to the Internet.

    Show titles, other metadata and badges

    Change the date and time of photo

    You can change the date and time associated with a picture. You can do this if you are traveling to a location in another time zone, and your camera affect your dates photos and periods that are correct for your House, but not the place you visited.

    1. Select the photos you want to edit.
    2. Choose Image > adjust Date and time.
    3. Enter the date and time you want in the modified field.
    4. Click a time zone on the map, if necessary.
    5. Click on adjust.
  • Problem with the Access toolbar buttons

    Hi, I have a problem with the Access toolbar buttons. instead of icons, it shows just 2 boxes, as we get police unknown boxes. Help, please.

    Hi, I have a problem with the Access toolbar buttons. instead of icons, it shows just 2 boxes, as we get police unknown boxes. Help, please.

    Hello

    Those who are not traditional icons they are symbols that belong to the Segoe UI police.

    See the following Web site for an excellent tutorial to solve this problem.

    [SOLVED] Unknown character or vertical Rectangles are appearing in place of metro icons in the Windows 8 start screen and login screen - tweaking with Vishal:

    http://www.askvg.com/fix-unknown-characters-or-vertical-rectangles-are-showing-in-place-of-Metro-icons-in-Windows-8-start-screen-and-login-screen/

    Let us know if it works for you.

    Concerning

Maybe you are looking for

  • com Apple.SBD drains cpu resources

    Need help please - since the installation of the last update of El Capitan, my CPU resources or memory are drained by the process of "com.apple.sbd". I run EtreCheck with the following results: EtreCheck version: 2.9.6 (256) Report generated 2016-02-

  • OfficeJet Pro 8630: 2 Facer of default print

    I tried set up printer for printing options 2 sided printing but will not print on 2 sides. I have set up 2 sides print so I don't have to do it manually every time.

  • How can I get rid of the toshiba media controller box

    I am playing games whenever I move my mouse this box comes up in the playground which has a picture of a computer. If you click it, it says it's the Toshiba media controller. I got rid of him all the time, but just a new hard drive was put in and bac

  • Why Windows System 32\WinSAT.exe short when I restart my computer

    Whenever my computer restarts, the Windows System32\WinSAT.exe runs before I can get to my office. Is there a reason that this could happen?

  • How to view Windows Media Center Internet TV channels streaming?

    So I set up Windows Media Center and I was wondering... is it possible to see the free internet channels on WMC instead of Internet Explorer? I have ben trying to find info on this. Apparently some people have been able to do, but the info, I had abo