[CS3] FL 3.0 - AS2: _parent property not working!

Hey Guys,
I am not able to access the functions and variables of a parent SWF from a loaded SWF using the _parent notation in FlashLite 3.0 - AS2.
Check the attachment.... I have attached the source files. Please unzip them and check that when you publish the parent.fla it loads the child.swf via a loadMovie() and then at the last frame of child.swf I have tried to access some property and method from parent.swf using _parent and I am not able to do so......
Can somebody tell me why this is happening and what is the workaround for this!
As ever,
Vinayak Kadam

Your parent swf needs to allow access for scripting by the child.  Read the Flash 8 security documentation for the full details on this.
To solve it you should use system.security.allowDomain("*")
Mark

Similar Messages

  • I have a new laptop and I am trying to download CS3. The site on adobe gives an error message and the one I tried from this forum downloaded CS3 extended, so my serial number does not work. Does anyone have any suggestions. Regards Vicki

    Hi,
    I have a new laptop and I am trying to download CS3. The site on adobe gives an error message and the one I tried from this forum downloaded CS3 extended, so my serial number does not work. Does anyone have any suggestions. Regards Vicki

    The trial is always extended. The serial number you enter determines whether it runs as standard or extended.
    I'm getting through fine with that link, so it must be a browser issue or some such thing. Try another browser.

  • PROPERTY NOT WORK

    DEAR ALL
    GOOD MORNING
    A RIDO_BUTTON
    IN TRIGGER WHEN VILDATE ITEM
    I WRITE THTIS CODE BUT NOT WORK
    SET_ITEM_PROPERTY('XXX',VISUAL_ATTRIBUTE,CURRENT_ROW_BACKGROUND_COLOR,'VISUAL_RED');
    WHAT IS CORRECT
    THANK YOU ALL

    Re: PROPERTY NOT WORK

  • Result Type Condition for Multi value Manage Property not working

    Hi All,
    I have created one template & I wanted to show this template on particular condition. So I created the result type. The Managed property (MP) that I used, I have verified its attributes all attributes are selected and its type is Multi value. I am trying
    to apply the "Show fewer conditions" and some how the value not matched.
    I have checked MP ; it has all the values but some how the template not called. When I removed this condition it working and when choose other MP other then Multi valued. It is working as expected.
     Please let me know if i miss something here. 
    PS: I have checked each option from the Query drop down like "Equals any of" and "Contains any of" not working in case of multi value attribute. Please help.
    I have explain this issue more details in this post : http://sharepointfordeveloper.blogspot.com/2015/02/sharepoint-search-2013-result-type-with.html
    Regards,
    Basant Pandey
    http://sharepointfordeveloper.blogspot.com

    Update on above mentioned issue.
    I have verified the same at my end. So I come to this conclusion this is product issue. Either need to raise the ticket to Microsoft related to this issue.
    Regards,
    Basant Pandey
    http://sharepointfordeveloper.blogspot.com

  • AS2 button actions not working

    I've created a dropdown menu movie clip, and I want the various buttons in the dropdowns to link to various Scenes.
    When I test the movie the dropdown menus perform as intended, and the buttons appear to have rollover states, but they do not link to my additional Scenes.
    I have gone into the movie clip containing the buttons, and given the buttons instace names, and then added the following AS2 script to go to the next scene, but it does not work:
    displayB_btn.onRelease=function() {
        gotoAndStop("Scene 2",1);
    In a nutshell, I cannot move beyond Scene 1.
    I have tried making the instances movie clips rather than buttons, but that has created its own problems.
    Hope someone can help.
    Thanks in advance.

    in as2, do not use scenes for navigation and do not use the goto functions.
    use frame labels and use the goto methods:
    _root.gotoAndStop("scene2_frame1");

  • Flex 4 ToggleButton selected property not working

    I am trying to set a FlexToggle buttons selected property by state value and it does not work. It only works when I click on the button.
    <buttons:MaxRestoreToggleButton id="resizeWindowButton" selected="false" selected.maximized="true"/>
    any ideas?

    Well I am creating a ToggleButtonSkin and yes, I am calling the invalidateSkinState(); but it still doesnt seem to be working.
    <?xml version="1.0" encoding="utf-8"?>
    <s:ToggleButton xmlns:fx="http://ns.adobe.com/mxml/2009"
      xmlns:s="library://ns.adobe.com/flex/spark"
      xmlns:mx="library://ns.adobe.com/flex/mx"
      toolTip="Maximize"
      width="20" height="20"
      skinClass="tat.skins.buttons.MaxRestoreToggleButtonSkin" change="{trace('hi');}"
      >
    <s:states>
    <s:State name="up" enterState="{invalidateSkinState();}"/>
    <s:State name="over" stateGroups="overStates" enterState="{invalidateSkinState();}"/>
    <s:State name="down" stateGroups="downStates" enterState="{invalidateSkinState();}"/>
    <s:State name="disabled" stateGroups="disabledStates"/>
    <s:State name="upAndSelected" stateGroups="selectedStates, selectedUpStates" enterState="{invalidateSkinState();}"/>
    <s:State name="overAndSelected" stateGroups="overStates, selectedStates" enterState="{invalidateSkinState();}"/>
    <s:State name="downAndSelected" stateGroups="downStates, selectedStates" enterState="{invalidateSkinState();}"/>
    <s:State name="disabledAndSelected" stateGroups="selectedUpStates, disabledStates, selectedStates" />
    </s:states>
    <!-- Skin States -->
    <fx:Metadata>
    [SkinState('up')]
    [SkinState('over')]
    [SkinState('down')]
    [SkinState("disabled")]
    [SkinState('upAndSelected')]
    [SkinState('overAndSelected')]
    [SkinState('downAndSelected')]
    [SkinState("disabledAndSelected")]
    </fx:Metadata>
    <fx:Declarations>
    </fx:Declarations>
    <fx:Script>
    <![CDATA[
    ]]>
    </fx:Script>
    </s:ToggleButton>
    <?xml version="1.0" encoding="utf-8"?>
    <s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"
        xmlns:fb="http://ns.adobe.com/flashbuilder/2009" minWidth="21" minHeight="21" alpha.disabledStates="0.5" >
        <!-- host component -->
        <fx:Metadata>
        <![CDATA[
            [HostComponent("tat.components.buttons.MaxRestoreToggleButton")]
        ]]>
        </fx:Metadata>
        <fx:Script fb:purpose="styling">
    [Bindable]public static var glowColor:uint = 0xFFFFFF;
    [Bindable]public static var backgroundColor:uint = 0xFFFFFF;
    /* Define the skin elements that should not be colorized.
               For toggle button, the graphics are colorized but the label is not. */
            static private const exclusions:Array = ["labelDisplay"];
             * @private
            override public function get colorizeExclusions():Array {return exclusions;}
             * @private
            override protected function initializationComplete():void
                useChromeColor = true;
                super.initializationComplete();
             * @private
            override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number) : void
                super.updateDisplayList(unscaledWidth, unscaledHeight);
            private var cornerRadius:Number = 2;
        </fx:Script>
        <!-- states -->
        <s:states>
            <s:State name="up" enterState="{this.hostComponent.toolTip='Maximize' }"/>
            <s:State name="over" stateGroups="overStates" enterState="{this.hostComponent.toolTip='Maximize'}"/>
            <s:State name="down" stateGroups="downStates" enterState="{this.hostComponent.toolTip='Maximize'}"/>
            <s:State name="disabled" stateGroups="disabledStates"/>
            <s:State name="upAndSelected" stateGroups="selectedStates, selectedUpStates" enterState="{this.hostComponent.toolTip='Restore'}" />
            <s:State name="overAndSelected" stateGroups="overStates, selectedStates" enterState="{this.hostComponent.toolTip='Restore'}"/>
            <s:State name="downAndSelected" stateGroups="downStates, selectedStates" enterState="{this.hostComponent.toolTip='Restore'}"/>
            <s:State name="disabledAndSelected" stateGroups="selectedUpStates, disabledStates, selectedStates" />
        </s:states>
        <!-- layer 1: shadow -->
    <s:Rect id="bg" left="0" right="0" top="0" bottom="0" radiusX="2">
    <s:fill>
    <s:SolidColor color="{backgroundColor}" alpha=".1"/>
    </s:fill>
    </s:Rect>
    <s:Rect id="glow" left="-1" right="-1" top="-1" bottom="-1" radiusX="2">
    <s:fill>
    <s:SolidColor color="{glowColor}" alpha.up="0" alpha.selectedUpStates="0" alpha.overStates=".5" alpha.downStates=".2" alpha.disabled="0"/>
    </s:fill>
    </s:Rect>
    <s:BitmapImage source.selectedStates="@Embed('../../../assets/images/windows_16.png')" source="@Embed('../../../assets/images/windows_window_16.png')"
       horizontalCenter="0" verticalCenter="0"/>
    </s:SparkSkin>

  • Enable Property Not working in Form Personalization- R12

    Hi All,
    I have an requirement to grade out the button item for Production Supervisor- Batch details, The Button Item is Transact Material, This Button should be grade out always for this particular responsibility.
    See below what logic i used for this requirement in Form Personalization.
    1. For the Batch Details Form Created one Personalization with trigger condition WHEN-NEW-BLOCK-INSTANCE and processing mode Not in Enter-Query Mode.
    2. In Actions tab - Type : Property
    Object Type : Item
    Target Object: GME_BATCH_HEADER.TRANSACTIONS
    Property Name: ENABLED
    Value : FALSE
    After i validate it and pressed APPLY NOW- only at that time the "Transact Material" Button showed as Grade out but after i closed the personalization window and reopen the Batch Details form and am seeing that Transact Material still Enabled instead of Grade out.
    I prefectly saved the personalization window.
    I dont knw why it is working only when i see preview(APPLY NOW) option and not working once i reopen the batch details or logout the apps and reloged again still having the same issue.
    Please help me out if any one come accross this type of issue.
    welcoming your comments on this...
    Regards
    Prabu

    Are you making the fields "required" using personalization?
    The Raise FTF action won't produce any message.
    It looks like some other code is firing before your personalization fires.
    It seems user is unable to save the record. So your requirement is achieved.
    If not, please post details of the personalization.
    Sandeep Gandhi

  • [as2] Class is not working

    Hi.
    I have two levels one for "movie1.swf" the other "movie2.swf",
    movie1 is on level 0, movie2 is on level 1.
    I made a class "MySound", a class that extends the Sound class.
    The problem is that I tried to use MySound class on movie2 and is not working.
    It only works when I use MySound class on level 0.
    Why?
    Other thing.
    The Sound class constructor function has a parameter "target" use to
    point to a object. I think it is use to setVolume and other things.
    How can I use the same method?
    I´ve tried to setVolume with my class ("MySound"), once for each
    sound and it worked for both, I mean, example, I have sounds "s1"
    and "s2", I tried to set the volume of s1 to 50 and s2 to 0 like this:
    s1.setVolume(50)
    s2.setVolume(0)
    But, both sounds volume were setted to 0.
    How can I use the same method of targeting an object so the setVolume
    works properly in MySound class?
    Note:
    MySound class has no constructor function declared, so I thought it could
    work the same as Sound class.
    How can I use setVolume method in MySound class?
    The main reason I´m making a MySound class is because in MySound class I have methods that pauses and resumes the current sound object.
    I know I can make it directly through script with Sound class, but with MySound class it gets better to write script to work with sounds.
    So I can just use s1.pause() s1.resume(), instead of creating a variable each time for each sound object.
    Any help?
    Thanks

    hi
    I had put auto-start=true in server.xml .then also it is not working.
    when I redeploy my ear,the startup class is invoked,but when i restart the
    server it does'nt
    gaj

  • CS3 Bugs? Hand Tool & Proportional Scale Not Working

    I am unable to press the spacebar to utilize the Hand Tool, and unable to use shift to proportionally scale objects. If I close down Illustrator and restart my computer, the problem will be resolved for the first file that is opened. Subsequent files have the same issue - hand tool and scaling does not work.
    Has anyone else experienced this, or possibly have a solution other than constant rebooting?
    Thanks,
    Justine

    OK I don't think Scott was at all condescending, since you did not mention the steps you took to try to resolve the problem. I am assuming as well that after you updated the Microsoft products and Quicken and etc. that you then trashed the Illustrator Settings folder from within your user preferences folder. Am I correct?
    If not do so.
    You can also try to log i as a new user. If that works it is more than likely a user issue if it does not work more than likely hardware such as your keyboard or possibly a system issue or application conflict.
    I would think it is a user account issue, that is a corruption or conflict in the preferences folder but not necessarily Illustrator.

  • [cs3, as2] nested txt not working with XML

    Hi im having problems with my xml banner, i have some txt
    that is nested in a movieclip that animates on as each image is
    loaded. Initially i couldnt even get the txt to show up, after i
    used _root, the txt now pops up but only for a split sec and then
    dissapears and dosent' reapear at all. Any idea what i need to
    change. Her'es the code im using.

    This is a big problem... anyone from Adobe able to address
    this?

  • Photoshop CS3 Save and Save As Dialog box not working

    I can't do a "save as" or "save for web" in photoshop cs3. The dialog box opens and I can't change anything but the file type pull down menu (and sometimes not even that). This problem happens sporadically.... but most of the time it doesn't work.
    I have re-installed Photoshop cs3 but I still have the same problem.
    Photoshop CS3 10.0.1
    MacPro 2 x 3 GHz Quad-Core Intel Xeon
    Memory : 4GB
    Mac OS 10.5.8
    Please Help

    I'm seeing exactly this same problem with Photoshop CS3  after the upgrade to 10.5.8. It appears that the dialog box never gets focus for "Save for Web and Devices" -- the title bar of the dialog is grayed out, while the main "Save for Web and Devices" panel still has focus.  That means there's no way to clear the dialog, since the panel is waiting for it to return, but the dialog can't get any input.  None of the standard resets work for any length of time.  I seem to remember similar problems in a much earlier release of Mac OS X, but I can't be sure.  Quite annoying.

  • AS2 fading button not working in AS3

    Hello, Experts.
    I hope my question is simple enough for a simple answer.
    I have a button that I made a couple of years ago (in AS 2.0) that has a rollover fade in/out effect. Some of the AS is written in the object itself. The button works fine when it's loaded as an external movie to a blank mc when the host is also published in AS2. But if I attempt to use the swf in a main movie that is AS3, none of the fading action works.
    My question: Is this normal and to be expected? I know that AS3 will not allow AS to be placed in the object. But will AS3 also go as far to disable an otherwise functioning object that has code in itself?
    Thank you in advance for the education.

    there is no problem with as2 functioning in a swf that's loaded by an as3 file.  ie, you must use the loader class.

  • AS2 asnyc MDN not working

    Hi,
    I have setup my config in SeeBurger AS2 adapter in SAP PI 7.11 to send a file to our trading partner via AS2-HTTPS with async MDN requested. I got the an error in seeburger message monitoring : "Sent AS2 message successfully to partner - waiting now for asynchrone MDN"
    We are still not able to received the async MDN from our partner. Wonder if anyone of here had encountered similar problem before? Please share your experience.
    My config:
    1. HTTPS-AS2
    2. Signed Msg
    3. Encrypted Msg
    4. Request async MDN (Not signed) by provided our HTTPS AS2 URL in receipt delivery address, no MDN time out.
    5. Create virtual sender aggrement for MDN report with accepting same message title with AS2 receiver aggrement message titile.
    *Tested the same receiver agreement config with No MDN and Synchronous MDN. All successfully.
    Thanks!
    SP

    Hi,
    We are also facing the same problem. But I want to tell you few points which you need to make sure....
    virtual party and communication component that you've used in Sender agreement of Reports channel  shouldbe same as that of party & component used in Header mapping  of actual receiver agreement. And, there should not be more than two sender agreements for MDN reports channel for same set of sender and receiver party.
    One request from my side is... please let me know if your issue got resolved so that it'll be helpful for me too.
    Regards
    Priyanka

  • BEx Analyzer report "New Formula", "Scaling Factor" property not working

    Hi Experts,
    I have created a New Formula(Ex:- Dispatches * 2) in BEx Analyzer report. The result of the "New Formula" is 2000. When I maintain Scaling Factor as "1000" to the  New Formula properties, the result should be 2 but here 2000 is coming again.
    When I maintain this property to the existing keyfigure in Analyzer report, it is working fine.
    Please help me in this whether Scaling Factor can be applied to the New Formula or not in BEx Analyzer report. If it works, what changes we have to make to the New formula.
    SAPKW73010 is applied already to SAP BW-730
    Please see the attachment.

    Sree,
    Is the variable ABC the new one that you've created with Scaling factor setting given? The message you get on doing a syntax check on the query indicates that settings are ignored for use beyond the query.
    And if this is the case, this is a known issue. 
    However such settings will work on existing keyfigures as it is in your case.
    What you can hence do for this new variable is that if you are developing reports on top of this bex query, you can make the scaling factor setting at the report level.
    Let me know if this works for you.
    Regards,
    Srilakshmi B

  • Setting nonProxyHosts property not working

    How do you set the nonProxyHosts property for Jrockit 1.5.0_11. We are trying to set this property for Aqualogic ESB which is using Jrockit by setting this property in net.properties under Jrockit but it does not seem to honor it. It seems to pick up proxyHost property though.

    Well the issue is when I run the installSvc.cmd to install Aqualogic as a service and I am setting environment variable JAVA_OPTIONS with -DnonProxyHosts with a pipe (|) delimited list (e.g host1|host2|host3), but the script barfs and I think it does not like pipe symbol. May be this is more of a Aqualogic question than a JRockit one, or may be a windows script. Do you know if I need to escape the pipe symbol somehow? I tried escaping it with ^ but that did not help.

Maybe you are looking for