Re: Flash components and Lingo variables

Than you very much for your response.
I get yet a <void> value.
>> try:
>>
>> getURL("Lingo:Flashnotas(\"" + V + "\")");
>
>

Than you very much for your response.
I get yet a <void> value.
> try:
>
> getURL("Lingo:Flashnotas(\"" + V + "\")");

Similar Messages

  • Flash Components and XML Binding

    I just ran through the XML binding Bike Trails tutorial about
    a hundred times. I can get that to work just fine. But when I try
    to work with my XML file, it keeps falling apart. I just don't get
    it! I've been working on it for 2 days and it's still not working
    right.
    For one, the bindings are not showing up right. I have 2
    combo boxes and then a final one I'd like to use to list the
    stores. Here's a link to basically what I'm trying to do:
    http://www.thinkseed.com/test/stores.html
    My bindings keep falling apart. I get null values all the
    time for the second drop box that's supposed to house the States
    (the one on the site is a fluke...I accidentally had the
    <store> node on a separate line instead of nested in the
    <state> node. No idea why that one sort of worked.)
    Here's an example of the XML code:

    The flashComponents are standard AS2 components, and you can look up their APIs in the Flash documentation.  Here is the button docs:
    http://help.adobe.com/en_US/AS2LCR/Flash_10.0/help.html?content=00001977.html#3654189
    Looking at that, there is a getStyle() method, and I just tested it out:
    put sprite(1).getStyle("borderStyle")
    -- "inset"
    put sprite(1).getStyle("fontFamily")
    -- "_sans"
    put sprite(1).getStyle("color")
    -- 734012.0000
    I'm not real sure what that means (probably the hex color converted to a float), but you can change the color like this:
    sprite(1).setStyle("color","red")
    And here is a page that lists all the styles that are defined:
    http://help.adobe.com/en_US/AS2LCR/Flash_10.0/help.html?content=00001973.html#3136306

  • Flash Components and find font (getStyle)

    Is there any way to find out what Font Family is being used by Flash Components (i.e. the "button", etc)?
    Searching the web I see some examples of how to use the "setStyle", but I don't see any any any info about using "getStyle". Maybe that's not even a command that exists. And nothing about the font is show in the ".showProps()" either.
    Thanks

    The flashComponents are standard AS2 components, and you can look up their APIs in the Flash documentation.  Here is the button docs:
    http://help.adobe.com/en_US/AS2LCR/Flash_10.0/help.html?content=00001977.html#3654189
    Looking at that, there is a getStyle() method, and I just tested it out:
    put sprite(1).getStyle("borderStyle")
    -- "inset"
    put sprite(1).getStyle("fontFamily")
    -- "_sans"
    put sprite(1).getStyle("color")
    -- 734012.0000
    I'm not real sure what that means (probably the hex color converted to a float), but you can change the color like this:
    sprite(1).setStyle("color","red")
    And here is a page that lists all the styles that are defined:
    http://help.adobe.com/en_US/AS2LCR/Flash_10.0/help.html?content=00001973.html#3136306

  • Flash components and the properties inspector

    Don't know if any of you have had experience in creating
    components that
    can have properties set using the properties inspector or
    not, but here
    we go.
    I have several components which all have a 'data' property
    that is an
    Object in which a developer can store arbitrary data.
    I have set this up in the component so that it will display
    in the
    properties inspector, thusly:
    [Inspectable(name="Data")]
    private var _data:Object;
    Now, it does indeed appear in the inspector, but when I click
    on the
    field it brings up a box which then doesn't allow me to enter
    any data
    (see screenshot:
    http://www.moloko.f2s.com/filetransfer/componentParams.png)
    However, if I right-click on the symbol in the library, go to
    Component
    Definition, then click on the Data property in the Value
    column, it
    brings up a box that's a little bit more what I was expecting
    in that it
    contains the '+' and '-' buttons to allow me to add/delete
    data, and
    also some up/down arrows to allow me to move the data around
    in the list
    (see screenshot:
    http://www.moloko.f2s.com/filetransfer/componentDefinition.png)
    Anyone know what's going on with this? Is this a bug in the
    Flash IDE or
    am I doing something wrong??
    MOLOKO
    Macromedia Certified Flash MX 2004 Developer
    Macromedia Certified Flash MX Developer
    ::remove _underwear_ to reply::
    'There ain't no devil - it's just God when he's drunk' Tom
    Waits
    GCM/CS/IT/MC d-- S++:- a- C++ U--- P+ L++ !E W+++$ N++ O? K+
    w+++$ !O M+
    VMS? PS+++ PE- Y PGP+ t+ 5-- X-- R* tv++ b++++ DI++++ D+ G e
    h-- r+ y++

    The flashComponents are standard AS2 components, and you can look up their APIs in the Flash documentation.  Here is the button docs:
    http://help.adobe.com/en_US/AS2LCR/Flash_10.0/help.html?content=00001977.html#3654189
    Looking at that, there is a getStyle() method, and I just tested it out:
    put sprite(1).getStyle("borderStyle")
    -- "inset"
    put sprite(1).getStyle("fontFamily")
    -- "_sans"
    put sprite(1).getStyle("color")
    -- 734012.0000
    I'm not real sure what that means (probably the hex color converted to a float), but you can change the color like this:
    sprite(1).setStyle("color","red")
    And here is a page that lists all the styles that are defined:
    http://help.adobe.com/en_US/AS2LCR/Flash_10.0/help.html?content=00001973.html#3136306

  • Adobe flash player and labview

    Hi
    How can I make labview interact with adobe flash player and read variables?
    Adobe flash player is displayed by internet explorer and I'm using Adobe Flash player 10, with labview 8.2

    I have not checked this out as I leave the Googling to you. But I will not be suprised if adobe do not have an activex player you can use for free.
    Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
    (Sorry no Labview "brag list" so far)

  • Is there a simple example, I can see how to connect to a db using Flash 8 and actionscript? (not with components)

    I have been looking all over for a simple "hello world"
    example, on how to connect to a database, and pass a param, and
    return a dataset. I would like one that does not use components.
    (Actionscript only). That uses ColdFusion 7.x and Flash 8. Can
    anyone point me to one?

    Thanks Craig, I saw that example, but it was meant for Flash
    MX, and according to the Flash 8 documentation, the NetServices is
    now deprecated. Anyway, I posted my question on another site and
    some supplied me with a simple example. Here is the url if anyone
    is interested...
    sample

  • Jsfl and flash components

    Hi,
    I have been using jsfl to help out with my daily development
    routines. I just recently wondering if I can have jsfl coded in the
    custom flash components. I tried to do it, but so far unsuccessful.
    So I am wondering if this is even possible. I am open to any
    suggestions. Thanks in advance.

    Have you read this: http://cssdk.s3-website-us-east-1.amazonaws.com/sdk/2.1/docs/WebHelp/whnjs.htm ?

  • Flash and Lingo

    Hello:
    I have a buton in Flash that I need to import in Director.
    The function of this button is scroll a Director textbox on
    this way:
    On MouseDown me
    repeat while Stilldown
    --scroll text
    end repeat
    end
    What code do I have to put in Flash, to run my MouseDown in
    Director?
    Thank you

    Hi Anne,
    Actually, you can just apply that behavior to the Flash
    sprite and it
    will work. However the mouse event will apply to the whole
    sprite, so if
    you set the direct to stage of the Flash member to false and
    then set
    the ink of the Flash sprite to matte, only the actual button
    will show
    and only the button will receive the mouse event.
    If you want to place actionscript in your Flash movie that
    will trigger
    something in DIrector then you will need to call a Director
    function
    from the Flash movie. It might look something like this.
    in Flash:
    buttonInstanceName.onPress = function() {
    getURL("event:startScroll");
    buttonInstanceName.onRelease =
    buttonInstanceName.onReleaseOutside =
    function() {
    getURL("event:stopScroll");
    You don't really want to be sending a continuous message to
    the Director
    movie from the Flash movie.
    Then in the Director movie, place a behavior on the Flash
    sprite like
    this:
    property thisSprite
    property textSprite
    property OKtoScroll
    property maxScroll
    on getPropertyDescriptionList
    myPropList = [:]
    myPropList.addProp(#textSprite,[#comment:"enter the sprite
    channel
    number of the text sprite to be
    scrolled:",#format:#integer,#default:""])
    return myPropList
    end
    on beginSprite me
    thisSprite = me.spriteNum
    OKtoScroll = false
    sprite(textSprite).member.scrollTop = 0
    maxScroll = sprite(textSprite).member.height -
    sprite(textSprite).height
    end
    on startScroll me
    OKtoScroll = true
    end
    on stopScroll me
    OKtoScroll = false
    end
    on exitFrame me
    if OKtoScroll then
    if sprite(textSprite).member.scrollTop < maxScroll then
    sprite(textSprite).member.scrollByLine(1)
    end if
    end if
    end
    Rob
    Rob Dillon
    Adobe Community Expert
    http://www.ddg-designs.com
    412-243-9119
    http://www.macromedia.com/software/trial/

  • Creating metadata in Flash CS3 and reading it in AS3

    Is there a way to store metadata in a library symbol in Flash
    CS3, and then read it in AS3? For example, I want to have the
    following code run:
    m_Metadata = 'You're cool!'
    I need this data before I can play the movie clip. Is there a
    way to store this? I've been trying to find a solution, but it
    looks like I'm just going to have to load in a separate XML file
    with the data.
    Thanks!

    Unfortunately there's no simple way to add instance level
    code in Flash CS3 or CS4 with AS3. This is a significant authoring
    tool deficiency in my opinion.
    Making a component... depending on what you want to do, there
    can be a lot of overhead. There may also be some very flaky/buggy
    behavior in Flash CS3 with custom components if your experience is
    anything like mine. However, for basic metadata, try this:
    1. Select the Symbol in the Library
    2. Right click, choose Component Definition...
    3. In the Parameters data grid you can add
    parameters/properties. Make sure you set the "Variable" field as a
    unique identifier for each parameter. These are the properties
    you'll use in AS at runtime to retrieve the values.
    4. Now on each instance on the canvas you can go to the
    Parameters tab and enter custom values for each parameter.
    5. At runtime, you should be able to access the values via
    instance_name.variable_name
    I believe that will work without actually creating a
    component class and making it functional.

  • Flash components & XML

    Hi all,
    I am working on a new project that I can't seem to find any
    help resources for. I am using the Flash Components, binding and
    schemas to link together text fields, drop downs(ComboBox), and a
    button to the XML Connector. The part I can't figure out is if
    there is a way to make the button dynamically change it's
    destination URL when the subject of the dropdown(ComboBox
    component) is changed. In the XML file, I have nodes for all the
    components to accept. Is there any way for the Component button to
    accept the different <URL> nodes as I change the parent node
    with the drop down box? I thought maybe a variable or an instance
    name in the XML Connector or Button Component bindings or schema
    area could work. But no luck yet. Thanks in advance.

    huh! I'v tried searching for that phrase exactly & have
    had few matching results!! How did you do that?? Thats magic that
    is! Thanks alot! (Found one on the first result!)

  • Using Flash components as Widgets

    I'm liking much of the functionality (and prettiness!) gained by third-party Flash components (www.flashden.net, www.flashcomponents.net, etc) that I'd like to incorporate into Captivate lessons.
    Being a Flash and Captivate newbie, I haven't yet broken the code on how Flash, Widgets, and Captivate fit together. For example, I like one of the many OSX dock-like Flash components out there, and would like to use one for slide-to-slide navigation in Captivate.
    Does this necessarily have to be done using a Widget? Is there any online guidance out there regarding Widgets in Captivate? Googling reveals very little information.
    Thanks!

    It really depends on what you want to do with the particular component. I use components from www.flashden.net quite alot in my projects and most of them are not modified to act as widgets. For example photogalleries, image transitions etc. can be imported straight into Captivate, but you won't get any other functionality than what the original component offers.
    If you want to have a OSX style dock menu you could modify one of the files from www.flashden.net to suit your needs. I wouldn't make it into a widget if it was me, since all you really need to do is to enable navigation in Captivate when the user clicks on a thumbnail. This can easily be done by just sending the commands directly from Flash (the rdCmd variables). You would have to create the thumbnails yourself though (and probably reference everything in an external XML file so it's easy to update), but it should be doable.
    The idea from raj_cap about using the print widget is very good. If you want to have your menu create the thumbnails on the fly then you would need to go this way. I'm definetly looking into this because it's such a great idea (thanks raj_cap).
    /Michael
    Click here to visit the www.captivate4.com blog

  • Understanding Flex: Can it be used without Flash-knowledge, and some other questions

    Hi.
    I'm trying to understand how Flex works. My understanding is
    that Flex is like the integration link between Flash-content and
    .NET-applications on the web. We need rich interface on our
    .NET-applications - without ActionScript-coding required from the
    programmer's side.
    Can this be acheived with Flex alone?
    What is Coldfusion required for? Can Flex be used without it
    to create the rich web interface?
    Are basic components included and ready-to-be-used? What if
    special components are needed? E.g. multi-level menu-tree or some
    special data grid. Can this be developed by a Flash-programmer and
    used as a "generic" component?
    My reason for choosing this would be that we easily can
    acheive great web-layouts that are Flash-based, and that interact
    with our .NET-applications. Is this the product I'm looking for?
    Thanks alot in advance! :D

    It is absolutely possible to create complex custom components
    in Flex and without FlashPro.
    Flex can communicate with the server in several ways.
    WebService: SOAP-based
    HTTPService: XML over HTTP, (like REST and AJAX)
    RemoteObject: uses proprietary amf protocol, needs Java or CF
    on back-end
    There are some others like URLLoader and sockets.
    Unless you need your back end functionality to be generally
    available to anonymous third parties (hence the wsdl), WebServices
    are unnecessarily complex.
    I prefer HTTPService, I post xml strings in the normal
    name=value format to the server and use e4x xml as the resultFormat
    in flex.
    Even though you said "roughly", that is still an impossible
    question to answer, there are too many variables: On the back-end,
    do you need to install a database? Create the schema? or is some of
    that part done already? On the front-end, How will you navigate the
    records? See, too many variables.
    The communication part is by far the easiest. Almost
    negligible, although the Flash Player security can cause some
    head-scratching!
    Tracy

  • Problem with flash components in director  tollbox

    1- I have 2 buttons named "makeQst1BT" in frame 1 and  "chkQst1BT" in frame 2,  which both are draged from toolbox.
    First the user gets a random question in frame 2 andhas to answer it, When the user clicks "chkQst1BT" its visible is to disappear after answering. it is done nicely  and button disappears.by  the follwing code.
    sprite("chkQst1BT").visible =false
    then later when user navigates back to a frame 1 again and wants to make a new question and presses "makeQst1BT" this button is to set the visible of "chkQst1BT" to true again by this code:
    sprite("chkQst1BT").visible =true
    BUT here I get script error  indicating that PROPERTY #visible not found.
    Why this happens? and how can I set the visible of  chkQst1BT back to true?
    ( I get many similar script errors saying PROPERTY #text not found in the same movie)
    2- I have draged many textArea flash components from toolbox, then want to change their ink from copy to background transparent, it appearantly accepts this choice but it is still displayed like "copy" with white bakgr.( I do it from property inspector window)
    What is strange is that only one of text Areas changes appearance when ink changed to background transparant but not others.
    Any ideas?
    Thanks in advance!

    First off, you should know that the flash components aren't that predictable/stable to begin with, but anyway.
    1 If the sprite only exists in frame 2 you can't change it's properties in frame 1. What you can do, and I'm reasonably sure you don't need to, is to put the visible code in a on begin sprite handler for a script on the sprite which should be run every time you enter frame 2.
    2. Works fine here so I can only speculate on what's causing your problem. My guess is that the text areas share sprite channel with some other component during your movie and that component has it's ink set to copy. Move the flash text area component to their own channels or add a behavior script to them that sets the ink in the on begin sprite handler.

  • How can i record a name a score in a flash game and write down in a soreboard?

    Hi. I wrote down the summary of my project so that you can
    understand and answer me more easily:
    I have to build an application (a little flash game) in which
    I record the number of clicks. I want the player to choose a nick
    at the beginning and when he finishes one or all the four choices
    of target, i want the application to write his nick and final score
    in a database for displaying in a scoreboard (hall of fame). All
    the new entries should be sorted according to the score. If the
    same nick appears again, it's final score will be modified in the
    scoreboard only if is higher then the previous.
    I was thinking of creating a variable for the name that is
    chosen at the beginning and a variable for the score that is
    recorded. When the player finishes the game i want the application
    to write his data in the database, and then to display the
    scoreboard (let's say top 10 players in the database from the
    highest to the lowest score).
    I never did this before so i am asking what database shoud i
    use? I need a programmer to create one for me? Or can flash
    generate the database?
    Is the variable the good way or should I aproach the problem
    by other means? And if a programmer creates a database in MySql is
    that good or he should convert it to XML, or Flash generates the
    XML?
    Thank you.
    Mark this message as the answer.

    The bottom line is you cannot write to a file (database or
    XML files) directly from flash.
    I have done a number of projects where I needed to have
    access to an XML source or a database. In these cases I had to
    create server side script. I have done them in .NET, PHP ASP.
    The only option you have is to use the Flash's Shared Object.
    This does not store the data indefinatly and has a limited size
    (100K). Let me know if you need further info.
    With regards to using a variables depends on how you are
    writing your game. If you are creating classes in ActionScript then
    all the data can be stored within the class members. For example
    you could have a Player Class and store all the player related
    information in that class until the game is over. On the other hand
    you can just use varibles to keep things simple.

  • Problem in loading Flash Components

    Hai,
    I have a problem in loading flash components using
    actionscript.
    Example( List Components).
    I can load List components dynamically using frame script
    like.
    import mx.controls.List;
    var myList:List = createObject("List","nList",10);
    But I can't load dynamically from inside a class file like.
    import mx.controls.List;
    class testClass{
    private var myList;
    function testClass( ){
    myList = createObject( "List","nList",10 );
    But it is not working i don't know why ?
    If any one knows Please reply me.
    Thank you.

    The over flash file works if i'm loading images direct from a
    path but, i'm using php script to pull the files in binary format
    and, it's causing problems in in firefox..

Maybe you are looking for

  • Maximum file size with Adobe Media Encoder?

    I seem to be having a problem when converting files in AME. I'm converting .m2v files into quicktimes files, using the DVCPRO HD 1080i50 codec. No sound is being exported with the audio. Dimensions are 1440 x 1080, frame rate, field type and aspect a

  • Regd HR abap - smartforms

    Hi all, I have a requiremet where i have to populate the position, emp group, emp subgroup, personnel area, personnel sub area of an employee for the last 3 years EXCLUDING CURRENT YEAR into the smartform table. e.g. If an HR executove is taking out

  • Excel error

    Dear All, I have a strange problem and I don't know why. I'm creating az excel file. Made it visible. When I close this excel file sometimes SAP throws an error.  C:\Program Files\SAP\SAP Business One\AddOns\sap\Outlook_Integration\BO_SyncExt.exe "R6

  • Slow Upload

    Hey All, I have a refurb macbook pro. Sometime within the last couple of months, I have picked up an odd problem. I work on the laptop at home, and occasionally come in to work and connect to our LAN to upload files to our company servers. The proble

  • Deleting entire duplicate Library

    I restored my Library from a Hard Disk crash. It copied each song- 1200 entries- twice. How do I delete all duplicates without deleting "one by one"? Thanks.