Ini Flash component properties on beginSprite event

Hi,
I spend some time searching the web for a solution to
initialize Flash components (buttons, input text, list, tree, and
so on) properties on the beginSprite Director’s event and I
couldn’t find any practical solution then I‘d like to
share with you an easy trick I’ve found.
With this little script you can have just one Flash member on
your cast and put on the stage any number of instances of it and
set its properties independently or you can call any handler that
fills data on components like List, Tree or Data Grid on the
beginSprite event.
Works fine and it’s much more efficient than the
enterFrame or exitFrame solutions out there, on this stepFrame is
played once instead every application loop like enterFrame and
exitFrame, so no processor penalties.
I hope this can help to anyone who needs it.

I specifically asked you for a file with a single component and a script attached that demonstrated what you were reporting. I asked for this so that I didn't have to waste time wading through extraneous code trying to figure out what was at issue.
Your problem is that when you set the width, the height drops to zero. I don't know why. In a simple test case with a single component and a behavior attached that sets the sprite.width in the #beginSprite handler this doesn't happen - the width changes and the (original) height is maintained. Perhaps it's a consequence of makeScriptedSprite() - possibly because there is no sprite in place to start with, and therefore no original height to maintain.
Here is your script "SetStaticProp" with my amendments:
property pMyLinkInfo
property pSetMyFlashProps
property mySprite
on new me, iNum, bSetProps, lInfo
  mySprite = sprite(iNum)
  pSetMyFlashProps = bSetProps
  pMyLinkInfo = lInfo
  return me
end
on endSprite me
  mySprite = VOID
end
on exitFrame me
  if pSetMyFlashProps = 1 then
    mySprite.static = not (pMyLinkInfo.enabled)
    mySprite.label = pMyLinkInfo.name
    tHeight = mySprite.height
    mySprite.width = 160
    mySprite.height = tHeight
    pSetMyFlashProps = 0
  end if
end
and here is the amended fragment from your "Generate Link Instance" parent script:
  --****Next Line causes CheckBox to go missing********
  --  sprite(CheckBoxSnum).width = 160
  myScript = script("SetStaticProp").new( CheckBoxSnum, 1, duplicate(myInfo) )
  sprite(CheckBoxSnum).scriptInstanceList.add(myScript)
  gItemSelectionList.add(myInfo)

Similar Messages

  • Accessing public properties/methods of flash component

    I've been searching all day trying to figure out how I can go about accessing properties decalared with in a flash component or containers base actionscript class.
    I need to create a fairly complex interface within a part of a flex web app and I think it would be better to create it in flash profressional. I just cannot find any good information on how to get xmxl/flex to play nicely with swf/swc. Maybe it's justs not possible.
    Any help or even a point in the right direction would be greatly appreciated.

    So I ended up answering my own question, but thought I would share how I did it since I can't seem to find any instructions or examples anywhere.
    So what I wanted in the end was a swc file running within my flex app but I need to be able to pull data out of my swc for use with in flex. These are the steps I took to get there. If you read through this and feel there is a better way of achieving the end result please share.
    Start out by adding a Flash Professional Container to your FLEX project (I dont know the difference between Component and Container, all I figured out is Component would blow up when I started adding classes with the Flash Professional project)
    Give the Container and ID. mine is myTest
    Double click and open the Container with in Flash Professional
    Once in Flash Professional go to the Library tab and right click to add a new Symbol.Make it a MovieClip and name it what ever you would like and export it for Actionscript. **I have yet to add more to this but I plan on treating this as my "Stage" or base view.
    Once created drag a new instance into the view. Make sure it is at 0,0 and give it a instance name. You will use this name as your accessor in FLEX
    Right click on your new movie clip in the Library tab and selecet edit class. since all I wanted was a string I created a private string and its public getter method
    private var _dataString:string = "Some string of data";
    public function get dataString():String {
         return _dataString;
    Save your class and close it
    Click the Done button in the .fla window to save your Flash project and return to Flash Builder.
    Now with in the actionscript section of my MXML I can access the string above by myTest.appMain.dataString;    appMain is the instance name of the movieclip I created in Flash Professional.
    Now that I figured this out it seems so trival and shouldnt have taken me so long to figure out. I'm just surprised I couldn't find more info on the web about getting Flash components/containers to work well with in Flex/Flash Builder.
    I hope this helps someone out.

  • Where is the "done" button in Flash CS4 when using Flash Builder 4's new flash component or container?

    The documentation for Flash Builder 4 beta says that after opening flash from flash builder, I should click a "done" button in flash and flash should close and what I created in flash should be included as a component or container in Flash Builder.  Using the Flash Builder 4 beta on Windows, when I click on the "create in flash" button on the properties panel for either the new flash component or container, Flash CS4 opens, I create something in Flash and no "done" button is present.  Nor is anything present in the menus resembling a "done" option.  Where is it?

    Hi Jeffrey:
    Still no done button.  Now under commands in Flash I can convert symbols to flex components and containers and these show up in the Flash library.
    Thanks:
    Jim
    Date: Wed, 30 Sep 2009 09:58:10 -0600
    From: [email protected]
    To: [email protected]
    Subject: Where is the "done" button in Flash CS4 when using Flash Builder 4's new flash component or container?
    Hi,
    You may need to install FlexComponentKit.mxp to your Flash CS4 beforehand.
    Jeffrey
    Date: Tue, 29 Sep 2009 17:04:36 -0600
    From: mailto:[email protected]
    To: mailto:[email protected]
    Subject: Flex Where is the "done" button in Flash CS4 when using Flash Builder 4's new flash component or container?
    I apparently didn't get one.  I've looked under various workspace configurations.  Another thing that seems odd is that when Flash opens I get the opening panel that allows me to select the type of file and version of AS I want to use.  I select new file with AS3.  Any ideas on why the "done" button wouldn't be present and if the opening panel is what I should expect on opening Flash after clicking the "create in Flash" button?
    >
    >

  • Sizing a Scene7 flash component

    Does anyone know how to size a flash component? I am using the BasicZoom and Flash Flyout Zoom. Both seem to have a ton of unnecessary whitespace around them. I've seen smaller examples, but I haven't been able to figure out how to size them as cq:includes
    thanks

    The solution I came up with was to override the component and add properties to adjust the size of the Flash canvas and the viewport.

  • Component properties don't exist anymore.

    I have an component called: Event.cfc
    Long story short, I init() it by issuing a command like:
    <cfset eventObject = new 'com.Event'() />
    This component has 2 properties: data (a structure) and name (a string).
    The init() method calls a private method:
    <cfset VARIABLES.setName( VARIABLES.getAttribute( 'event' ) ) />
    The setName() method is implicit, ColdFusion builds it based on the name attribute.  I manually created the getAttribute() method which works with the data property.  In the getAttribute() method, I have a command that reads:
    <cfset LOCAL.retVar = VARIABLES.data[ ARGUMENTS.attributeName ] />
    Well, CF keeps saying that 'data' does not exist in VARIABLES.  But I thought that properties that were defined in a component were put into the VARIABLES scope.  So how can this variable NOT exist when I have it defined at the top of the Event.cfc component as a <cfproperty>?

    <!---
              <!--- ***************************************************************************************** ************************** --->
              <!--- ***************************************************************************************** ************************** --->
              Name:                     Event object component.
              File:                              Event.cfc
              Desc:                              Handles View-initiated Event objects.
              Version:          1.0.0 (2013-10-10T12:00:00-0500)
              Todo:                              [none]
              <!--- ***************************************************************************************** ************************** --->
              <!--- ***************************************************************************************** ************************** --->
    --->
    <cfcomponent
              output                     = "false"
              accessors          = "true">
              <!--- ========================================================================================= ========================== --->
              <!--- ========================================================================================= ========================== --->
              <!--- Component methods (explicit):
                                            Component methods (implicit):
                                            Component properties:
                                            Private variables:
                                            Public variables:
                                            --->
              <!--- ========================================================================================= ========================== --->
              <!--- ========================================================================================= ========================== --->
              <!--- Component properties: --->
              <cfproperty
                        required          = "true"
                        type                              = "struct"
                        name                              = "data"
                        getter                    = "false"
                        setter                    = "false" />
              <cfproperty
                        required          = "true"
                        type                              = "string"
                        name                              = "name" />
              <!--- ========================================================================================= ========================== --->
              <!--- ========================================================================================= ========================== --->
              <!---          Method: init(). --->
              <cffunction
                        access                              = "public"
                        returntype          = "Event"
                        name                                        = "init"
                        output                              = "false">
                        <!--- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ::::::::: --->
                        <!--- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ::::::::: --->
                        <!--- Arguments. --->
                        <cfargument
                                  required          = "true"
                                  type                              = "struct"
                                  name                              = "constructorData"
                                  default                    = "#{ 'event' = '' }#" />
                        <!--- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ::::::::: --->
                        <!--- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ::::::::: --->
                        <!--- Set LOCAL variables: --->
                        <cfset LOCAL.attributeName = '' />
                        <!--- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ::::::::: --->
                        <!--- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ::::::::: --->
                        <!--- Set instance variables: --->
                        <cfset VARIABLES.setName( VARIABLES.getAttribute( 'event' ) ) />
                        <cfif structCount( ARGUMENTS.constructorData )>
                                  <cfloop collection="#ARGUMENTS.constructorData#" item="LOCAL.attributeName">
                                            <cfset VARIABLES.setAttribute( LOCAL.attributeName, ARGUMENTS.constructorData[ LOCAL.attributeName ] ) />
                                  </cfloop>
                        </cfif>
                        <!--- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ::::::::: --->
                        <!--- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ::::::::: --->
                        <!---          Return.          --->
                        <cfreturn THIS />
                        <!--- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ::::::::: --->
                        <!--- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ::::::::: --->
              </cffunction>
              <!--- ========================================================================================= ========================== --->
              <!--- ========================================================================================= ========================== --->
              <!---          Method: getAttribute(). --->
              <cffunction
                        access                              = "private"
                        returntype          = "any"
                        name                                        = "getAttribute"
                        output                              = "false">
                        <!--- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ::::::::: --->
                        <!--- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ::::::::: --->
                        <!--- Arguments. --->
                        <cfargument
                                  required          = "true"
                                  type                              = "string"
                                  name                              = "attributeName" />
                        <!--- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ::::::::: --->
                        <!--- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ::::::::: --->
                        <!--- Set LOCAL variables: --->
                        <cfset LOCAL.retVar = '' />
                        <!--- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ::::::::: --->
                        <!--- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ::::::::: --->
                        <!--- Capture the attribute value: --->
                        <cfset LOCAL.retVar = VARIABLES.data[ ARGUMENTS.attributeName ] />
                        <!--- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ::::::::: --->
                        <!--- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ::::::::: --->
                        <!---          Return.          --->
                        <cfreturn LOCAL.retVar />
                        <!--- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ::::::::: --->
                        <!--- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ::::::::: --->
              </cffunction>
              <!--- ========================================================================================= ========================== --->
              <!--- ========================================================================================= ========================== --->
              <!---          Method: setAttribute(). --->
              <cffunction
                        access                              = "private"
                        returntype          = "void"
                        name                                        = "setAttribute"
                        output                              = "false">
                        <!--- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ::::::::: --->
                        <!--- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ::::::::: --->
                        <!--- Arguments. --->
                        <cfargument
                                  required          = "true"
                                  type                              = "string"
                                  name                              = "attributeName" />
                        <cfargument
                                  required          = "true"
                                  type                              = "any"
                                  name                              = "attributeValue" />
                        <!--- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ::::::::: --->
                        <!--- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ::::::::: --->
                        <!--- Store the attribute value: --->
                        <cfset structInsert( VARIABLES.data, ARGUMENTS.attributeName, ARGUMENTS.attributeValue, true ) />
                        <!--- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ::::::::: --->
                        <!--- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ::::::::: --->
                        <!---          Return.          --->
                        <cfreturn />
                        <!--- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ::::::::: --->
                        <!--- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ::::::::: --->
              </cffunction>
              <!--- ========================================================================================= ========================== --->
              <!--- ========================================================================================= ========================== --->
    </cfcomponent>

  • Retrieve changing values from TextInput Flash Component

    Hi,
    I've been banging my head against the wall with this one....
    I've placed aTextInput Flash Component on the stage which
    reads/displays a value from an external text file. So far so good.
    If I enter new text during run-time - editable is set to true
    - the TextInput component updates to reflect what I've typed. BUT,
    how do I retrieve that text to a variable? (I need to save the new
    value back to the external text file).
    Current code:
    myfieldtext = sprite(51).text
    And eventPassMode is set to passAlways
    this retrieves the initial value regardless of what I type.
    Any help appreciated!

    I'm not sure if this all helps, but I had to make a flash
    name input box
    recently. I was getting all sorts of weird results trying to
    get the text
    out of flash. It was giving me all the font info etc, and I
    just needed the
    name. So what I ended up doing is when they were done
    entering the text, I
    put the text into a variable within flash, then pulled the
    data from that
    variable rather than striaght out of the text.
    in director, in the behaviour attached to the flash sprite:
    myText = sprite("nameInput").getVariable( "myNameString",
    True)
    where the sprite is named "nameInput". It seems better to
    name the sprite
    and refer to it that way than using the sprite number, such
    as sprite(51).
    In flash I have the text input field named "textInput", and
    the following
    code attached to the save button. You may have to use a
    different event,
    like when they text input loses focus.
    on (release) {
    var myNameString = "";
    myNameString = textInput.text
    trace(myNameString)
    getURL('event:doEvent,1')
    Timm
    "tayl" <[email protected]> wrote in message
    news:edjutm$ptl$[email protected]..
    > Hi,
    >
    > I've been banging my head against the wall with this
    one....
    >
    > I've placed aTextInput Flash Component on the stage
    which reads/displays a
    > value from an external text file. So far so good.
    >
    > If I enter new text during run-time - editable is set to
    true - the
    > TextInput
    > component updates to reflect what I've typed. BUT, how
    do I retrieve that
    > text
    > to a variable? (I need to save the new value back to the
    external text
    > file).
    >
    > Current code:
    > myfieldtext = sprite(51).text
    > And eventPassMode is set to passAlways
    >
    > this retrieves the initial value regardless of what I
    type.
    >
    > Any help appreciated!
    >
    >
    >

  • Flash Component Problem in D11

    I have a project where I am using flash component CheckBoxes.  I loaded them onto the screen and when I try to make the sprite width of each checkbox wider, the sprite seems to disappear on the stage. If I dont mess with the width, they display just fine and work correctly.
    Is this a common error for flash components in director 11?  Is it even possible to use lingo to adjust a flash component's sprite width?
    BTW - the setting of the Flash Component's sprite width occurs on an exitframe, not on a beginsprite
    Any help or info to point me in the right direction woiuld be appreciated.
    Thanks guys

    I specifically asked you for a file with a single component and a script attached that demonstrated what you were reporting. I asked for this so that I didn't have to waste time wading through extraneous code trying to figure out what was at issue.
    Your problem is that when you set the width, the height drops to zero. I don't know why. In a simple test case with a single component and a behavior attached that sets the sprite.width in the #beginSprite handler this doesn't happen - the width changes and the (original) height is maintained. Perhaps it's a consequence of makeScriptedSprite() - possibly because there is no sprite in place to start with, and therefore no original height to maintain.
    Here is your script "SetStaticProp" with my amendments:
    property pMyLinkInfo
    property pSetMyFlashProps
    property mySprite
    on new me, iNum, bSetProps, lInfo
      mySprite = sprite(iNum)
      pSetMyFlashProps = bSetProps
      pMyLinkInfo = lInfo
      return me
    end
    on endSprite me
      mySprite = VOID
    end
    on exitFrame me
      if pSetMyFlashProps = 1 then
        mySprite.static = not (pMyLinkInfo.enabled)
        mySprite.label = pMyLinkInfo.name
        tHeight = mySprite.height
        mySprite.width = 160
        mySprite.height = tHeight
        pSetMyFlashProps = 0
      end if
    end
    and here is the amended fragment from your "Generate Link Instance" parent script:
      --****Next Line causes CheckBox to go missing********
      --  sprite(CheckBoxSnum).width = 160
      myScript = script("SetStaticProp").new( CheckBoxSnum, 1, duplicate(myInfo) )
      sprite(CheckBoxSnum).scriptInstanceList.add(myScript)
      gItemSelectionList.add(myInfo)

  • Flash component

    I have a .swf with that contains a linked .flv and a progress
    slider,
    start/pause button and a volume slider.
    When I run the .swf independently, all controls work fine.
    When in Director
    the progress slider only works for a moment as if I did a
    full mouse click
    on it rather than clicking down only and dragging.
    It seems that Director is taking the mouse events back from
    the Flash
    component.
    Any comments?
    Craig

    Hi maurifara,
    Did you try this: Flash
    Hope it helps,
    Regards,
    Tif

  • How to load Flash component on a Mac Native Window

    Hi, I have a application working fine on Windows, Have Flash
    component loaded on PC window and send and receive event through
    C++, But I dont have any idea how to do it on Mac, I have used MFC
    etc in PC to display the Flash component on it but how can I do the
    same on Mac, Basically I require a Mac window to host a Flash
    Component with some other media components and being able to send
    and receive events in C++ to and fro on Mac window.
    Thanks

    Converting a Lightweight Access Point Back to Autonomous Mode
    http://www.cisco.com/en/US/docs/wireless/access_point/conversion/lwapp/upgrade/guide/lwapnote.html#wp161272

  • Coding the "List" Flash Component

    Hello,
    I’m designing a simple list creation\editing
    application I was wondering where I can get information on coding
    the “List” Flash Component in Director MX 2004.
    I’ve got as far as finding out how change what is on the list
    using “.data” and “.labels”, but I want to
    be able to tell what the user selects from the list.
    Thanks for your time

    You can use an on change function in a behavior attached to
    the flash
    sprite.
    property thisSprite
    on beginSprite me
    thisSprite = me.spriteNum
    sprite(thisSprite).labels = ["one","two","three"]
    on change me
    put sprite(thisSprite).selectedItem.label
    end
    -- "one"
    Rob
    Rob Dillon
    Adobe Community Expert
    http://www.ddg-designs.com
    412-243-9119
    http://www.macromedia.com/software/trial/

  • Flash Component Button click not working

    I've gone back to an old project to change some logos around,
    and my flash component buttons no longer work. They appear on
    stage, but the click event is not happening. I authored on XP, now
    on Vista. Director 10.1. Any idea what is happening?

    If you are adding those buttons now, check for each button
    the Flash
    component tab in the property inspector and make sure the
    eventPassMode
    (lowest option) is set to #passAllways.
    HTH
    Manno
    khomel wrote:
    > I've gone back to an old project to change some logos
    around, and my flash
    > component buttons no longer work. They appear on stage,
    but the click event is
    > not happening. I authored on XP, now on Vista. Director
    10.1. Any idea what is
    > happening?
    >
    Manno Bult
    http://www.aloft.nl

  • The description for Event ID 0 from source VSTTExecution cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

    Hi,
    Can any one help me on the below issue ?
    while executing automated test case in test center it is showing as test case is in progress, then i navigated to virtual machine (where the test agent is online), there Internet
    explore has opened automatically and my test case execution started, but with in a seconds IE has closed . However, in test center, test case status is showing as in
    progress, after  2 or 3 min  some of  test cases getting passed and some are failed.
    Here my question is in lab center-->virtual machine, IE has opened automatically and navigated the 2 or 3  links and with in seconds IE has getting closed. Why IE is getting closed without completing execution?
    Error Message :
    The description for Event ID 0 from source VSTTExecution cannot be found. Either the component that raises this event is not installed on your local computer or the
    installation is corrupted. You can install or repair the component on the local computer.
    If the event originated on another computer, the display information had to be saved with the event.
    The following information was included with the event: 
    (mtm.exe, PID 5240, Thread 4) FileAggregatorSessionInfo: Error occurred while deleting temporary directoryException: System.IO.DirectoryNotFoundException: Could not find a part of the path 
       at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
       at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)
       at Microsoft.VisualStudio.TestTools.Execution.Aggregation.FileAggregator.FileAggregatorSessionInfo.DeleteTemporaryDirectory(String temporaryDirectory)
    the message resource is present but the message is not found in the string/message table
    Thanks
    Suresh
    Suresh

    Hi,
    Can any one help me on the below issue ?
    while executing automated test case in test center it is showing as test case is in progress, then i navigated to virtual machine (where the test agent is online), there Internet
    explore has opened automatically and my test case execution started, but with in a seconds IE has closed . However, in test center, test case status is showing as in
    progress, after  2 or 3 min  some of  test cases getting passed and some are failed.
    Here my question is in lab center-->virtual machine, IE has opened automatically and navigated the 2 or 3  links and with in seconds IE has getting closed. Why IE is getting closed without completing execution?
    Error Message :
    The description for Event ID 0
    from source VSTTExecution cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
    If the event originated on another computer, the display information had to be saved with the event.
    The following information was included with the event: 
    (mtm.exe, PID 5240, Thread 4) FileAggregatorSessionInfo: Error occurred while deleting temporary directoryException: System.IO.DirectoryNotFoundException:
    Could not find a part of the path 
       at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
       at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)
       at Microsoft.VisualStudio.TestTools.Execution.Aggregation.FileAggregator.FileAggregatorSessionInfo.DeleteTemporaryDirectory(String
    temporaryDirectory)
    the message resource is present but the message is not found in the string/message table
    We are using VS 2013 (premium) and IE 10.0,  scripts have been created on the same versions. It is working fine  on
    developers command prompt but the same tests are getting failed in lab center test agent machine
    test agent log:
    QTAgentService.exe, AgentService: calling AgentObject.RunEndFileCopyComplete
    QTAgentService.exe, AgentProcessManager.WaitForDataCollectionAgentProcessToStart: waiting for agents to start.
    QTAgentService.exe, AgentProcessManager.WaitForDataCollectionAgentProcessToStart: Agents started.
    QTAgentService.exe, AgentProcessManager.PerformActionIgnoringExceptions: Successfully called 'Cleanup' on the test agent
    QTAgentService.exe, AgentProcessManager.PerformActionIgnoringExceptions: Calling 'StopDataCollection(int)' on the data collection agent
    QTAgentService.exe, AgentProcessManager.IsDataCollectionAgentNeeded: IsExecutedOutOfProc? True
    QTAgentService.exe, AgentPro
    QTAgentService.exe, AgentProcessManager.WaitForDataCollectionAgentProcessToStart: Agents started.
    QTAgentService.exe, AgentService: Connection to controller is up.
    Thanks
    Suresh

  • Cannot set Flash button properties from sprite behaviour

    I'm puzzled...
    I'd like to set Flash button properties from behaviors on the
    sprite
    itself (unselect all buttons with a sendAllSprites, for
    example) but
    only this sample script works :
    on mouseEnter me
    sprite(spriteNum).selected = true
    end
    those ones won't:
    on mouseEnter me
    me.selected = true
    end
    on mouseEnter me
    selected = true
    end
    It must but obvious but I can't get it to work...
    Thanks.
    PJ

    The selected property is a property of the sprite. You need
    to
    reference the sprite specifically when you access it.
    When you are using
    me.selected=true
    the 'me' is referring to the current instance of the
    behaviour that is
    running. It is not referring to the sprite itself. Therefore,
    you need
    to use
    sprite(me.spriteNum).selected=true
    so that you correctly reference the sprite.
    You can use the syntax
    me.property=true
    only if the property in question is a property in that
    *script*.

  • [svn:fx-trunk] 7765: Fixing up some copyrights, adding copyrights, and fixing up some legal-eese for the Flash Component Kit For Flex.

    Revision: 7765
    Author:   [email protected]
    Date:     2009-06-11 15:58:18 -0700 (Thu, 11 Jun 2009)
    Log Message:
    Fixing up some copyrights, adding copyrights, and fixing up some legal-eese for the Flash Component Kit For Flex.
    Also, updating the MXP to get latest changes to base classes.
    QE Notes: -
    Doc Notes: -
    Bugs: SDK-21670
    Reviewer: No one (just header updates)
    tests: checkintest (seem to fail due to local changes to ScrollBar, which I'm not checking in here)
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-21670
    Modified Paths:
        flex/sdk/trunk/frameworks/flash-integration/FlexComponentKit.mxp
        flex/sdk/trunk/frameworks/flash-integration/readme.txt
        flex/sdk/trunk/frameworks/projects/flash-integration/FlexComponentKit.mxi
        flex/sdk/trunk/frameworks/projects/flash-integration/JSFL/Convert Symbol to Flex Component.jsfl
        flex/sdk/trunk/frameworks/projects/flash-integration/JSFL/Convert Symbol to Flex Container.jsfl
        flex/sdk/trunk/frameworks/projects/flash-integration/JSFL/MakeFlexComponent.jsfl
        flex/sdk/trunk/frameworks/projects/flash-integration/readme.txt
        flex/sdk/trunk/frameworks/projects/flash-integration/src/mx/flash/ContainerMovieClip.as
        flex/sdk/trunk/frameworks/projects/flash-integration/src/mx/flash/UIMovieClip.as

  • Using Flash Component

    Will Apple reject a Flash iPhone app that uses a Flash component? I want to create the app with a Flash plug-in component.
    Thanks.

    I don't understand your explanation.
    Is the SWFLoader loading a full SWF or an embedded symbol?  What is an invisible mode and how do you know it is in that mode?
    Alex Harui
    Flex SDK Developer
    Adobe Systems Inc.
    Blog: http://blogs.adobe.com/aharui

Maybe you are looking for