Problem with button in Interaction training

I created a Flash file with 4 questions 'Virgin field' (training within Flash CS3 Interactions) in the end I then use the SWF in two different ways. A way simply load the SWF in a 'stand-alone' page on my site and it works perfectly.

The other way I want to use it is integrated in a more complex site, where I have a Flash file in which swf files are loaded when needed. In this version don't change not the button 'control' to 'Check the answer' and 'Reset' as it should and does not work the whole issue.

The working version is http://web.me.com/ginneswatsonkelso/New_Chemical_Resources/Name_Isomers_Alkanes.html

Select "4 For You to Try" to go directly to the Quiz Questions.

The non-working version is at http://web.me.com/ginneswatsonkelso/New_Reaction_Pathways/New_Reaction_Pathways.html

Go to the 'Extras' in the Menu and select Naming isomers alkane, then '4 For You to Try' again.

I use ActionScript2 and nec Player 9.

When you load a Flash file in a web page, the web page becomes the reference for loading to the swf file, which means that if you have SWFs in a different folder of the html, but target you other sovereign wealth funds in this a swf as if they were in the same folder, you will be off-target.  Once the swf file is loaded into the web page, it works mainly on the record of this web page and anything he's trying to load should be targeted as such.

Tags: Adobe Animate

Similar Questions

  • Problem with buttons to quick launch on HP Pavilion dv6-2090eo notebook pc

    Hey

    I have problem with my laptop, the button, mute and wifi sound suddenly stopped working from one day to the other. I can't turn off the sound and turn on wifi, so it is a huge problem for me and I don't know how to solve this problem, I hope some of you could help me solve the problem?

    My product number is: VS078EA #UUW

    I hope you can help me...

    Hello

    Try the following.

    Shut down the laptop, remove the AC adapter and remove the battery.  Press and hold the power button for a minute, then reinsert the battery, plug in the power adapter and start the laptop.

    Kind regards

    DP - K

  • Problems with getting an interactive E-book created in ID CS6 to work with ID CC 2015

    Hi all

    I have a problem with an e-book that I created with Indesign CS6.  He has slideshows, blocks of video image, zoomable and scrolling text boxes between assets. It was never published but was over and I was able to do work through the constructor app let me see on Viewer Adobe on my Ipad. Here, everything works perfectly. Since then, I changed cs6 to 2015 for CC and now I have problems.

    I wan't to make some corrections to the origianl design and content and publish correctly. When I open the various documents that the book consists of (a document PR. Chapter of the book) it is no longer the option to create the app that I used in the old CS6. When I export a chapter the ibooks app opens and opens the chapter, well but some interactive things do not work: my slide show does not automatically change the slide it's supposed to, I also have a zoom in the window of a drawing I did and all the boxes scrolling with text and drawings do not work either. Video clips to work however. When I check the slide show options in the document, they seem to look ok. Now my questions are:

    How do these things work?

    What is the difference in the CS6 and CC 2015?

    Can someone direct me to some tutorials that can help me solve the problem?

    I really hope someone can help I would like to finish my project I've been working on for a long time...

    Thanks in advance

    Berit

    This isn't an EPUB, it's a DPS folio. Some of the effects of work, some do not, but the overlays Panel won't be any help.

    You can add scrolling images with this: universal scrolling frames | Ajar Productions

    Pan and zoom is not supported and are neither self running slideshows. If you can give us more details, perhaps alternatives can be provided but be very specific as to how you plan on the publication of this.

  • Problem with button Flash HTML Canvas document click on opening multiple browser windows

    Here is the code I use. When I click on the buttons, they open a new browser window.

    If I go back to the new buttons and click on them, they open two browser windows.

    If I repeat the process again a click will open three windows, etc. etc.

    It does in 6.1.6 Safari and in Firefox 35.0.1 but it functions correctly - just open a browser by clicking window, in Google Chrome.

    What I'm doing wrong or is it a problem with the browsers themselves?

    / * Click here to go to the Web Page

    Click on the specified symbol instance loads the URL in a new browser window.

    Directions for use:

    1. replace http://www.adobe.com with the desired URL.

    Keep the quotation marks ("").

    */

    this.learnMore2.addEventListener ("click", fl_ClickToGoToWebPage_6);

    function fl_ClickToGoToWebPage_6() {}

    window.open ("http://www.google.com", "_blank");

    }

    / * Click here to go to the Web Page

    Click on the specified symbol instance loads the URL in a new browser window.

    Directions for use:

    1. replace http://www.adobe.com with the desired URL.

    Keep the quotation marks ("").

    */

    this.bookingRequest2.addEventListener ("click", fl_ClickToGoToWebPage_7);

    function fl_ClickToGoToWebPage_7() {}

    window.open ("http://www.apple.com", "_blank");

    }

    Gotcha now.

    I found this thread, can be to the address you are looking for.

    Flash html5 canvas opens several tabs when the animation loop

  • problems with button with a sign works sometimes.

    Hi all

    I have problems with the + button at the top right. It "really hard to click the triangle! You tell me as the problem!

    Sorry for my English.

    Vito

    Hello

    simple, I had to hold down the button and do not click!

    By Vito

  • Problem with button state

    Hello! I want to create a button with text. The State of the button should be the title of the text and the pointed State will be a paragraph with a rectangle in the background and the title disappears.

    I converted the title as button and I leave the paragraph text and draw the rectangle.

    My problem is when my mouse went hover title, nothing happened and when I went to move the paragraph box and rectangle, they seemed.

    Cannot choose the hover box? Can I create additional layers for rectangle and paragraph?

    The first time I try to create this button, he had run, but when I replace a bad shot.

    I'm working on the professional Flash CS6 and I use AS2. For example, I don't use THAT on my button, there is only 1 text converted to (title) button, 1 shape (rectangle) and 1 text (button).

    Fight with a button make me sick, if nursing Flash can cure my illness there will be great

    Good bye

    Tom

    If the invisible things in hover is the cause the invisible substance appears then looks that you have placed such things (text and background) under Hit of the button.  The image clicked sets where the button interaction can occur.   Make sure that you place only stationary flight controls in the frame over and no one else.

  • Problem with button 'Load' and Boolean reset

    Hello...

    I've built a simple VI to load a file ascii with 100 values, split the file into 4 segments (overlap of 50%) and perform the calculation of the SUM of the segments. Each segment is represented by a graph and has a LED that, when is ON means that the segment will be used for the calculation of the SUM, when the LED is OFF this segment will not be used for the calculation.

    I have two problems:

    First: I inserted a button load and I need when I push the button, a window open and allowed me to select the ascii file to load, after that I analyzed segments and take note of the AMOUNT, I want to again press the Load button and load another file to analyze. The problem is that the works of load button only once, on the second file that I try to load, button freezes pushed and nothing happens and I need to stop the VI and run it again.

    Second: by default, I need that after I push the Load button to load another file ascii state that all the LEDS change STATE. In other words, by default all 4 LEDS should be lit when a new file is loaded.

    Thanks in advance

    Daniel


  • Problems with button in AS3 in CS5

    I tried to get a simple button to work, but I am having trouble.

    How do you define the name of a button? I tried to put in the library as "button1" but my actionscript:

    Stop();

    Button1.addEventListener (MouseEvent.CLICK, advance);

    function advance(event:MouseEvent) {}

    gotoAndStop (5);

    }

    does not work; in fact, even the stop command does nothing and it does the trick of his five images.

    If I can replace "button1" 'stage' stop command functions, but then the button is not the trigger - clicking anywhere jumps to the frame 5.

    I think the problem I have is with the "button1.addEvent...". "line. I do not know how to connect my photo from the button with "button1".

    I called button1 and I tried to check "export for Actionscript and set button1 as the class, but none of this has worked.

    This problem might have to do with the fact that I'm not administrator on this computer?

    Drag your button from the library onto the stage.  in the properties panel, you can assign a name of "instance". for example, button1.   You can now reference this object in actionscript using button1.

    If your button is already on the boards, click it to select it.  then in the properties panel assign the name of the instance.

  • problem with button events

    I have 3 events in a loop each event are air-conditioned with change of the value of a button, so we have 3 buttons in totall, now, when I press each button, each event works fine, but when I press them again once I expect to run again but it isn't so it runs only once , this should an event to just run only once? and the while illtierate only 1 time when 3 buttons value change (when all events are run)

    As well as the validation of your code, don't forget - if you try to use the Boolean controls locked in the Structures of the event, you must place the control inside the structure itself to ensure that it works correctly. Do not do this often can result in behavior that you're talking about.

    For more information on the Structures of the event:

    http://zone.NI.com/reference/en-XX/help/371361J-01/lvhowto/caveatsrecmndtnsevnts/

  • Major problem with button in apex

    Hi all


    I have uplaoded dhtmlxcombo.js files in apex under static files.
    Now I created buttons in my report. whne I'm clicking this button I am geeting this error as "the Web page is not found.

    But when I tried to remove the js file, this button it works very well. can any body help me to reolve this problem.

    Thank you
    David...

    Could you give us more details (apex html version, etc.) or provide a demo of APEX ORACLE workspace?

  • Problem with button to open the .exe in a subfolder

    Hi all

    I have a problem:

    I need to create a flash presentation where there are two buttons which, when clicked, each will install a different program.

    The problem is the following: these files. Exe files are in a subfolder like this:

    Certisign

    -> Certisign

    -> AICCertisign.exe

    AICOAB

    -> Certisign

    -> AICOAB.exe

    I created the fscommand folder these files inside it and Action Script in flash, made as follows:

    programa1.onRelease = function() {}
    fscommand ("exec", "Certisign/AICCertisign.exe");
    }

    programa2.onRelease = function() {}
    fscommand ("exec", "AICOAB/AICOAB.exe");
    }

    But when you generate the executable presentation, write on a CD and try to run the facilities by clicking on the buttons that don't work;

    Please could someone help me?

    that I could not tell you.

    I would say only he was created by dino rogers and was attached to this forum about 5 or 6 years ago.  due to a revision of forum major adobe several years ago, his message link and the file may no longer exist.

  • Problem with buttons

    The guy who has worked in this company who wrote the code. I'm trying to change it so I can add some features. Originally it has generated 2 buttons, one for "finishing" a laboratory and another to 'jump' tour. I try to add a "Help button" to the mix. In ExitPanel.as , I add an instance of ExitButton called HelpButton. It seems to work very well. The button appears on the laboratory controller. The only thing I have changed here was the variable passed when I create a new instance of ExitButton. He used a Boolean variable and I changed it to a string because I need more then the 2 buttons (now happening 'Finish', 'skip' and 'help').

    The problem now is that the buttons do not work. The gradient is not displayed, the buttons are more clickable, and hover above does not work. Only thing I changed in ExitButton.as was the _Finish to a string of boolean. Then make the addition of a otherwise if a couple if the else statements to allow the 3rd button. Any help would be greatly appreciated.

    ExitPanel.as

    package labsplayer

    {

    import flash.display. *;

    SerializableAttribute public class ExitPanel extends MovieClip

    {

    private var ControlsHeight:int = 40;

    private var margin: int = 15;

    private var FinishButton:ExitButton;

    private var SkipButton:ExitButton;

    private var HelpButton:ExitButton;

    public void ExitPanel(param1:int)

    {

    graphics.beginFill (4410984, 1);

    graphics.drawRect (0, 0, param1 this.) ControlsHeight);

    This. FinishButton = new ExitButton ('finish');

    This. FinishButton.x = ((param1/2)-(this.) FinishButton.width / 2))-(marge + ce.) FinishButton.width);

    This. FinishButton.y = (this. ControlsHeight - this. FinishButton.height) / 2;

    addChild (this. FinishButton);

    This. SkipButton = new ExitButton ("skip");

    This. SkipButton.x is this. FinishButton.x + this. FinishButton.width + this. Margin;

    This. SkipButton.y = (this. ControlsHeight - this. SkipButton.height) / 2;

    addChild (this. SkipButton);

    This. HelpButton = new ExitButton ("help");

    This. HelpButton.x is this. SkipButton.x + this. SkipButton.width + this. Margin;

    This. HelpButton.y = (this. ControlsHeight - this. HelpButton.height) / 2;

    addChild (this. HelpButton);

    return;

    } / / end of function

    public void DisableButtons(): void

    {

    This. FinishButton.alpha = 0.2;

    This. FinishButton.Disable ();

    This. SkipButton.alpha = 0.2;

    This. SkipButton.Disable ();

    This. HelpButton.alpha = 0.2;

    This. HelpButton.Disable ();

    return;

    } / / end of function

    public void EndDisable(): void

    {

    This. FinishButton.alpha = 1;

    This. FinishButton.Enable ();

    This. SkipButton.alpha = 1;

    This. SkipButton.Enable ();

    This. HelpButton.alpha = 1;

    This. HelpButton.Enable ();

    return;

    } / / end of function

    }

    }

    ExitButton.as

    package labsplayer

    {

    import flash.display. *;

    import flash.events. *;

    flash.external import. *;

    flash.filters import. *;

    import flash.geom. *;

    flash.net import. *;

    import flash.text. *;

    Import globalclasses.*;

    SerializableAttribute public class ExitButton extends MovieClip

    {

    private var _Complete:Boolean = false;

    private var _Finish:String = null;

    private var _Disabled:Boolean = false;

    private var BTNHeight:int = 20;

    private var BTNWidth:int = 100;

    private var Glow: BitmapFilter.

    private var LOG: LogType;

    private var LoadAnimation:Loader;

    public void ExitButton(param1:String)

    {

    This. LOG = new LogType();

    Font.registerFont (ButtonFont);

    This ._Finish = param1;

    var _loc_2: * = new MovieClip();

    var _loc_3: * = this. GetInnerGlowFilter();

    var _loc_4: * = this. GetBevel();

    var _loc_5: * new matrix());

    new .createGradientBox (matrix) (this. BTNWidth, this. BTNHeight, Math.PI / 2);

    _loc_2.Graphics.beginGradientFill (GradientType.LINEAR, [13423584, 12239829, 14081254], [1, 1, 1], [0, 120, 140], _loc_5, SpreadMethod.REFLECT);

    _loc_2.Graphics.drawRoundRect (0, 0, this. BTNWidth, this. BTNHeight, 8);

    _loc_2.filters = [_loc_3, _loc_4];

    addChild (_loc_2);

    var _loc_6: * = new TextField();

    var _loc_7: * = new TextFormat ("Arial", 13, 1982305, true);

    _loc_6.AutoSize = TextFieldAutoSize.LEFT;

    _loc_6.defaultTextFormat = _loc_7;

    _loc_6.border = false;

    If (this._Finish.toLowerCase () is "finish")

    {

    _loc_6.text = "complete";

    }

    ElseIf (this._Finish.toLowerCase () == 'skip')

    {

    _loc_6.text = "Skip";

    }

    on the other

    {

    _loc_6.text = 'help ';

    }

    _loc_6.x = (this. BTNWidth - _loc_6.width) / 2;

    _loc_6.y = (this. BTNHeight - _loc_6.height) / 2;

    _loc_6.selectable = false;

    addChild (_loc_6);

    var _loc_8: * = new MovieClip();

    new MovieClip (). graphics.beginFill (65280, 0);

    _loc_8.Graphics.drawRoundRect (0, 0, this. BTNWidth, this. BTNHeight, 6);

    _loc_8.buttonMode = true;

    _loc_8.addEventListener (MouseEvent.CLICK, this.) ClickHandler);

    _loc_8.addEventListener (MouseEvent.MOUSE_OVER, this.) MouseOverHandler);

    _loc_8.addEventListener (MouseEvent.MOUSE_OUT, this.) MouseOutHandler);

    addChild (_loc_8);

    var _loc_9: * = new URLRequest("lib/LoaderSmall.swf");

    This. LoadAnimation = new Loader();

    This. LoadAnimation.load (_loc_9);

    This. LoadAnimation.scaleX = 0.85;

    This. LoadAnimation.scaleY = 0.85;

    This. LoadAnimation.x = _loc_6.x - 16;

    This. LoadAnimation.y = 2;

    return;

    } / / end of function

    private void GetOuterGlowFilter(): BitmapFilter

    {

    var _loc_1:Number = 16777215;

    var _loc_2:Number = 1;

    var _loc_3:Number = 4;

    var _loc_4:Number = 4;

    var _loc_5:Number = 0.5;

    var _loc_6:Boolean = false;

    var _loc_7:Boolean = false;

    var _loc_8: * = BitmapFilterQuality.HIGH;

    return new GlowFilter (_loc_1, _loc_2, _loc_3, _loc_4, _loc_5, _loc_8, _loc_6, _loc_7);

    } / / end of function

    private void GetInnerGlowFilter(): BitmapFilter

    {

    var _loc_1:Number = 16777215;

    var _loc_2:Number = 0.5;

    var _loc_3:Number = 2;

    var _loc_4:Number = 2;

    var _loc_5:Number = 3;

    var _loc_6:Boolean = true;

    var _loc_7:Boolean = false;

    var _loc_8: * = BitmapFilterQuality.HIGH;

    return new GlowFilter (_loc_1, _loc_2, _loc_3, _loc_4, _loc_5, _loc_8, _loc_6, _loc_7);

    } / / end of function

    private void GetBevel(): BitmapFilter

    {

    var _loc_1:Number = 1;

    var _loc_2:Number = 45;

    var _loc_3:Number = 13095140;

    var _loc_4:Number = 1;

    var _loc_5:Number = 10528955;

    var _loc_6:Number = 1;

    var _loc_7:Number = 1;

    var _loc_8:Number = 1;

    var _loc_9:Number = 2;

    var _loc_10: * = BitmapFilterQuality.HIGH;

    var _loc_11: * = BitmapFilterType.INNER;

    var _loc_12:Boolean = false;

    return new BevelFilter (_loc_1, _loc_2, _loc_3, _loc_4, _loc_5, _loc_6, _loc_7, _loc_8, _loc_9, _loc_10, _loc_11, _loc_12);

    } / / end of function

    private void MouseOverHandler(event:Event): void

    {

    If (! this ._Disabled)

    {

    This. Glow is this. GetOuterGlowFilter();

    filters = [this. Glow];

    }

    return;

    } / / end of function

    private void MouseOutHandler(event:MouseEvent): void

    {

    If (! this ._Disabled)

    {

    This. Glow = null;

    filters = null;

    }

    return;

    } / / end of function

    private void ClickHandler(event:MouseEvent): void

    {

    var _loc_2: * = undefined;

    If (! this ._Disabled)

    {

    _loc_2 = this.parent;

    _loc_2.DisableButtons ();

    If (this._Finish.toLowerCase () is "finish")

    {

    ExternalInterface.call("saveglobalscore",score) ("MediaLog", this.) NEWSPAPER. LAB_FINISH);

    ExternalInterface.call("saveglobalscore",score) ("MediaFinish");

    }

    ElseIf (this._Finish.toLowerCase () == 'skip')

    {

    ExternalInterface.call("saveglobalscore",score) ("MediaNext");

    }

    else {}

    Action aid

    }

    addChild (this. LoadAnimation);

    }

    return;

    } / / end of function

    public void Disable(): void

    {

    This ._Disabled = true;

    return;

    } / / end of function

    public void Enable(): Sub

    {

    This ._Disabled = false;

    If (contains (this. LoadAnimation))

    {

    removeChild (this. LoadAnimation);

    }

    return;

    } / / end of function

    }

    }

    in fact, should really be

    var _loc_5:* = new Matrix();
    _loc_5.createGradientBox(this.BTNWidth, this.BTNHeight, Math.PI / 2);
    

    and

     var _loc_8:* = new MovieClip();
    _loc_8.graphics.beginFill(65280, 0);
    

    My first suggest should work I prefer just the presentation of the second post

  • Problem with buttons in the table header repeated

    I have a bunch of respective tables that expand/collapse at the simple click of a button in their header lines.

    The problem I have is when a table to another page that the button does not work in header repeated - scripted value isn't what makes the repeat button (I also tried the checkboxes).

    Is there a way to get there? Should I try using variables to store a flag or something like that?

    https://Acrobat.com/#d=m7zuQYiUoFrtz5isD7rErQ

    You can use the layout methods to tell you if your table spans two pages or one and if she can't you change the + to a - for all instances of this button. The code would look like this on the Initialize event. :

    If

    (xfa.layout.pageSpan (this.parent.parent) > 1) {

    this.resolveNode("caption.value.#text").value

    = "-";

    }

    It works fine but if I click the button on the second page then the 1 button on the page is out of sync and needs to be reset as well.

    Paul

  • problem with buttons in a clip

    Hello

    I created a video in which I put several buttons... the idea is to create a menu that falls under the botton to give the choice of subclass several... Example for my support of botton, I want a delete submenu under with the buttons 'video' 'music' "photo".

    I am using flash CS3 and I created a picture on my calendar, the end of the menu animation a fall, with the manuscript of the action that follows:

    Stop()

    photo.addEventListener (MouseEvent.CLICK, b5);

    function b5(e:MouseEvent):void {}
    root.gotoAndPlay ("Pho") ;}

    The idea is to release the clip of 'media' that contains buttons and go to Pho label on my main stage.

    for help in the forums, you must copy and paste your error message, if you see one.

    in this case, I believe that this will stop the error message:

    Stop()

    photo.addEventListener (MouseEvent.CLICK, b5);

    function b5(e:MouseEvent):void {}
         MovieClip (root) .gotoAndPlay ("Pho") ;}

  • Problem with button 'Over' State

    I am just learning flash. I created a rectagle and converted to a button symbol. I got it so that it changes color when someone will find their mouse over it. However, I need the text there, too. My problem is that the symbol comes back to its original color when the mouse is over the text. I tried to make the text in the symbol, and I also tried to put above the symbol on the stage.

    I need the rectangel to stay in his "Over" State even when the mouse is over the text. Is this possible?

    Ian

    In the properties panel, make sure that the TextField is not defined to be selectable.  There is an icon it for this property activation or deactivation.

Maybe you are looking for

  • Replacement of driver authentic

    Hello, is it possible for my hp laptop of 2009 have a driver dated 06/21/2006 (version 6.1.7601.17514 driver).  I need to know if I am being ripped off or if it is normal.

  • Problems with my WiFi connection

    I have a laptop series satellite and I have a problem with my wifi, I connect to my router but often I get disconnected, when I run a game + application full screen in front of it-online a break, when I am connected through ethernet I don't have this

  • Change the settings of the BIOS on the Machines in bulk

    I need to change the settings of the Legacy BIOS in the UEFI on machines in bulk instead of this manual, model lenovo is the E93Z, is there any kind of tool can do this in bulk or any mechanism Please update me

  • Strange to 'Find' pattern-block behavior

    The attached JPG shows two instances circled a VI entitled "AO a PT" which is AO Channel.vi to update.  In total there are known to be 11 instances in this VI.  The lower half of the image shows the window "search". If I select the instance on the le

  • Yoga 2 memory virtual Pro

    I noticed that when the system automatically allocates the size of the file, currently the allocated size was significantly smaller than the recommended size. Anyone have this? Or should I manually change to the recommended size?