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 ?

Similar Messages

  • 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

  • When installing CS3 Design Premium it instals Version Cue server and shared components, but I get the message "Errors: 6 component (s)" and dose not install, Photoshop, Flash, Illustrator, Indesign or Creative Suite Premium

    When installing CS3 Design Premium it instals Version Cue server and shared components, but I get the message "Errors: 6 component (s)" and dose not install, Photoshop, Flash, Illustrator, Indesign or Creative Suite Premium

    Thank you Bturko in the future only migrate/copy/transfer your documents and settings.  Adobe applications especially are not designed to be transferred from one computer to another.  It is possible to recover however.  I would recommend the following steps:
    Run the uninstaller located in Applications/Utilities/Adobe Installers
    Run the CC Cleaner Tool to ensure complete removal - Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6 - http://helpx.adobe.com/creative-suite/kb/cs5-cleaner-tool-installation-problems.html.
    If you need to download a fresh copy of the installation files they can be downloaded at Download CS3 products.
    Run the installer and reinstall Creative Suite 3.

  • Flash Buttons and UI Components need double click to work. Any Solution?

    Hi,
    I have just finished making an application for Kiosk in Flash. However while testing I noticed that the buttons I used and UI components like textfield, textarea, radiobuttons, etc need to be touched twice to make them function. Can anyone tell why this happens and how to solve this issue? Its very frustrating for a user to keep clicking on the component to make it active first and then make it work.
    Note: Is it like Flash UI components need time to get active on screen and then they function?
    Thanks in advance.

    Thanks for the reply ReshapeMedia.
    What I want to say is I have a Flash exe file which contains feedback form for customers. This exe is displayed on Kiosk where user can interact with it using touch screen. The problem here is - when user touches (clicks) on the input field on screen or selects a radio button, it takes him several attempts to do so. In other words, user keeps on touching and tapping to activate the input field first and then somehow it gets activated and after multiple touches it allows them to enter the data/ radio button is selected and other buttons functions.
    This obviously adds to users frustration.
    This application is not loaded in IE so there is no browseer involved here.
    You mentioned a script trigger a mouse click. What is that? (I have addEventListener on my buttons already) Kindly explain a bit. Thanks a lot.

  • 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.

  • Please, Help Embedding Fonts in TextArea , TextInput and Alert Components

    Please, forgive my bad english.
    Here is my problem (using Flash CS3 ActionScript 2).
    I have on the stage :
    • an instance of TextArea with Instance Name :
    message_ta
    • an instance of TextInput with instance Name : name_ti
    • and I have in the library an instance of Alert
    component, with default linkage Identifier : Alert
    for each one of this components I need to embed the same
    font.
    I already created a New Font in the library, choosing the
    font I want to use, giving it name "my_font" and size 8px.
    Now, please, can someone help me to write the actions to
    embed that font (my_font) inside the TextArea, TextInput and Alert
    components ?
    Thank you .

    You're right,my mistake, components don't have a font
    parameter, I was thinking of the textField. In any case you can use
    setStyle.
    1. Import the font(s) that you want to use into your movie's
    Library.
    2. Set each font's Linkage to be exported for Actionscript.
    Set the identifier name as you like
    3. Set your component(s) on the stage.
    4. Name each component instance.
    5. In a frame action space, define the style for each
    component:
    componentName.setStyle("fontFamily","fontName");
    componentName.setStyle("fontSize",12);
    componentName.text = "hello";
    componentName.embedFonts = true;
    There is a section in the online help that lists the various
    style properties that you can set for each component.

  • Issue with CS3 Bridge and Flash 10?

    Im not finding any help and Im trying to trouble shoot this myself, since I updated to Firefox 3.0.8 apparently the latest version of flash was updated at the same time?
    My computer shows Flash 10.0.22.87 (running XP) as being installed in programs but tools>addons> plugins shows 10.0 r22. Is this how it is supposed to be? I've removed and reinstalled this a few times but they never match up.
    I've tried back dating to older versions of FF when things ran smoothly as this is the only issue Ive ever had with FF in the years I've used it, but that doesn't seem to help because its still the same flash plugin. Ever since this update I haven't been able to use some other programs such as Adobe Bridge and even AOL since they both have flash components I guess?
    I've done a forums search and I keep thinking it has to be something simple like a setting that needs to be changed but I cannot find it. I did delete the old flash folder as suggested in some of the other threads but no change. If anyone has even a decent lead please reply as I've been working on this for 3 days in and out of safe mode but even then I cant run any programs with flash. I have no crash logs because the entire system locks up and I have to do a hard reset. Thank you.

    Hi Cyboide,
                   Actually, I am new to Flash platform. I have developed a flash file and (.fla and .swf files are created) this .swf file I need to use within our project(based on Java) which is to be run in localhost. So, I had followed these steps as I saw in Google Help:
    1.) I had opened .fla file(First.fla) and goto File -> PublishSettings -> Formats tab.
    2.) In this tab, I had selected .html and .swf checkboxes and deselected remaining all.
    3.) Click on "Publish" button and then "OK" button.
    So, a html file with same name as that of .fla/.swf file is created in the same folder beside thes .fla and .swf files.
    I think it is clear upto this point.
                     Now,
                                If I open my .swf file simply in a browser window(Mozilla), I can view the contents. But, the Buttons, checkboxes, Combo-boxes etc., controls have no access(i.e., any animation, tweening works well but  there is  no user interaction).
                               Else, When I open my project in localhost(Java project), here somewhere i call my flash file(i.e.,First.swf file). But, the contents of .swf file are not viewed in the case of Mozilla Firefox. But, it works well in InternetExplorer browser including my whole project(i.e., all localhost). Hence, no problems when opened in IE.
    Please reply me as soon as possible. It is the only issue to end up my project.
    Waiting for replies.....
    thanks a lot in advance..
    Srihari.Ch

  • 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..

  • Flash components in  VC

    We upgraded to EHP1 SP6 to get the flash component working in VC.
    I uploaded the BO flash meters I found in a PDF  (/people/amir.mimran/blog/2009/09/11/flash-components-for-visual-composer-70--flexibility-is-the-name-of-the-game)
    I can add them to the storyboard and connect the input fields. Only after I deploy the model the gauge meter shows up without the range colors and with the value 50. when I click on it, it changes to 0 but it never shows the value (10) I set in the storyboard.
    The same goes with all the other BO flash components from the PDF
    They seem fine in the storyboard and they look fine in the deployed model except no values/wrong values are visible and they doesn't do much at all.

    Press F5 again to reload the page.

  • Flash components not working in Firefox 2 or 3

    Hi all,
    I have a couple simple games that use Flash CS3's list and
    button components. They work great in the Flash authoring
    environment and in IE when testing, but they do not work properly
    in Firefox. The button does not have any graphic associated with
    it, it is only the text of the label parameter that appears, so it
    looks kind of like plain text. The list appears fine in one game
    but does not appear at all in the other. If you want to see a
    sample of this, here is a URL:
    http://websitedev3.dis.wa.gov/games/countries.shtml
    -- this has the list that does not work properly in FF
    http://websitedev3.dis.wa.gov/games/catch.shtml
    -- this has a button on the info pages that does not have any
    graphics on it and looks like plain text ('Start Game').
    Any suggestions on how this can be fixed so these games are
    functional in Firefox would be greatly appreciated. This problem
    persists across multiple machines, so I don't think it's an issue
    with my development computer.

    Both of these load no problems in my FF3

  • Flash components+VB isssue

    Hi,
    I am doing a project which involves flah UI ,XML and VB. The
    UI has two major Tree Compnents,One menu bar and a few Accordions.
    All of these are populated with XML. Now this is embedded in a VB
    application. The Flash swf will send data to the VB shell and the
    VB writes the XML data with the changes , what ever the user had
    done in the tree or accordion..(Adding or removing nodes or some
    thing like that).All works fine ..But when user reloads the
    application ..by clicking on a language selection menu item(To
    change the language), the flash application goes awry. All the data
    is loaded every field and compnents are populated with their
    corresponding XMLs ..But Nothing is clickable!.
    Tree nodes don't open, menu items dont open, accordions are
    not collapsing.But they all are showing data.
    Basic functionalites attached to simple buttons are
    working..but other that that no other component works in a way how
    it needs to work.
    The strange things is that, if we create an VB alert while
    changing the lanuage and reloading it again..IT WORKS.
    We tried with delays and reloading and all. Nothing solves
    the issue.
    Can anybody please tell me where the issue is?
    Note : The Project Worked well when it was deployed in a
    webserver with jsp as the backend.The only change made was in the
    way in which you send values to the backend.. apart from this the
    flash code is the same.
    Thanks And Regards,
    BlueSquid

    radu_cosma,
    > I start using a few flash components (combo, list) and
    it seems
    > they are too big, aprox 65k.
    For all the benefits brought by components, their KB weight
    is
    definitely a drawback. That said, the ActionScript 3.0
    components weigh
    less then their ActionScript 2.0 counterparts.
    > Probably there's a common library used for all user
    interface
    > components and that is imported in the project always.
    You nailed it. In fact, if you study the components in the
    ActionScript
    2.0 Components Reference or the ActionScript 3.0 Language and
    Components
    Reference, you'll see the hierarchical "family tree" common
    to all
    comonents, then common to groups of related components.
    > Is there any way to reduce the size of the swf, maybe
    import
    > ONLY what is needed, do we have that option?
    Unfortunately, you don't have that option. When you import a
    component,
    it weighs whatever it weighs; you're already importing the
    minimum that
    component needs. On the bright side, when you import a second
    component,
    the combined total KB is usually considerably less than the
    sum of each
    component's individual weight.
    David Stiller
    Co-author, Foundation Flash CS4 for Designers
    http://tinyurl.com/5j55cv
    "Luck is the residue of good design."

  • 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!)

  • Trying to understand capabilities of Flash Professional and Flash Builder 4

    I recently purchased the CS5 Master Collection and am struggling to understand the uses for Flash Professional and Flash Builder 4.  I was inspired by Jay Pavlina's Super Mario Crossover game and wish to make similar applications. 
    However, I am confused about whether I should be using Flash Professional or Flash Builder 4 or both?  I purchased the two books that Jay Pavlina recommended "ActionScript 3.0 Animation Making Things Move!" and "Essential ActionScript 3.0".  I've been trying to find resources that will help me understand exactly the purpose of each of these applications. 
    It appears to me that ActionScript 3.0 is used in both?  So which one should I be using?  Or both?  Or is one more design oriented and the other more development oriented?  Can one make flash game like Jay's using just one or the other?  Any help would be greatly appreciated.

    I thought about it a bit more. I think you should take my advice with a grain of salt. I am still standing behind what I said but there are some circumstances that we are not in control of.
    If your task is to be the beginning and the end of your code - don't bother with Flash IDE. BUT, if you plan to monetize on your Flash/ActionScript skills, you may not have choice but be familiar with as many environments as possible.
    Here is my personal experiense that illustrates this point.
    I always prayed to gods, chanted to mandalas and made offerings to spirits to avoid a single thing - not ever deal with custom Flash components. Rightly or wrongly I perceive them as one of the lamest Macromedia creations. I am not talking about SWCs but about this thing that you create with preview and all other crap. Above all, it did not (and still doesn't) make much sense to me from functionality standpoint.
    Anyway, as, I guess, a karmic retribution, I was dealt this card. I got involved in a project(s) where I was not told that my main task would be to, you are right, write and reverse engineer Flash custom components. If I did not know Flash IDE I would be totally lost. Custom components are so counter-intuitive that only people without programming background can view them as a convenience. Well, it is a convenience if they are written correctly.
    The point is that, if you want to make a career out of it, you should gradually get involved with Flash IDE for now. The truth is that there are tons of agencies out there that do not have resources to hire high level developers and they employ "drag n' drop, cut n' paste" individuals. And this is a real market segment. Even well seasoned development houses have to succumb to this reality and cater to such entities.
    It is your choice, of course, but I thought it wouldn't be fare to you to be very fascist about pushing my one-sided views.

  • Flash components in Flex

    I have built an interface in Flash CS3 and now have the need
    to port it over to Flex. I am trying to do it with as little
    re-build as possible, so I need to port the Flash components over
    with it. I exported a SWC with all of the components I am using,
    and added it to the Library Path of an AS project.
    The build gives me no errors, but I do get a #2007 at
    runtime. The error seems to be stemming from a Yahoo ASTRA Flash
    component, which was included in the SWC.
    TypeError: Error #2007: Parameter child must be non-null.
    at flash.display::DisplayObjectContainer/addChildAt()
    at fl.controls::BaseButton/drawBackground()
    at fl.controls::LabelButton/draw()
    at fl.controls::Button/draw()
    at
    com.yahoo.astra.fl.controls.tabBarClasses::TabButton/draw()
    at fl.core::UIComponent/drawNow()
    at com.yahoo.astra.fl.controls::TabBar/drawButtons()
    at com.yahoo.astra.fl.controls::TabBar/draw()
    at fl.core::UIComponent/callLaterDispatcher()
    I have been searching around the net, and the majority of
    people are saying that this happens when the skins aren't included
    (so you need to set them before the component is added to the
    stage). I am using customized programmatic skins, for which the
    source files are included in the build, and the styles get set
    before the component is added to the stage (I actually replaced the
    default ones in the class).
    Does anyone have any other ideas as to how I could fix this?
    PS - It is an ASTRA TabBar component that is giving me
    issues. I know that Flex has a TabBar and TabNavigator, but I can't
    find any documentation on how to use these from an AS project (no
    MXML). I will simply rebuild using the native Flex controls if
    necessary, and if possible, but would prefer to fix the issue as it
    currently stands. (I might go back to Flash at some point, and
    don't want to tie myself to a particular solution, considering I
    can't use Flex components in Flash).
    PPS - If you are wondering why I am porting to Flex right
    now, especially if I am considering taking it back to Flash in the
    future, it is because I have the need to begin building in
    FlashPlayer 10 functionality, and the only way you can build to
    FP10 right now (as its in beta) is with a nightly build of
    Flex.

    "rritchey" <[email protected]> wrote in
    message
    news:g8ua6d$qu6$[email protected]..
    > bump: Was I not clear in my question? Or does no-one
    know the answer?
    You might want to try in the flexCoders Yahoo! group.

  • FCX 1.5 MX and Flash 8

    Hello,
    I was searching about this, but until now I found no
    sufficient or clear answer.....
    Which communication component set ( and where can you
    download them ) can be used to develop for FCS 1.5 in Flash 8 Pro ?
    I'd like to use the AVPresence, Chat, etc..... This is a
    serious request, not targeting to get the answer "It is better to
    code them yourself" . The fact is, that it is necessary to know
    about the compatibility. So please be kind and try to clear or
    explain the circumstances to me. I'd like to start coding but feel
    blocked by the simple question which components (FCS V1, V2 or FMS)
    I should install.
    Thanks in advantage
    MIBtwo

    I'd like you to correct me if I am wrong, but it seems that
    the "new" fcs2 components available from
    http://www.adobe.com/devnet/flashmediaserver/articles/components.html
    are dated from June 2002. (Version info of AVPresence shows Version
    d20, 06.28.2002 for example)
    They seem to be older than the "latest" MX 2004 Communication
    Components that I have found on my Harddisk (Version info of
    AVPresence shows Version d23, 02.22.2003 there)
    So ,there is no AS2 compatibility to assume with the
    fc2_components and some glitches reported by other people make this
    assumtion seem to be reality (see problems with "SimpleConnect" and
    "VideoConference" reported in several other threads).
    I found no tech. Info, releasenote or anything official
    pointing out the limitations to AS1 and the problems with deploying
    to FP > 6. The only source of information is here in the forum.
    It is annoying, time consuming and does not help in customer
    satisfaction (just my opinion) that Adobe does not keep in track
    with it's own products. How is it to explain that Adobe/MM putsold
    soles on new shoes, as it seems to me ?
    Both, FMS and Flash 8, are good and well established
    Products. But (again I just state my opinion) when a company offers
    an enrichment ( I still see the CommComponents in that light) for
    an expensive product, it should be supported, documented,
    maintained and updated in the same manner as the product itself. Or
    they should let it be, because all what they cause is confusion
    when things are not documented.
    I would be glad, if I am wrong with what it seems to me.
    Maybe I missed something and somebody can correct my statements
    (nobody is perfect).
    The (sad) result of my investigation is :
    - NO AS 2.0 compatibility,
    - Problems when deploying to FP > 6 bec. of depricated
    statements
    - partial decreased functionality of fms2_components compared
    to other Versions of CommComponents (MX 2004 Components)
    - NO docu regarding to limitations or technical info about
    compatibility.
    Conclusion is (as JayCharles mentioned in a former post) :
    Best is not to use the predefined CommunicationComponents.
    As long as Adobe does not change them to support AS 2 and the
    actual FP Versions I agree to JayCharles statement.
    EOF
    MIBtwo

Maybe you are looking for