Movieclip buttons actionscript errors

Hi,
I have tried using this type of button for the first time and
also ActionScript.
I have made a movie clip with _up and _over states and it
works.
But the onRelease is doing two strange things.
Firstly, If I click on a button it will go to the page, say
"Home" but when I click on it again it will make the movieclip for
the page disapper.
I then have to click again to get it back.
Secondly, I am trying to make the buttons work with the
rollOver when another button is clicked, a button other than the
one used to show the current page.
I have it kind of working but its not now I want it.

For this line of code:
if (_root.mcHome != "_on")
You appear to be trying to use what is a frame label as a
value compare to the movieclip instance... they will never equate.
One is an object and the other is...??? a label.
You probably need to set a boolean variable to true/false as
needed and compare that...
So when you do whatever makes mcHome goto the _on location,
at that location you would set the variable to be true...
mcHomeOn = true;
Then you could test that value...
if(mcHomeOn)...

Similar Messages

  • MovieClip buttons inside a MovieClip button inside another MovieClip button

    I am trying to make a Portfolio of my study abroad experience and can get something right about the movie clip buttons inside each other. I have a button to click on titled "travel" and a window shows up with more movieclip buttons to organize different locations of pictures. I can click on the button to have to slide of pictures but nothing happens. I have the "turnOffAllButtons"  coding and  also have the coding for stay clicked, but I can't get the 3rd set to show up. what am i not doing?
    I don't have any errors or output comments showing up

    I have it working now. what I did, I make a slideshow setup (gotoAndStop(1);) in a specific frame and the code I put in for the next, didnt work.
    this is was I have now, without the "turnOffAllButtons" coding:
    Main Button (actions Layer):
    stop();
    travelButton_mc.buttonMode=true;
    travelButton_mc.addEventListener(MouseEvent.ROLL_OVER, colorizetravelButton);
    function colorizetravelButton(givenEvent:MouseEvent){
      if (givenEvent.currentTarget.currentFrame != 50)
      travelButton_mc.gotoAndPlay(2);
    travelButton_mc.addEventListener(MouseEvent.ROLL_OUT, decolorizetravelButton);
    function decolorizetravelButton(givenEvent:MouseEvent){
      if (givenEvent.currentTarget.currentFrame != 50)
      travelButton_mc.gotoAndPlay(21);
    travelButton_mc.addEventListener(MouseEvent.CLICK, loadtravelLocations);
    function loadtravelLocations(givenEvent:MouseEvent){
      travelButton_mc.gotoAndStop(50);
      travelLocations_mc.gotoAndPlay(1);
    Inside the travelLocations_mc I have currently one button to show a slide of pictures, this is the second layer of buttoncode:
    stop();
    scotlandButton_mc.buttonMode=true;
    scotlandButton_mc.addEventListener(MouseEvent.ROLL_OVER, colorizescotlandButton);
    function colorizescotlandButton(givenEvent:MouseEvent){
      if (givenEvent.currentTarget.currentFrame != 50)
      scotlandButton_mc.gotoAndPlay(2);
    scotlandButton_mc.addEventListener(MouseEvent.ROLL_OUT, decolorizescotlandButton);
    function decolorizescotlandButton(givenEvent:MouseEvent){
      if (givenEvent.currentTarget.currentFrame != 50)
      scotlandButton_mc.gotoAndPlay(21);
    scotlandButton_mc.addEventListener(MouseEvent.CLICK, loadscotlandInfoPage);
    function loadscotlandInfoPage(givenEvent:MouseEvent){
      scotlandButton_mc.gotoAndStop(50);
      scotlandInfoPage_mc.gotoAndPlay(1);
    I turned the alpha up so you can see the mc that loads
    I currently have a keyframe at 60 with a code of stop(); so the travelLocations_mc will still
    does this make sense?

  • Movieclip button in movieclip?

    i have put the attached code in a frame, that's in a
    movieclip. gotei13_thumbnail is a movieclip, that's in the same
    movieclip as the script.
    why does this not work?
    if i copy the script to a frame on the main timeline, and
    copy gotei13_thumbnail to the main timeline, it works just fine.
    i'm guessing there's some more script i have to add?
    please help me, asap. thank you.

    i tried that
    what i get is
    "**Error** Symbol=charactersPage_mc, layer=gotei 13,
    frame=185:Line 1: Statement must appear within on/onClipEvent
    handler
    this.onRollOver = function(){
    **Error** Symbol=charactersPage_mc, layer=gotei 13,
    frame=185:Line 4: Statement must appear within on/onClipEvent
    handler
    this.onRollOut = function(){
    Total ActionScript Errors: 2 Reported Errors: 2"

  • An ActionScript Error

    Hi, I'm creating an Adobe Air Application.
    Why does everytime I click a button which calls the HTTPService an ActionScript Error displays, it says
    [RPC Fault faultString="Default decoder could not decode result" faultCode="Client.CouldNotDecode" faultDetail="null"]
        at mx.rpc.http::HTTPService/http://www.adobe.com/2006/flex/mx/internal::processResult()[C:\autobuild\3.2.0\frameworks\ projects\rpc\src\mx\rpc\http\HTTPService.as:881]
        at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::resultHandler()[C:\autobuild\3.2.0\frameworks\ projects\rpc\src\mx\rpc\AbstractInvoker.as:188]
        at mx.rpc::Responder/result()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx\rpc\Responde r.as:43]
        at mx.rpc::AsyncRequest/acknowledge()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx\rpc\ AsyncRequest.as:74]
        at DirectHTTPMessageResponder/completeHandler()[C:\autobuild\3.2.0\frameworks\projects\rpc\s rc\mx\messaging\channels\DirectHTTPChannel.as:403]
        at flash.events::EventDispatcher/dispatchEventFunction()
        at flash.events::EventDispatcher/dispatchEvent()
        at flash.net::URLLoader/onComplete()
    This is my code
    <mx:Button y="169" label="Save Project" horizontalCenter="-524" id="saveProj_btn" click="propProjhttp.send()" enabled="true"/>
    After I click this Button it will call the HTTPService
    <mx:HTTPService id="propProjhttp" url="propProj.php" useProxy="false" method="POST" showBusyCursor="true">
            <mx:request xmlns="">
            <projNameTI>
                {projNameTI.text}
            </projNameTI>   
            <locationTI>
                {locationTI.text}
            </locationTI>
            <ownerTI>
                {ownerTI.text}
            </ownerTI>
            <materialCostTI>
                {materialCostTI.text}
            </materialCostTI>
            <contCostTI>
                {contCostTI.text}
            </contCostTI>
            <laborCostTI>
                {laborCostTI.text}
            </laborCostTI>
            <totalCostTI>
                {totalCostTI.text}
            </totalCostTI>
            </mx:request>
        </mx:HTTPService>
    Can someone please tell me how to solve this... thank you!

    How is the data returned formatted, as XML? If so is it well formatted? Perhaps you need to use the HTTPService resultFormat property, setting it to e4x for XML return data or to something else if the data returned is not XML.
    If this post answers your question or helps, please mark it as such.
    Greg Lafrance
    www.ChikaraDev.com
    Flex Development, Training, and Support Services

  • OpenScript ActionScript Error from Adobe Flash Player 9

    I get a popup ActionScript Error from Adobe Flash Player 9 when trying to record a Flex Tree object using OpenScript 9.2.1.0 Production. Specifically, I click on the Triangle that opens/closes the view of the child nodes underneath the parent node of a Tree. Initially, the triangle arrow already pointing down and the child node is already showing. When I click on the triangle, the node underneath goes up and disappears under its parent node and the traingle is then pointing to the parent node.
    When I click this triangle in Firefox without OpenScript recording, I don't get any errors, popups, or issues. It seems to work correctly. During OpenScript recording, the recording seems to crash with a popup that is titled "Adobe Flash Player 9" and has the text "An ActionScript error has occurred" with the following error message:
    Error: Unable to find automation method 'mx.events.TreeEvent' for class '[object OSAutomationClass]'.
         at mx.automation::AutomationManager/recordAutomatableEvent()[C:\work\flex\dmv_automation\projects\automation\src\mx\automation\AutomationManager.as:1680]
         at mx.automation.delegates.core::UIComponentAutomationImpl/recordAutomatableEvent()[C:\work\flex\dmv_automation\projects\automation\src\mx\automation\delegates\core\UIComponentAutomationImpl.as:281]
         at flash.events::EventDispatcher/dispatchEventFunction()
         at flash.events::EventDispatcher/dispatchEvent()
         at mx.core::UIComponent/dispatchEvent()[E:\dev\3.1.0\frameworks\projects\framework\src\mx\core\UIComponent.as:9156]
         at mx.controls::Tree/http://www.adobe.com/2006/flex/mx/internal::dispatchTreeEvent()[E:\dev\3.1.0\frameworks\projects\framework\src\mx\controls\Tree.as:3334]
         at mx.controls::Tree/http://www.adobe.com/2006/flex/mx/internal::onTweenEnd()[E:\dev\3.1.0\frameworks\projects\framework\src\mx\controls\Tree.as:2193]
         at mx.effects::Tween/endTween()[E:\dev\3.1.0\frameworks\projects\framework\src\mx\effects\Tween.as:524]
         at mx.effects::Tween/http://www.adobe.com/2006/flex/mx/internal::doInterval()[E:\dev\3.1.0\frameworks\projects\framework\src\mx\effects\Tween.as:565]
         at mx.effects::Tween$/timerHandler()[E:\dev\3.1.0\frameworks\projects\framework\src\mx\effects\Tween.as:179]
         at flash.utils::Timer/_timerDispatch()
         at flash.utils::Timer/tick()
    I can click "Dismiss All" from the Adobe popup and Firefox isn't affected. Openscript doesn't appear to have any issues and the recording can be continued or stopped. It records the click on the tree and the "Dismiss All" from the popup both as "Click object("@id='main'") as type "web" instead of "flexFT".
    I am using OATS 9.2.1.0 with Firefox 3.6.17. I am testing a Flex 3.3 SDK built application. I installed the Adobe Flash Player 9 that came with the Flex SDK 3.3 before installing OATS.
    Any help on this issue is greatly appreciated.
    Some other information that may prove to be useful: I cannot seem to get OpenScript to consistently play back the actions on the same tree described above. Sometimes it works and sometimes it does not. I've tried using "Select Tree", "Select List", and "Click Tree" and each one is inconsistent on playback. It will report "Target Not Found".
    I have the console output for a "Target Not Found" failure below, where line 100 is ".select("GRID1>server1", TriggerEvent.Mouse," from the following Java generated on recording with OpenScript:
    flexFT
    .list(
    15,
         "/web:window[@index='0' or @title='My Title']/web:document[@index='0']/flex:application[@automationIndex='index:-1' and @label='' and @className='main' and @automationName='main' and @automationClassName='FlexApplication' and @id='main']/flex:canvas[@automationIndex='index:1' and @label='' and @className='mx.containers.Canvas' and @automationName='mainCanvas' and @automationClassName='FlexCanvas' and @id='mainCanvas']/flex:dividedBox[@automationIndex='index:16' and @label='' and @className='view.MainMediator' and @automationName='mediator' and @automationClassName='FlexDividedBox' and @id='mediator']/flex:accordion[@label='' and @automationName='index:0' and @id='null' and @automationIndex='index:0' and @className='mx.containers.Accordion' and @automationClassName='FlexAccordion']/flex:canvas[@automationIndex='index:1' and @label='My%20View2' and @className='view.my.MyNavigator' and @automationName='My%20View2' and @automationClassName='FlexCanvas' and @id='null']/flex:canvas[@label='' and @automationName='index:1' and @id='null' and @automationIndex='index:1' and @className='mx.containers.Canvas' and @automationClassName='FlexCanvas']/flex:list[@automationIndex='index:2' and @className='view.MyGridTree' and @automationName='index:2' and @automationClassName='FlexList' and @id='null']")
    .select("GRID1>server1", TriggerEvent.Mouse,
         KeyModifier.None);
    think(1.0);
    Console Output:
    11:29:09,093 INFO [EntryPoint] Started with arguments: -port 7777 -jwg C:\OracleATS\OFT\test06_ff\test06_ff.jwg
    11:29:09,250 INFO [EntryPoint] Received StartScriptEvent
    11:29:09,250 INFO [EntryPoint] Running "test06_ff" ...
    11:29:09,453 INFO [1] Initialized script service "oracle.oats.scripting.modules.utilities.api.UtilitiesService"
    11:29:09,453 INFO [1] Initialized script service "oracle.oats.scripting.modules.browser.api.BrowserService"
    11:29:09,453 INFO [1] Initialized script service "oracle.oats.scripting.modules.functionalTest.api.FunctionalTestService"
    11:29:09,484 INFO [1] Initialized script service "oracle.oats.scripting.modules.webdom.api.WebDomService"
    11:29:09,484 INFO [1] Initialized script service "oracle.oats.scripting.modules.flexFT.api.FlexFTService"
    11:29:09,484 INFO [1] Initializing VU 1 for script test06_ff
    11:29:21,546 INFO [1] Step: [1] Redirect (/Page1/)
    11:29:21,718 INFO [1] Step: [2] Login Page (/main.html)
    11:29:32,218 INFO [1] Step: [3] My Title (/main.html)
    11:30:11,453 ERROR [1] Error in section Run at line (script.java:100). Target not found
    oracle.oats.scripting.modules.flexFT.common.api.internal.exceptions.FlexFTException: Target not found
         at oracle.oats.scripting.modules.flexFT.common.api.internal.utilities.FlexUtil.checkResults(FlexUtil.java:293)
         at oracle.oats.scripting.modules.flexFT.api.elements.AbstractFlexFTElement.replayEvent(AbstractFlexFTElement.java:99)
         at oracle.oats.scripting.modules.flexFT.api.elements.ListBase.select(ListBase.java:170)
         at script.run(script.java:100)
         at oracle.oats.scripting.modules.basic.api.IteratingVUser.run(IteratingVUser.java:325)
         at oracle.oats.scripting.modules.basic.api.internal.IteratingAgent.run(IteratingAgent.java:717)
         at java.lang.Thread.run(Thread.java:619)
    11:30:11,453 ERROR [1] Iteration 1 failed at line (script.java:100). Target not found
    oracle.oats.scripting.modules.flexFT.common.api.internal.exceptions.FlexFTException: Target not found
         at oracle.oats.scripting.modules.flexFT.common.api.internal.utilities.FlexUtil.checkResults(FlexUtil.java:293)
         at oracle.oats.scripting.modules.flexFT.api.elements.AbstractFlexFTElement.replayEvent(AbstractFlexFTElement.java:99)
         at oracle.oats.scripting.modules.flexFT.api.elements.ListBase.select(ListBase.java:170)
         at script.run(script.java:100)
         at oracle.oats.scripting.modules.basic.api.IteratingVUser.run(IteratingVUser.java:325)
         at oracle.oats.scripting.modules.basic.api.internal.IteratingAgent.run(IteratingAgent.java:717)
         at java.lang.Thread.run(Thread.java:619)
    11:30:12,468 INFO [1] Finished VU 1 for script test06_ff
    Thanks,
    John

    I get a popup ActionScript Error from Adobe Flash Player 9 when trying to record a Flex Tree object using OpenScript 9.2.1.0 Production. Specifically, I click on the Triangle that opens/closes the view of the child nodes underneath the parent node of a Tree. Initially, the triangle arrow already pointing down and the child node is already showing. When I click on the triangle, the node underneath goes up and disappears under its parent node and the traingle is then pointing to the parent node.
    When I click this triangle in Firefox without OpenScript recording, I don't get any errors, popups, or issues. It seems to work correctly. During OpenScript recording, the recording seems to crash with a popup that is titled "Adobe Flash Player 9" and has the text "An ActionScript error has occurred" with the following error message:
    Error: Unable to find automation method 'mx.events.TreeEvent' for class '[object OSAutomationClass]'.
         at mx.automation::AutomationManager/recordAutomatableEvent()[C:\work\flex\dmv_automation\projects\automation\src\mx\automation\AutomationManager.as:1680]
         at mx.automation.delegates.core::UIComponentAutomationImpl/recordAutomatableEvent()[C:\work\flex\dmv_automation\projects\automation\src\mx\automation\delegates\core\UIComponentAutomationImpl.as:281]
         at flash.events::EventDispatcher/dispatchEventFunction()
         at flash.events::EventDispatcher/dispatchEvent()
         at mx.core::UIComponent/dispatchEvent()[E:\dev\3.1.0\frameworks\projects\framework\src\mx\core\UIComponent.as:9156]
         at mx.controls::Tree/http://www.adobe.com/2006/flex/mx/internal::dispatchTreeEvent()[E:\dev\3.1.0\frameworks\projects\framework\src\mx\controls\Tree.as:3334]
         at mx.controls::Tree/http://www.adobe.com/2006/flex/mx/internal::onTweenEnd()[E:\dev\3.1.0\frameworks\projects\framework\src\mx\controls\Tree.as:2193]
         at mx.effects::Tween/endTween()[E:\dev\3.1.0\frameworks\projects\framework\src\mx\effects\Tween.as:524]
         at mx.effects::Tween/http://www.adobe.com/2006/flex/mx/internal::doInterval()[E:\dev\3.1.0\frameworks\projects\framework\src\mx\effects\Tween.as:565]
         at mx.effects::Tween$/timerHandler()[E:\dev\3.1.0\frameworks\projects\framework\src\mx\effects\Tween.as:179]
         at flash.utils::Timer/_timerDispatch()
         at flash.utils::Timer/tick()
    I can click "Dismiss All" from the Adobe popup and Firefox isn't affected. Openscript doesn't appear to have any issues and the recording can be continued or stopped. It records the click on the tree and the "Dismiss All" from the popup both as "Click object("@id='main'") as type "web" instead of "flexFT".
    I am using OATS 9.2.1.0 with Firefox 3.6.17. I am testing a Flex 3.3 SDK built application. I installed the Adobe Flash Player 9 that came with the Flex SDK 3.3 before installing OATS.
    Any help on this issue is greatly appreciated.
    Some other information that may prove to be useful: I cannot seem to get OpenScript to consistently play back the actions on the same tree described above. Sometimes it works and sometimes it does not. I've tried using "Select Tree", "Select List", and "Click Tree" and each one is inconsistent on playback. It will report "Target Not Found".
    I have the console output for a "Target Not Found" failure below, where line 100 is ".select("GRID1>server1", TriggerEvent.Mouse," from the following Java generated on recording with OpenScript:
    flexFT
    .list(
    15,
         "/web:window[@index='0' or @title='My Title']/web:document[@index='0']/flex:application[@automationIndex='index:-1' and @label='' and @className='main' and @automationName='main' and @automationClassName='FlexApplication' and @id='main']/flex:canvas[@automationIndex='index:1' and @label='' and @className='mx.containers.Canvas' and @automationName='mainCanvas' and @automationClassName='FlexCanvas' and @id='mainCanvas']/flex:dividedBox[@automationIndex='index:16' and @label='' and @className='view.MainMediator' and @automationName='mediator' and @automationClassName='FlexDividedBox' and @id='mediator']/flex:accordion[@label='' and @automationName='index:0' and @id='null' and @automationIndex='index:0' and @className='mx.containers.Accordion' and @automationClassName='FlexAccordion']/flex:canvas[@automationIndex='index:1' and @label='My%20View2' and @className='view.my.MyNavigator' and @automationName='My%20View2' and @automationClassName='FlexCanvas' and @id='null']/flex:canvas[@label='' and @automationName='index:1' and @id='null' and @automationIndex='index:1' and @className='mx.containers.Canvas' and @automationClassName='FlexCanvas']/flex:list[@automationIndex='index:2' and @className='view.MyGridTree' and @automationName='index:2' and @automationClassName='FlexList' and @id='null']")
    .select("GRID1>server1", TriggerEvent.Mouse,
         KeyModifier.None);
    think(1.0);
    Console Output:
    11:29:09,093 INFO [EntryPoint] Started with arguments: -port 7777 -jwg C:\OracleATS\OFT\test06_ff\test06_ff.jwg
    11:29:09,250 INFO [EntryPoint] Received StartScriptEvent
    11:29:09,250 INFO [EntryPoint] Running "test06_ff" ...
    11:29:09,453 INFO [1] Initialized script service "oracle.oats.scripting.modules.utilities.api.UtilitiesService"
    11:29:09,453 INFO [1] Initialized script service "oracle.oats.scripting.modules.browser.api.BrowserService"
    11:29:09,453 INFO [1] Initialized script service "oracle.oats.scripting.modules.functionalTest.api.FunctionalTestService"
    11:29:09,484 INFO [1] Initialized script service "oracle.oats.scripting.modules.webdom.api.WebDomService"
    11:29:09,484 INFO [1] Initialized script service "oracle.oats.scripting.modules.flexFT.api.FlexFTService"
    11:29:09,484 INFO [1] Initializing VU 1 for script test06_ff
    11:29:21,546 INFO [1] Step: [1] Redirect (/Page1/)
    11:29:21,718 INFO [1] Step: [2] Login Page (/main.html)
    11:29:32,218 INFO [1] Step: [3] My Title (/main.html)
    11:30:11,453 ERROR [1] Error in section Run at line (script.java:100). Target not found
    oracle.oats.scripting.modules.flexFT.common.api.internal.exceptions.FlexFTException: Target not found
         at oracle.oats.scripting.modules.flexFT.common.api.internal.utilities.FlexUtil.checkResults(FlexUtil.java:293)
         at oracle.oats.scripting.modules.flexFT.api.elements.AbstractFlexFTElement.replayEvent(AbstractFlexFTElement.java:99)
         at oracle.oats.scripting.modules.flexFT.api.elements.ListBase.select(ListBase.java:170)
         at script.run(script.java:100)
         at oracle.oats.scripting.modules.basic.api.IteratingVUser.run(IteratingVUser.java:325)
         at oracle.oats.scripting.modules.basic.api.internal.IteratingAgent.run(IteratingAgent.java:717)
         at java.lang.Thread.run(Thread.java:619)
    11:30:11,453 ERROR [1] Iteration 1 failed at line (script.java:100). Target not found
    oracle.oats.scripting.modules.flexFT.common.api.internal.exceptions.FlexFTException: Target not found
         at oracle.oats.scripting.modules.flexFT.common.api.internal.utilities.FlexUtil.checkResults(FlexUtil.java:293)
         at oracle.oats.scripting.modules.flexFT.api.elements.AbstractFlexFTElement.replayEvent(AbstractFlexFTElement.java:99)
         at oracle.oats.scripting.modules.flexFT.api.elements.ListBase.select(ListBase.java:170)
         at script.run(script.java:100)
         at oracle.oats.scripting.modules.basic.api.IteratingVUser.run(IteratingVUser.java:325)
         at oracle.oats.scripting.modules.basic.api.internal.IteratingAgent.run(IteratingAgent.java:717)
         at java.lang.Thread.run(Thread.java:619)
    11:30:12,468 INFO [1] Finished VU 1 for script test06_ff
    Thanks,
    John

  • Movieclip button AS 2.0 help

    I have a movieclip button with up-over and out states
    plays fine but in the over state I need to have two more buttons
    1 button for each icon
    I need to make the hit state in one area with room for two I would guess invisible hit state only buttonds on top of the icons?
    how do I get two separate working buttons in there?
    any help?

    OK, after looking around I see what I need to do is have Nested Movieclips in a drop down menu.
    The drop down menu I made is here
    http://www.mediafire.com/?lynnkzjhkjt
    I think I may have been unclear in what I need to do but when you open the fla you see that the movieclip in the over state needs to have two separate buttons (or movieclips) acting as buttons so I can go to another frame. the mc/buttons shpuld have the hit states or target the two icons.
    I have tried everything as I did see some things for AS 3.0 but not for 2.0
    anybody?

  • Actionscript error: HTTP request error

    Why do I get this kind of actionscript error? Everytime my page loads up this error immediately shows up:
    [RPC Fault faultString="HTTP request error" faultCode="Server.Error.Request" faultDetail="Error: [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2032: Stream Error. URL: http://localhost/trytryjfsjfs-debug/total.php" errorID=2032]. URL: http://localhost/trytryjfsjfs-debug/total.php"]
        at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::faultHandler()[C:\autobuild\3.2.0\frameworks\p rojects\rpc\src\mx\rpc\AbstractInvoker.as:220]
        at mx.rpc::Responder/fault()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx\rpc\Responder .as:53]
        at mx.rpc::AsyncRequest/fault()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx\rpc\AsyncR equest.as:103]
        at DirectHTTPMessageResponder/errorHandler()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\ mx\messaging\channels\DirectHTTPChannel.as:362]
        at flash.events::EventDispatcher/dispatchEventFunction()
        at flash.events::EventDispatcher/dispatchEvent()
        at flash.net::URLLoader/onComplete()
    I checked the said URL and this is my code of total.php:
    <?php
    $projName = mysql_real_escape_string($_POST["projNameTI"]);
    $query = "SELECT itemno, divno,descs,qty,unit,unitcost,qty*unitcost as subtotal, SUM(qty*unitcost) as total,psid,project_id FROM projectspecs
    Where project_id = (SELECT project_id FROM project where name='$projName')";
    $result = mysql_query($query) or die ("Query failed: ".mysql_error() ."Actual query: ". $query);
    ?>
    It seems that this code works perfectly
    Can someone please help me about this problem, just an explanation how to get this well.
    Hoping for a response.

    http://localhost/trytryjfsjfs-debug/total.php?projNameTI=3       (what ever you have as the id in the db.)
    try to use this URL in your browser and see what you are getting.

  • Error 2007 Some Actionscript error has occured

    I have tried the converter on a couple of modules that I have been working.  I have actually tried it on two differnet machines to make sure there wasn't something machine specific.  I am getting Error 2007 - Seom Actionscript error has occured.  Has anyone seen this?  Any idea what is casuing it? 
    I have just begun my exploration of the converted and this is my first couple of attempts so I could be doing somethign really obvious.
    This is a very basic simuation module with not much more than captions and click boxes.

    I've installed twice and always run as admin but same issue. If you hear anything else please let me know.
    Kerry Kuehn | Senior Vice President of Learning
    3333 East Camelback Road,  Suite 212
    Phoenix, AZ  85018
    602.840.1000 office
    816.695.3260 cell
    602.957.3057 fax
    [email protected]<mailto:[email protected]

  • Changing stage timeline from inside a movieclip button

    I create a movieclip button, and I want to change main timeline from it. what should I do ?
    Is it useful to use MovieClip(root).gotoAndPlay(...) ; ?
    Is there any other way to change main timeline?

    Example:
    Add something to trigger the event in the child:
    dispatchEvent(new Event("eventTriggered"));
    In your parent swf, listen for the event using a listener for the child with a corresponding event handler...
    childName.addEventListener("eventTriggered", eventHandler).
    function eventHandler(event:Event):void {
        trace("child dispatched an event");
         // gotoAndPlay(etc);

  • Linking a MovieClip button to a URL?

    Hello all,
    I have recently followed a Adobe Flash tutorial, which has helped me make MovieClip buttons which extend to the left when hovered over.
    This tutorial can be found here:
    http://www.schoolofflash.com/2008/05/flash-cs3-tutorial-movie-clip-buttons/
    An example and download link for the project is at the bottom of that page.
    Everything on the tutorial went fine, but now I am trying to work out how to make these MovieClip buttons link to another URL.
    What code do I need to do this, and where do I need to put it?
    Any help is appriciated, I am using Flash version CS5.5
    Thanks,
    Vanilla

    Below is the Code to load an url
    btn_mc.addEventListener(MouseEvent.CLICK,onButtonClick);
    function onButtonClick(e:MouseEvent):void{
        var request:URLRequest = new URLRequest("http://www.foundation-flash.com/");
        navigateToURL(request);

  • Converting AS3 to AS2. Some movieclip buttons not working.

    25 movieclip buttons in frame 126 maintimeline. Buttons are on top layer above all other content.
    Buttons 1_1, 2_1, 3_1, 4_1, and 5_1 work. All buttons have correct instance name. The buttons are in a 5x5 grid. Hence the naming convention of column_row. So all row 1 buttons are working. Do not get hand cursor over any of the other buttons. This is totally baffling. I am using Flash CS4. The file is saved as CS3 and the publish settings are AS2, Flash player 8.
    Here is the AS for frame 126.
    stop();
    trace("tScore = "+tScore);
    trace("i = "+i);
    if (i == 0) {
        i++;
    this.podium.signin.unloadMovie();
    videoBtn1_1.onRelease = function() {
        gotoAndStop(127);
        videoBtn1_1.play();
    videoBtn2_1.onRelease = function() {
        gotoAndStop(127);
        videoBtn2_1.play();
    videoBtn3_1.onRelease = function() {
        gotoAndStop(127);
        videoBtn3_1.play();
    videoBtn4_1.onRelease = function() {
        gotoAndStop(127);
        videoBtn4_1.play();
    videoBtn5_1.onRelease = function() {
        gotoAndStop(127);
        videoBtn5_1.play();
    this.videoBtn1_2.onRelease = function() {
        gotoAndStop(127);
        videoBtn1_2.play();
    videoBtn2_2.onRelease = function() {
        gotoAndStop(127);
        videoBtn2_2.play();
    videoBtn3_2.onRelease = function() {
        gotoAndStop(127);
        videoBtn3_2.play();
    videoBtn4_2.onRelease = function() {
        gotoAndStop(127);
        videoBtn4_2.play();
    videoBtn5_2.onRelease = function() {
        gotoAndStop(127);
        videoBtn5_2.play();
    videoBtn1_3.onRelease = function() {
        gotoAndStop(127);
        videoBtn1_3.play();
    videoBtn2_3.onRelease = function() {
        gotoAndStop(127);
        videoBtn2_3.play();
    videoBtn3_3.onRelease = function() {
        gotoAndStop(127);
        videoBtn3_3.play();
    videoBtn4_3.onRelease = function() {
        gotoAndStop(127);
        videoBtn4_3.play();
    videoBtn5_3.onRelease = function() {
        gotoAndStop(127);
        videoBtn5_3.play();
    videoBtn1_4.onRelease = function() {
        gotoAndStop(127);
        videoBtn1_4.play();
    videoBtn2_4.onRelease = function() {
        gotoAndStop(127);
        videoBtn2_4.play();
    videoBtn3_4.onRelease = function() {
        gotoAndStop(127);
        videoBtn3_4.play();
    videoBtn4_4.onRelease = function() {
        gotoAndStop(127);
        videoBtn4_4.play();
    videoBtn5_4.onRelease = function() {
        gotoAndStop(127);
        videoBtn5_4.play();
    videoBtn1_5.onRelease = function() {
        gotoAndStop(127);
        videoBtn1_5.play();
    videoBtn2_5.onRelease = function() {
        gotoAndStop(127);
        videoBtn2_5.play();
    videoBtn3_5.onRelease = function() {
        gotoAndStop(127);
        videoBtn3_5.play();
    videoBtn4_5.onRelease = function() {
        gotoAndStop(127);
        videoBtn4_5.play();
    videoBtn5_5.onRelease = function() {
        gotoAndStop(127);
        videoBtn5_5.play();

    You can probably reduce all that interaction code to a loop...
    for(i=1; i<6; i++){
       for(k=1; k<6; k++){
          this["videoBtn"+i+"_"+k].onRelease = function() {
              gotoAndStop(127);
              this.play();
    As for why movng the buttons to another layer fixed anything, it will not have mattered.  Whatever fixed the problem will remain a mystery.  It could have been an issue with instance names/frames since you are at frame 126 for some reason.  If you transition the buttons into place, that might be related to what the problem was.

  • ActionScript Errors From Updating to New Version of Adobe Flash Player

    I updated my flash player now I'm getting Actionscript errors i thought it was just web cam video related but i get more when i go to youtube that eventually make my computer freeze     this box pops up with no options but dismiss all or continue that keeps popping backup heres one example adobe better be able to fix this
    This is what happens when i go to the site
    Adobe Flash Player
    ActionScript error #1010 a term is undefined and has no properties
    at MfcVideo/nc_netStatusHandler()
    This is what happens when i try to leave the site
    at MfcVideo/nc_netStatusHandler()
    atflash.net::NetConnection/invoke()
    atflash.net::NetConnection/close()
    atMfcVideo/Disconnect()
    atFunction/http://adobe.com/AS3/2006/builtin::apply()
    atflash.external::Externallnterface$/_callln()
    atFunction/<anonymous>()
    Then if i stay my computer starts to freeze
    I looked through many sites and have not found anything that tells how to fix this stuff I need a straight step by step answer adobe should have a patch made for this kind of thing i have windows xp sp3 with and i use firefox i think i had this problem years ago but can't remember how i fixed it i was going to get help from customer service support but they made me do this instead what ever helps....Thanks in advance

    From where did you download that update?  Did you download the content debugger instead of the standard player?

  • Adobe Flash Player 10 ActionScript Error

    Lately I've been getting an error on Adobe that's stalling my AIM from working. It pops up as an actionscript error with the following;
    SecurityError: Error #2060: Security sandbox violation: ExternalInterface caller http://cdn.eyewonder.com/100125/760649/1204318/DM_rich_234x60.swf cannot access http://at.atwola.com/adiframe/3.0/5113.1/221794/0/-1/size=234x60;noperf=1;alias=93302169;c fp=1;noaddonpl=y;kvmn=93302169;target=_blank;aduho=300;grp=137077271;misc=137077271.
    at flash.external::ExternalInterface$/_initJS()
    at flash.external::ExternalInterface$/addCallback()
    at EW()
    at EW$/getInstance()
    at EW$/initialize()
    at DM_rich_234x60_fla::MainTimeline/frame1()
    Is there anything I can do about this? It gives me the options to Dismiss All, Continue, or close the window. It only seems to be affecting AIM. I've tried reinstalling but that didn't fix anything.

    Looks like the ads loaded by the AIM program is causing this problem. What is the version for your Flash in IE? go here to check: http://kb2.adobe.com/cps/155/tn_15507.html

  • Flash CS5.5 crashes when exporting movieclip for Actionscript

    Hello,
    My Flash CS5.5 crashes when exporting movieclip for Actionscript (select movieclips -> modify -> convert to symbol -> check export for actionscript). I think this only happens when Photoshop CS5 is open.
    Does anyone know how to fix this? I'm using Win7 64-bit. The only open programs are Flash, Photoshop, and Firefox.

    Oddly enough, I opened up Flash again, today, just to see if it was still the same, and it had worked. Everything seemed normal, I opened a new document and started working. Then, out of nowhere it stopped responding again. So I waited for it to respond, it didn't. I closed it from the task manager, and now it's back to the original problem of crashing when I try to create a new document or open an old ontrie
    Update: I tried the cleaner, as you'd suggested. Followed all the steps, but to no avail. Think it may have something to do with my machine, and less with the software?

  • Help please? Static audio, Crashes, ActionScript Errors and more issues with Flash Player 16

    So, this is the first time I'm posting in here and I'm sorry if I mess up or smth.
    Anyway, this is what happened:
    - Firefox tells me Flash Player 15 is vulnerable
    - I update to the newest version
    - After the update I run into several things that are highly annoying.
    First of all:
    - I can't watch any livestreams anymore, neither on picarto nor on twitch. The video keeps loading and buffering, then works for a second or two and then goes back to buffering OR alternatively the video would stop whilst the sound continues or vice versa. (My wifi connection is super fast and I never had any problems until the update)
    - On youtube videos only load for a second or two, then the audio vanishes and the video crashes. (Never had that issue before, EVER)
    - The audio is incredibly wonky, aka, depending on the bass or sounds I hear static noises and weird sounds. (This only happens on videos that require flash, the sound is fine when playing CDs )
    - When watching videos and pausing it or going back a few seconds to rewatch something, the audio suddenly is completely gone.
    - Flash player crashes A LOT
    EDIT: Another Issue appeared:
    - When watchign videos using the Blip player (used by some websites) I get ActionScript errors which then result in crashes
    I'm using:
    Packard Bell EasyNoteLS
    Windows 7 Home Premium
    Firefox 34.0.5
    Adobe/Shockwave Flash 16.0.0.235
    What I've tried to do:
    - revert back to an older version of Flash (but it kept telling me to update so I gave up on it)
    - Try to enable "hardware accelaration" BUT, when right clicking on the Flash Symbol on Adobe's site FF freezes and tells me that Flash player crashed
    - Found out that I already have hardware accelaration enabled and it still keeps crashing
    - I deleted all of its local cache
    - downloaded and installed the debug version
    But none of it helped in the slightest.
    I really hope someone can help me fix this OR that adobe soon comes with a patch/update that fixes all these things ;_____;
    Thanks for reading and helping!

    Just to let you know, I don't tend to send all reports but here are a few from within the last week:
    [@ hang | WaitForMultipleObjectsEx | RealMsgWaitForMultipleObjectsEx | CCliModalLoop::BlockFn(void**, unsigned long, uns…
    https://crash-stats.mozilla.com/report/index/8f9d816a-8fa9-475a-9b6c-b660a2150109
    https://crash-stats.mozilla.com/report/index/a415ab2a-1321-4056-b263-83c212150109
    I tend to submit crash reports most of the times lately but yeah--
    Also, someting that really bugs me are these Actionscript errors because I can't upload a crash report for those--
    (they are more rare now but still happen occasionally)
    EDIT: Added photo of one of the Actionscript Errors when trying to play videos using the blip-player

Maybe you are looking for

  • Malicious TornTV add-on continously returning after being disabled- How do I fix this?

    I've been having issues with an add-on to my browser by TornTV that continuously returns after being disabled via the link provided on the ads it invasively opens and via the Add-on Toolbar. I've done the process many times and even sent a formal req

  • Small Letters rather than Capital

    Hey guys, I'm using Des6i PL/SQL Definitions in my development. My client's standard is to generate everything in Small Letters and not in Capital (except keywords which I can control with other codes inside the BEGIN..END definition area). As an exa

  • Status of the woritems

    For one of the workitems(swi2_freq:workflow log)  i see the status Reserved(Selected) But the person initiated that WI is terminated When does the Workitem get the status reserved And in SAP can we check when and who could have changed the status of

  • New aliases crash apache

    Looking to see if any of you folks have come across this, every time I add an alias via server admin (running server 10.4.10 and server admin 10.4.7) Apache crashes and I have to copy over the http.conf with a back up. Though this is a easy fix its k

  • MeetingPlace Express and LDAP Directory

    Hello Folks, I have got 2 questions: 1)Is there a built-in synch AD between CallManager and MeetingPlace Express? I would like to be able to add new people added in the CallManager to MPE directory automatically? Would it be possible? 2)can we add ex