Convert Action script Flex project to MX Component

Hi gurus,
I am looking into one of the examples on "Inspectable" in Flex project. As per my knowledge to convert we need to define a .MI file.
Can anyone help me in converting this project into a MX component.
Thanks and Regards
Srikanth Anthargam

Sorry its MXP component

Similar Messages

  • Is Action Script for netStreaming and FLVPlayback component radically different, not interchangeabl?

    Hi.
    I am using NetConnection and NetStream to play back flv in Flash Pro CS5.5, and trying to add cue point to trigger events using Action Script, and to automatically rewind to the start at the end. There is no problem to trigger events via AS when the cue points are embedded, but i am unable to add cue points using AS.
    When i use an FLVPlayback component, there is no problem to add cue points (http://help.adobe.com/en_US/ActionScript/3.0_UsingComponentsAS3/WS5b3ccc516d4fbf351e63e3d1 18a9c65586-7feb.html) and to loop the playback using autoRewind (and fl.video.VideoEvent.AUTO_REWOUND which i got from Nafem at http://forums.adobe.com/thread/857036).
    However, i am failing to use this same code w/a netConnection and netStream, and would appreciate any help.
    thanks.

    Hello,
    Well, I've got some help from another helpful fellow at macscripter.net and I have a working script - albeit a bit more specific (ie, hardcoded extensions to look for) and a different approach.
    Here's the script:
    on adding folder items to thisFolder after receiving addedItems
    repeat with movieFile in addedItems
    set {Nm, Ex} to getName_andExtension(movieFile)
    set movieFilePath to (thisFolder as text) & Nm & ".avi"
    set subtitleFile to (thisFolder as text) & Nm & ".srt"
    if Ex is ".srt" then
    try
    tell application "iFlicks"
    import (movieFilePath as alias) with gui
    end tell
    end try
    else if Ex is ".avi" then
    if my FinderItemExists(subtitleFile) then
    try
    tell application "iFlicks"
    import (movieFilePath as alias) with gui
    end tell
    end try
    end if
    end if
    end repeat
    end adding folder items to
    on getName_andExtension(F)
    set F to F as Unicode text
    set {name:Nm, name extension:Ex} to info for file F without size
    if Ex is missing value then set Ex to ""
    if Ex is not "" then
    set Nm to text 1 thru ((count Nm) - (count Ex) - 1) of Nm
    set Ex to "." & Ex
    end if
    return {Nm, Ex}
    end getName_andExtension
    on FinderItemExists(thePath)
    try
    set thePath to thePath as alias
    on error
    return false
    end try
    return true
    end FinderItemExists

  • What's the difference between action script library project and flex library project

    i see a new project named actionscript library project. what's the difference?

    In ActionScript Library Project, there is no MXML support and Flex related libraries will not be added by default. Otherwise both are similar.
    Thanks
    -Sunil

  • Not able to convert my application file from mxml to Action Script

    Hi,
        In my mobile project I want to convert my application file from mxml to ActionScript.When I do this I get error and when I digged into the code I found that the error comes in preloader class initialize method as preloader property in System Manager class is null(line 2026 in SystemManager class).it actually represents the splashScreen class.When I tried to set the splash Screen the document says we cannot set this property from action script.
       I know we have an option of action script mobile project but it doesnt recognise TabbedViewNavigatorApplication.
    So how can I overcome the problem.

    I get the following error:
    TypeError: Error #1007: Instantiation attempted on a non-constructor.
    at mx.preloaders::Preloader/initialize()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\p reloaders\Preloader.as:261]
    at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::initialize()[E:\dev\4.5.1\frameworks\projects\ framework\src\mx\managers\SystemManager.as:2103]
    at mx.managers::SystemManager/initHandler()[E:\dev\4.5.1\frameworks\projects\framework\src\m x\managers\SystemManager.as:2588]

  • Convert Flex project to Creative Suite Extension Project

    Hi,
    I would like to know if there is a way to convert an existing flex project written in as3 to a Flash Pro Creative Suite Extension Project so we can debug it?
    Its a large and complex project and we would rather not start it from scartch

    "john isaacks" <[email protected]> wrote in
    message
    news:gen6sa$gdi$[email protected]..
    > well I don't really use the time line, I basically have
    about 20
    > actionscript
    > classes and my assets stores in the flash library many
    with the linkage
    > identifiers correlating to the actionscript classes. I
    also do use alot of
    > the
    > flash components from the fl package.
    >
    > I am pretty experienced with flash but this would be my
    first real flex
    > project.
    Look at the Flex Component Kit

  • TLF on action script 2 ?

    Hi,
    I designed an animation with action script 2 in years ago. now how can I use TLF text in that animation without converting it to action script 3?
    if can't, how can I convert action script 2 to 3 easily?
    Best Regards.

    Seems you can not use TLF in action script 2 as TLF is an action script 3 library...
    We are not the experts about how to convert action script 2 to 3 but we'll post this question to our internal forums. If there is anyone answers this question. I'll let you know.

  • Creating a action script class for a flex component

    Hi,
    I am new to flex.
    I have designed a flex component into that I have 4 action script function. I have to write all those function in a separate action script class.
    Can anyone tell me how to do that?
    Thanks,
    Tushar

    I'm not sure I understand the question.
    Alex Harui
    Flex SDK Developer
    Adobe Systems Inc.
    Blog: http://blogs.adobe.com/aharui

  • Difference in using the same component made in mxml or action-script

    Hi,
    I made a sample project to show a kind of bug in the SuperTabNavigator component of FlexLib
    In this sample you can see that using the same component (made in both mxml or action-script) can make a difference
    I'm just wondering why ?
    Thanks
    Here is what i've posted :
    What steps will reproduce the problem?
    1. Create a button to dynamically add new tab with icon on a SuperTabNavigator
    2. Click on this button to add new tabs
    What is the expected output?
    - The expected output is tabs added without abnormal behavior
    What do you see instead?
    - Every time a new tab is created the one who had the focus has its content
    (icon + label) moving from the top-left of the tab to its original position
    Please provide any additional information below.
    Configuration:
    - Flex Builder 3 in Eclipse
    - FlexLib 2.3
    Sample:
    (see attached file)
    There is two type of tab, one in action-script and one in mxml
    They both are equal
    - Adding a new action-script tab to SuperTabNavigator works fine
    - Adding the same tab but an mxml one doesn't
    - Adding a new action-script or mxml tab to TabNavigator works fine
    -> meanings that the issue comes with SuperTabNavigator
    - Adding a new mxml tab to both SuperTabNavigator and TabNavigator at the
    same time makes TabNavigator to get the same bad behavior
    Remarks:
    - Tried everything but i'm really stuck
    - Weirdly, removing the PopUpButton correct the issue
    - In the same way if you keep adding action-script tab it automatically scroll to the
    last tab. And if you do the same with mxml tab then it add the tab at the end and
    scroll to the first one.
    => what could be the difference between using action-script or mxml object ?

    Here is one possible solution:
    You can use the ExternalInterface (
    http://livedocs.macromedia.com/flex/2/langref/flash/external/ExternalInterface.html)
    class to communicate with JavaScript. JavaScript can then popup the
    media player very easily like this:
    http://www.webreference.com/programming/javascript/jf/column5/index.html
    The documentation on the ExternalInterface class has a nice
    example (in the bottom of the page) on how to communicate with
    JavaScript in a browser. Hope this helps,
    -george

  • Using mx components in Action Script project in Flash Builder

    Hi
    I have created an Action Script project in flash builder 4 and want to use a mx.controls.button.
    The as file looks like this:
    package
        import flash.display.Sprite;
        import mx.controls.Button;
        public class as_test_project extends Sprite
            public function as_test_project()
                var btn:Button = new Button();
                btn.label = "test";
                addChild(btn);
    I have added C:\Program Files\Adobe\Adobe Flash Builder 4\sdks\4.0.0\frameworks\projects\framework\src as a Source Path in the project settings. I have also added framework.swc to the library path.
    I still get errors like :
    Description    Resource    Path    Location    Type
    Unable to resolve resource bundle "core" for locale "en_US".    as_test_project        Unknown    Flex Problem
    Have then tried added various Bundles folders like
    C:\Program Files\Adobe\Adobe Flash Builder 4\sdks\4.0.0\frameworks\projects\framework\bundles
    to the source path and library path, but I still get the errors.
    WHAT IS THE CORRECT WAY OF USING MX COMPONENTS IN A PURE ACTION SCRIPT PROJECT ?
    If I want to use th fl.controls componets instead but dont have CS3 where can I download them ?

    Thank you for your quick reply.
    But how then can I obtain the fl.controls components and use them in an Action
    Script project in Flash Builder 4?
    I don't have CS3 or CS4 (the flash authoring tool) installed.
    Is there an SWC somewhere to be downloaded?

  • Flex with any ORM - Writing Model classes and action scripts redundant?

    Hi,
    I am using Hibernate with Flex. I have all my model classes
    as POJOs. Now if i have to access these POJOs directly from flex, I
    need to write action script reference classes for all my POJO model
    classes. Since mapping POJOs with action script reference classes
    is so mechanical, i am wondering if there is any tool to read all
    the properties from the POJO's and convert them to action script
    reference classes automatically. Is there any way that this can be
    automated?
    Thanks in advance.
    Chandu.

    If you use Granite Data Services, there's something called
    "gas3" (I think is the name). You may be able to use it even if you
    don't use Granite.
    I didn't care for learning how to use it (plus it uses
    Groovy, more needless stuff to learn I guess), so I can't say how
    well it works. I just wanted a simple custom ant task that
    generates ActionScript classes for my Java classes. So I ended up
    making my own. It's definitely not trivial but it's not that hard
    if you're very good with Java and reflection.

  • CS3 action script 2.0: compiled clip components do not appear in the component panel

    Hi,
    I have a FLA file containing 3 compiled clip components.
    I use a MXP file to copy this file to the components panel,
    this works fine when using Macromedia Flash 8 or Macromedia MX
    2004, but when using CS# the components do not appear in the
    components panel, only if a use regular component or SWC component
    it appears in the panel, any reason why?any ideas?
    Thanks
    Maya

    I can use this code from html. I'm able to say where the swf
    and xml file are. I just don't know how to do this using action
    script.
    <object
    classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="
    http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
    width="768" height="576" id="tech" align="middle">
    <param name="movie"
    value="slideshow.swf?xml_path=musicbox_slideshow/slideshow.xml"
    />
    <param name="quality" value="high" />
    <embed
    src="slideshow.swf?xml_path=musicbox_slideshow/slideshow.xml"
    quality="high" width="768" height="576" name="tech" align="middle"
    allowScriptAccess="sameDomain" type="application/x-shockwave-flash"
    pluginspage="
    http://www.macromedia.com/go/getflashplayer"
    />
    </object>.

  • How use flex sdk 3.5 Action Script-3 code in flash builder 4.5............???

    hiiiiiiiiiiiiiiiiii
    can i use my flax sdk 3.5 action script-3 code into flash builder 4.5 .....if yes so plz give me detail how??..with step....

    Ya i tried by keeping <fx:Declarations> part but still it is throwing error,
    In flex3 we are making a component ex: <mx:canvas> and changeing that component to
    <cairngorm:ServiceLocator xmlns:mx="http://www.adobe.com/2006/mxml"
    xmlns:cairngorm="com.adobe.cairngorm.business.*">
    </cairngorm:ServiceLocator>
    if any one used 4.5 with cairngorm let me know
    thanks

  • Draw line in Action Script project in Flash Builder (Gumbo).

    Hi
    I am working on drawing tool application and want to draw line and rectangle in Action Script project in Flash Builder (Gumbo). Please guide and help me with an example.
    Thanks
    Rangrajan.

    This should be helpful http://help.adobe.com/en_US/ActionScript/3.0_ProgrammingAS3/WS5b3ccc516d4fbf351e63e3d118a9 b90204-7dd9.html

  • First Flex Project - Skinning Component?

    I am working on my first flex project for the college that I work for.  We are making a large touch screen into a display for all of the awards that we have given out over the years and taking the old plaques off the walls.
    I want to iterate over a list of names and years that the awards were given so that each instance of the award looks like it is on it's own little plate.  I'm just imitating the plaques that were on the wall that had a big discription and name of the plaque on one plate and all the winners of the award on their own little plates beneath it.
    Is this what I would a component skin for?  I'm sorry if this is to much of a newbie question.

    Very cool indeed.
    I added it to my ChikaraDev directory of rich internet
    applications:
    ChikaraDev
    Directory of Rich Internet Applications
    It could use a progress bar though. The screen where it will
    appear is blank till it loads. But very nice use of Flex!

  • Converting flash document (FLA) to Flex project

    Hi, I am trying to convert flash document to flex project.
    I initially had the .swf file. Then I created flash document(.fla) from .swf file. Now I need to convert to flex project so that I can modify and add new functionality. Please let me know if there are conversion tools available or is this purely a manual effort.

    You should take your question over to the Dreamweaver forum if it asking how to work with HTML5.  HTML5 by itself cannot reproduce Flash designs... the burden is moreso on javascript and CSS to make that happen.
    http://forums.adobe.com/community/dreamweaver/dreamweaver_general?view=discussions

Maybe you are looking for

  • EMac running extremely slow!

    this is what I have: Mac OS X v. 10.5.8 Processor 1GHz Power PC G4 Memory 1 GB SDRAM All files are on an external hardrive. I was getting very frustrated last night.

  • Getting incorrect JComboBox color through UIManager in Nimbus Look&Feel

    Hello all, As I implementing a multi columns JComboBox, I need to provide my own custom ListCellRenderer. * @author yccheok public class ResultSetCellRenderer extends javax.swing.JPanel implements ListCellRenderer {     // Do not use static, so that

  • Aperture 3 can't find images during import

    I create a project and try to import images into it. I hit import, the directories open yet when I navigate to folders that have images in them none of the files show-up in the window. I can see the folders but they look empty. Doesn't matter if the

  • TransactionTimedOut error

    Friends, Im getting an error when running a batch query in weblogic domain. As I dont have access to the server directly im not able to isolate the route cause of the error . If any one can help me why and when such an error may occur i can work in t

  • Scanned docs - Very fuzzy, not clear

    I've never seen this before.  The document is created using a flatbed scanner.  The original is all text.  On one particular computer the text is unreadable in Reader.  The file opens, but the image is so fuzzy you can't read it.  The text looks like