Button sample question

Salvation. I have a movie clip in my php page. I have a button in this clip. what code should I use to change every page to another, because when I use

(release)
{
getURL ("http://www.sample.com/");
}

It opens the page at the location of the swf file, but I don't want that.

I tried

(release)
{
getURL ("http://www.sample.com/", "_blank");
}

but it will open in a new tab.

I want to open a new page in the same tab. Is it possible to do?

Thank you

I don't know exactly what you are trying to do but see if one of the following works for you:

getURL ("http://www.sample.com/", "_top");

getURL ("http://www.sample.com/", "_parent");

Tags: Adobe Animate

Similar Questions

  • Vertical button discussion questions

    I've been at this for hours and can't seem to understand the problem.

    What I want is simple - vertical skinny 6 buttons that stretch to the top of the screen down (fact). I want that they regularly spaced from left to right (done). So I want to click on each of them for different actions. What is happening, it is the first button immediately Gets the focus and seems to have the focus on the entire screen. No matter where I click, the first button is the one that keeps the focus. Help? Here's the code to application below. The buttons spread the field and are inspired by PictureBackgroundButtonField one of the examples.

    SerializableAttribute public class MyApp extends UiApplication implements FieldChangeListener
    {
    //------------------------- Class Attributes -------------------------------
        
    //------------------------- Class Methods ----------------------------------
    Public Shared Sub main (String [] args)
    {
    MyApp PAP = new MyApp ();
            
    Have this app into the event queue
    theApp.enterEventDispatcher ();
    }

    //------------------------- Attributes -------------------------------------
    private display display;
        
    private HorizontalFieldManager hfm;

    private VLineButtonField [] lineButtons = new VLineButtonField [6];

    //------------------------- Constructor ------------------------------------
    public GuitarTunerApp()
    {
    Screen is the screen or basic framework of the user of RIM interface class.
    Screen = new MainScreen();
          
    lineButtons [0] = new GuitarStringButtonField (10, 480, Field.FOCUSABLE |) Field.USE_ALL_HEIGHT, 'E');
    lineButtons [0] .setChangeListener (this);
     
    lineButtons [1] = new VLineButtonField (10, 480, Field.FOCUSABLE, "A");
    lineButtons [1] .setChangeListener (this);
     
    lineButtons [2] = new VLineButtonField (10, 480, Field.FOCUSABLE, "B");
    lineButtons [2] .setChangeListener (this);

    lineButtons [3] = new VLineButtonField (10, 480, Field.FOCUSABLE, "C");
    lineButtons [3] .setChangeListener (this);
     
    lineButtons [4] = new VLineButtonField (10, 480, Field.FOCUSABLE, "D");
    lineButtons [4] .setChangeListener (this);

    lineButtons [5] = new VLineButtonField (10, 480, Field.FOCUSABLE, "E");
    lineButtons [5] .setChangeListener (this);
             
    Add a Horizontal field Manager that contains the custom button sample fields.
    HFM = new HorizontalFieldManager(HorizontalFieldManager.USE_ALL_WIDTH |)
    HorizontalFieldManager.NO_HORIZONTAL_SCROLL)
    {
    public int getPreferredWidth()
    {
    Return getManager () .getWidth ();
    }
                
    protected void sublayout (int maxWidth, maxHeight int)
    {

    Super.sublayout (maxWidth, maxHeight);

    * If I remove this loop, the buttons eat together on the left with

    most of the buttons has focus on the rest of the screen open at the time. *****

    for (int i = 0; i)< 6;="">
    {
    Field field = getField (i);
    setPositionChild (on the ground, 48 + 51 * i, 0);
    }
    }
    };
            
    Background bg = BackgroundFactory.createBitmapBackground (Bitmap.getBitmapResource ("funImage.png"));
    hfm.setBackground (bg);
            
    for (int i = 0; i)< 6;="">
    {
    HFM. Add (lineButtons [i]);
    }
        
    mainScreen.add (hfm);

    pushScreen (mainScreen);
    }

    ' Public Sub fieldChanged (field field, int context)
    {

    String text = "Button";
            
    If (GuitarStringButtonField instanceof field)
    {
    text = ((VLineButtonField) field) .getName ();
    }
                     
    Dialog.Inform (text + "was clicked.");
         
    }

    Never fails. Post something, then shortly after solve it. It turns out that the super.sublayout (maxWidth, maxHeight);

    was causing me problems. Remove that and setting the scope solved my problems.

  • clock sample question

    Hi ppl,

    I have a question for you.

    I have a very similar to the attached picture circuit. also you can find here (http://zone.ni.com/devzone/cda/tut/p/id/3615#toc4 , fig.2) I write some data on analog channels out and then I collect the data in the time loop. I don't understand what exactly is happening when I write the data in the buffer. Let's say I have a table of 2D 2-lines and 62500 columns that I want to write in the output analog channel, then read in the analog channel. I do not understand the meaning of the sample clock. (I read on operations 2 devices simultaneously and blah blah blah). What should be the sample clock frequency in the August channel and the channel of the ain and the number of samples per channel in the ain daqmx channel when I want to collect data? (http://zone.ni.com/devzone/cda/tut/p/id/2835; reading the data in example labview). My problem is that I do not understand what is happening when I load the August channel with data buffer; for example I put the sampling clock rate: 1000; meaning he will write each s 1000 samples of 62500 samples until the end of the samples; all of these samples that I drove from my out channel voltage piezo-beam-scanning engines. which means that each s piezo motors will get 1000 samples of tensions? now, I want to measure. should number of samples in the playback channel I put? I put my daqmx reading in the while loop. Let's say I put 100 Samper useful/channel. so, each itteration in while loop it will read the 1000 samples/channel buffer. How will I know that the buffer is already full with 1000 samples when ain channel tries to read?

    The process is therefore more; correct me please if I'm wrong. The sample clock will define us the buffer data rate. For example, I load the 2D matrix: 62500 2rows columns; It will load in the buffer and then there are these samples at the August channel of the rate defined in the clock sample string? Then I want to read from the channel of the ain. What sampling clock frequency should I set for the channel of the ain? If the sample clock rate for the playback channel sets the buffer? for example (I put it there 1000 samples/s; meaning it can read 1000 samples per second?) then what the number of samples should be in the read daqmx channel in the while loop?

    Please clarify me this point, I'm confused...

    Hi dimani4,

    There is a very comprehensive document that answers your questions. You can find this document here.

    This article explains the operation of the sample clock frequency and the DAQmx Read reading samples. Quoting the article: "On the hardware side, the Schedule VI DAQmx determines the flow rate of the device/sensor data at the hardware buffer on the data acquisition card.". Here is the 'Timing VI' the sample clock.  Then he also explained that "on the software side, the reading VI DAQmx determines the transfer of the data of the buffer material in the software". "." It is making reference to the samples to read the reading VI DAQmx.

    I hope this information specific to your questions.

  • How to change the color of the radio buttons on question slides

    Hello

    Can I change the color of the radio buttons (right now it is blue) on question slides?

    Thank you very much!

    Not out of the box and only for HTML output. Search for assets HTML option button is there. If replace you it with a custom chart... Here's the path on my system (I'm on Win 7)

    C:\Program Files\Adobe\Adobe Captivate 9 x64\HTML\assets\htmlimages

  • Need sample questions

    HI - anyone has the issue of sample or exams MOC question links to VCAP5. Please suggest,

    Thanks for the link to my blog Scott

    As Scott says there is no question simulated for the DCA because it is a review of laboratory and therefore there is no questions, but you can get an idea of the format of the exam from here based: http://mylearn.vmware.com/courseware/82526/VCAPDCA_Tutorial.swf

    With regard to the type of fake Sean Crookston idea made some to the VCAP4-DCA that are a good idea of the format of some of the issues you can see: http://www.seancrookston.com/?s=mock+lab

    Good luck. I recommend at least 50-60 hours of laboratory practice everything on renewal and Josh Coen and Jason Langers notes (if you are looking to make the VCAP5-DCA is)

    Gregg

  • Button "Skip" question does not

    I work with a template created by another company file and insert a question slide master slide. I realized that the skip custom keys do not work because they do not advance to the next slide. The Survolez States on the buttons do not work as well.

    Button "Skip" is passed to the next of the COP6 button go. From your previous posts, I assume you are using CP7.

    Check your installation > Preferences > Quiz > settings. It will be necessary: answer all - the user must answer each question to continue. Change it to option...

    Anthony

  • Help with button over the button (OnHover questions)

    I have a sat button A button B.  B button navigates to another point on timeline onmouseOut. A re acts as the B button onhover when hung on even though its only function is to go to a Web site when you click the button.  How to not to do so.  (it has something to do with the key a session over the B button that acts as a navigation panel.

    To illustrate, I have a circle (a ring) nagiavtion menu which is hover button B animtes, which actually look like the commuter ring to the Viewer.  When they mouse over button B he then times the next section of the scenario that seems to do the menu tilt back to normal.  So currently it is supposed to work like this:

    They hover over button B that comes alive to sign 10.  On board 10 the tilted wheel now has buttons of towing.  one to read a video and the other to go to the site for the link they flew over.

    When a person is placed on one of the buttons the tilting animation replays and retitls the wheels before the link becomes active to click which makes navigation uptight or bugged.  IWant the animation to play the 10 Panel and stay here, then they choose a button to click and only tilt back to normal when the user mouseout/mouseouthandler() the big underlying under button.

    Legitly evolves from the development of the object from one display to the other. Flash is required to send the MOUSE_OUT event as soon as your mouse cursor enters a new object because it is more on the previous object. This does not mean that you however he can only prevent.

    This is a pretty easy thing to manage with the code, but I need to know more about how to configure the button.

    Is the circle rotating a clip or a button? If it is a button that will take more work. If you have coded a MovieClip, then it will be easier.

    After that I know the answers to the above question, that the answer will result by setting just a few flags to know a condition. Once you have lost your drive in place and pop buttons on the screen, the MOUSE_OUT code will need to check that if you rode on all objects you do not want the drive to respond to the. I'll provide more code once you let me know how put you up.

  • Insertion of buttons on Question slides

    Hi all

    I'm on Mac CP5. In my module, I Dove immediately the learner in a scenario. If they can do it, fine; If this isn't the case, I want to help to be available. My plan was to have buttons to image on the slide where they could see an example, or watch a working tool. I tried just to insert a button on the question slide so I could navigate to another screen to provide help and now I see that CP5 allows me to add a button (or other standard objects) to a question slide. I also tried to copy and paste a button to another slide and that does not work either.

    How can I insert these additional navigation buttons on a slide in question? I did the quiz on option in the preferences.

    Thank you

    Kevin

    Hello Kevin,

    If you are using the Question slides coming with Captivate, you can not insert interactive objects: buttons, click boxes, text entry boxes. It is also not possible to insert the rollover slidelets or Zoom areas. You can insert other standard objects.

    I think I'm repeating something I already told you: If you want to have total control, especially if there is no declaration required for an LMS, create your own question slides. Do you have the link you asked for more details on creating question slides?

    If you want to stay with the default Question slides, you can maybe try to join an advanced action in pass/fail options.

    Also be careful if you have a "Quiz", which means that if you Question slides: you can not navigate to a slide outside the scope of Quiz, which begins with the first slide where something is orchestrated (usually a Question slide) and ends with the score slide. The setting to 'Optional' for the quiz settings change at all.

    Lilybiri

  • Another button in question nested movie clip

    Hello world

    Sorry to ask this type of question once again. I have searched for last 24 hours for a solution and lose the will to live. I am very new to AS 3.0 (and do not have much programming experience), so I guess that's a big part of the problem.

    Here's the situation: I have a clip on the main timeline (image 1), whose instance is called "Main_mc". In Main_mc, I had a few buttons, each defined in this way in the script:

    function goINFO (e:MouseEvent): void {}

    gotoAndStop ("INFO");

    }

    INFO_btn.addEventListener (MouseEvent.CLICK, goINFO);

    Everything worked very well. So I decided to put these buttons in a new clip ("Links_mc" on frame 1 of the 'Main_mc') so that I could add animation. Also, I moved the code above in the Planning Links_mc bar. Now, the buttons do not work. After some research, I understand that with the current code, marked executives must be in the same scenario as the buttons. I tried a number of things, none worked. These, for example:

    function goINFO (e:MouseEvent): void {}

    Main_mc.gotoAndStop ("info");

    }

    function goINFO (e:MouseEvent): void {}

    MovieClip (parent). Main_mc.gotoAndStop ("info");

    }

    All the advice I can get would be greatly appreciated!

    See you soon,.

    Robin

    Try:

    function goINFO (e:MouseEvent): void {}

    MovieClip (parent) .gotoAndStop ("INFO");

    }

    This requires a link inside the hand sits

    There are a few options for how you might code.  The code could stay in the main_mc and you could target the headphones to the buttons in the mc of the link.  Do not have the code to follow the buttons.

  • Transparent button Style question

    I created a new empty project 9 Captivate. I used the theme of white.

    In slide 1, I added a transparent button and set the button transparent by default style style

    shot1.png

    When I saw the program and hover over the button, I get (as expected)

    shot2.png

    But when I roll over the button, I have (not so expected)

    shot3.png

    This is the default style comes with Captivate and no changes have been made to the OSM

    shot4.png

    What is causing this problem and how can I fix it?

    KO

    Thanks for reporting this. Have you tried to replace the theme in the Public folder of the original and re-apply the theme?

  • Again text button nail questions

    I create a Blu - Ray menu for a blu - ray Disc I want to burn, and I'm having some trouble with the highlighting of buttons.

    The menu was the screen was created by the client in Adobe Photoshop and I went made the text to transform into buttons. I have created a group for each button folder and added the sign + in brackets as usual then put the = 1 in brackets in the text layer. I did this for each button. I have a total of 6 buttons on the menu.

    The first time I brought in, 3 out of the 6 buttons did not show until I previewed the menu and scanned on them with my mouse. I then came up with the idea to have the standard text showing (normal color) and have the version of 'button' under (the text changed to yellow color) which would underline when scrolling on.Screen shot 2012-05-03 at 1.22.59 PM.png

    It seemed that everything was fine after that. The three buttons that I saw not before are now visible and when I sailed on them they changed color. I thought a lot! Now the other 3 buttons should work too... but it didn't. I can see the text of the buttons, when I click on the button in the preview, it goes to the video on the right, but is not to highlight the text when I scroll over it like the others.

    In the image above, the titled buttons playing movie, Behind The Scenes, & trailer. No work buttons are: The Making Of Teaser and another not shown. All groups are exactly the same except for the name of the button.

    I came across 'create text subpicture' and when I did, in the preview, he created the button with the same text, but it was sawed and not to all aligned on the original text.

    Y at - it something I am doing wrong? Or anything I should change?

    I use a desktop MAC OS x 10.6.8 computer

    Photoshop CS5.1

    Still CS5.1

    Thanks for any help.

    Matt

    When I posted the message I decided to change the numbers = in those who did not work = 1 = 2 = 3 as those that were working before and now everything works... it doesn't seem to like = 4 = 5 = 6...

    Thanks for the reply of Stan. I don't have the chance to try your suggestion, but I don't know that it would have been useful. Thank you once again!

  • Button menu/Question

    I'm building a menu in Encore CS5 and trying to fix it so that when a button is selected the text changes color and opens a selection next to the text tool (two separate colors).

    I managed to do by having both as separate strengths, but the text overlay is obviously really poor quality and made it seem terrible text.  Unfortunately, the client wants this leitmotif, so I thought I'd look through several menus, but don't really know where to start.

    Y at - it a tutorial or something that can show me how it works so when you press the remote, instead of going the next button, it climbs to another menu (I can change text colors without using the highlights in this way)?

    Sorry, I'm a bit of a beginner in yet.  I have the habit of using DVD Studio Pro and has done in this program, but do not have access to it more.

    Thanks for your help.

    Each menu 1 button is bound to a different menu, which is identical except for the highest point in the position of button. The "up and down" (any action navigation that movies in the button position) translates the activation button (i.e. not the "select behavior, but the behavior of activating this button in this menu"). The link is its another menu, where it seems to "selected". In this menu, as it relates to his film, while hitting enter plays the movie.

    Sorry I can't find the tutorial, I thought that someone did on it.

    Edit: FYI, this does not work on a computer using the mouse as a passage of the mouse does not select the button. If your playback software has a 'distance', this will work.

  • The button Overrides Question Encore CS5

    Hey everybody.

    I added the chapter points editing simple and then linked these to buttons of menu chapter points correspondent. These chapters will be considered by the chapter selection menu.  After a chapter has been seen, I want the user to be returned to the chapter selection menu. So, I put the substitution for the menu buttons to return to the menu.

    But it does not work

    SO...

    How create chapters in a unique scenario and that the user to return to the once chapter selection menu chapter has been seen?

    Thank you

    I don't have a second look, but if you did what you say, it should work. But replacements can be tricky.

    However, the two most recommended current methods (for DVDs, the first does not work on bluray) is

    (1) to create a single chapter, list reading chapter by chapter, with an end on each chapter of playlist action to return to the menu.

    or

    (2) makes each chapter its own assets (of creation) and his own scenario. Then, each chapter is a timeline (and the end of editing action is on the menu), and make you a playlist (not a chapter playlist) for all room.

    Their are no substitutions and no action on the chapters end.

  • Button code question

    Let's say I have a "circle_btn" button in a flash file a picture.  The circle is supposed to be hidden, so I have this button, the value 0% alpha.  What code can put in AS3 so that once the user clicks on the 'invisible' button, a large chart with an X appears on it?

    You will need to use a movieclip for the X symbol, not a graphic symbol, because you must assign an instance name to target with code.

    So if you call it "xName" you would start code that makes the invisible X immediately...

    xName.visible = false;

    and where the Manager works for the circle button you would use...

    xName.visible = true;

  • drop-down button: menu question text color change

    Hi guys,.

    I made a menu flash; four buttons each with a roll on the menu drop down.

    I am able to change the color of the buttons of reversal, but I cannt figure out how to change the color of the text within a button, on turnover.

    Here's what I mean: under the portfolio, the text color changes from black to white on each button.

    Can someone explain?... Please?

    create a button.  in the high setting add text static with what ever the properties you want.  in the framework add static text with different properties.  Repeat the test.  any problem?

Maybe you are looking for