Actionscript 2 versus Actionscript 3

I am currently trying to embed an Adobe Flash file into Captivate 5.5 that contains Actionscript 2 while my current project is in Actionscript 3.  This is causing the flash file not to work.  Help?

Hi There,
Welcome to Adobe Forums.
We have tested the same on our end and the flash file of Actionscript 2 would not work in Captivate 5.5 because it has Actionscript 3.
Thanks
Vikas

Similar Messages

  • Pure Actionscript vs. MXML

    I understand that the answer to this question may be mostly
    subjective to some, but I'm trying to zero in on the objective
    part. In developing my apps, I am finding a regular tension between
    having my Flex components developed in MXML vs. Actionscript. I
    wanted to ask a general question, and again, trying to be objective
    as possible, is it better to develop Flex components in MXML or in
    pure Actionscript?
    While MXML of course let's you perform WYSIWYG development in
    Flex Builder's GUI editor, I have run into things that can't be
    done very gracefully in MXML, reuse of MXML components can become
    cumbersome, and there's a lack of control of loading and unloading
    of components in MXML, which you can accomplish in Actionscript
    much better.
    I have noticed that what I have seen of the Flex API is pure
    Actionscript, which would indicate a lean toward Actionscript, but
    then I've seen code snippets for components in various places on
    the web posted in MXML.
    So to try to get down to the crux of the matter -- is it
    inherently better to develop Flex components in pure Actionscript
    or in MXML, and why?
    Thanks -- I'm curious as to community responses....
    B

    Tankman,
    I'll take one last stab here.
    quote:
    Wait, you've completely lost me- you're saying that MXML
    isn't declarative because it can include Actionscript?
    You said previously that "the Flex documentation explicitly
    states that MXML is declarative, and therefore limited". I replied
    with "MXML isn't completely declarative, it allows embedded
    Actionscript." In other words, while MXML components are
    declarative, they aren't 100% declarative. An MXML component is
    both declarative and includes embedded Actionscript. The intent of
    the original question was to compare writing components in MXML
    (which includes embedded Actionscript), versus writing components
    exclusively in Actionscript. Never at any time was there any
    intention to be discussing writing components in MXML while
    prohibiting any use of embedded Actionscript, like virtually all
    tutorials and samples from Adobe do. The thrust is to determine if
    going in either direction (MXML, which again includes embedded
    Actionscript, vs. pure Actionscript) either provides or removes any
    features / functionality that the other has access to.
    quote:
    By that logic, no, there are no limitations to MXML. Since it
    has actionscript in it.
    Now you've answered the question. In your opinion, writing a
    component using MXML (once again, which includes embedded
    Actionscript) has no limitations.
    quote:
    By your classification system, I could just make my entire
    application one MXML file, with 9000 lines of actionscript in it,
    doing all the work, and that would count as "MXML".
    Yes, this is true. But the question wasn't an architectural
    design one of how the app should be broken into subcomponents, the
    question was about the merits of building your components in MXML
    vs. pure Actionscript. Your scenario has nothing to do with using
    MXML vs. pure Actionscript -- that is merely a design choice with
    whichever one you choose. One could just as easily write 9000 lines
    of Actionscript in a single monolithic Actionscript class.
    Based on your answer above, about there being no limitations
    of MXML when you include Actionscript, if that is true, then I
    believe one has to conclude that writing MXML components is
    superior to Actionscript, based on the fact that Actionscript
    components cannot be rendered and modified in the designer. Now,
    whether MXML has limitations was the question posed in this mail
    thread, and that answer still remains to be seen. But if your
    answer is true, then MXML is clearly superior, based on avaiable
    tooling, to Actionscript.

  • Using Ruby in place of Actionscript

    I love flash (design tools, stage / layout concepts, etc.),
    but I hate actionscript. I've been a programmer for about 10 years
    now, programming in everything from C to C#, java, php, perl, ruby,
    and actionscript. Actionscript is by far my least favorite of the
    group. It is a clumsy language (just have a look at the way
    actionscript 2 handled method closures on callbacks) and I'd prefer
    to use another scripting language in place of it for my flash
    development. Ruby would be an excellent replacement, offering
    everything actionscript has to offer (object oriented, event
    handling, etc.) with a number of additional features that come
    through ruby core and the ruby gems (excellent date and time
    libraries, database libraries, file handling libraries, etc.).
    Does anyone with an in-depth knowledge of actionscript and
    flash know what it would take to achieve some sort of common
    language API that would allow such a substitution? If the ruby on
    rails guys came across a solution allowing them to leverage the
    benefits of ruby (superior language to actionscript) with the
    benefits of the flash platform (superior visual control to
    html/ajax), flash would be unstoppable.

    ryanmohr,
    > The actionscript developers seem to enjoy leaving the
    > core libs unfinished so others can produce utility
    classes
    > to finish the job they should have done on their own.
    Again, fair enough. :) On the other hand, regarding the
    missing String
    manipulation utilities ...
    > but why not just offer it built in? It would take what,
    a
    > full five minutes for them to write?
    ... hey, if all it takes is five minutes of someone's time,
    why not craft
    together a utils library and share it? You could make a
    positive
    difference. :) In that line of thinking, it's not even the
    size that
    matters. Moses Gunesh, for example, put together an elaborate
    and popular
    tweening engine, Fuse (
    http://www.mosessupposes.com/Fuse/),
    and shared the
    wealth. Note: by proximity to a casual statement on a String
    utils class,
    I risk implying that Fuse is just a five-minute exercise in
    simplicity,
    which is not *at all* the case. I'm only pointing out that
    good libraries
    can make a helpful difference in people's workaday lives. If
    the
    functionality you want isn't available, roll your own! :)
    > You are correct that there is no arguing taste, but if
    you
    > took the time to learn ruby well you would come back
    > to actionscript very disappointed.
    Even if I do "appear to be very knowledgable ... [on] the
    inner-working
    of Flash itself," I don't claim to know much on the
    inner-working of Adobe.
    I guess it depends on one's point of view -- and to my point
    of view,
    ActionScript keeps getting better and better.
    I think there's more than just taste to consider. For the
    type of
    programming I like to do -- where the end result is (ideally,
    to me) making
    cartoon characters move in response to user input, Ruby might
    leave me dry
    (Flash is strongly suited to vector graphics, sound effects,
    video footage,
    etc.). My multimedia career started with Macromedia Director,
    whose
    programming language is Lingo, a very AppleScript-like
    language. My guess
    is that you wouldn't much care for it at all. From there, I
    moved,
    reluctantly at first, to Flash, where my programming skill
    grew in-step with
    the increasing maturity of ActionScript. There was a time,
    essentially AS1,
    when ActionScript was practically identical to JavaScript,
    and I enjoyed
    getting to know both. JavaScript led me to regular
    expressions, which
    fascinated me for fully two years before I got any good at
    it. I'm pleased
    as punch that AS3 supports regex natively. AS2 brought the
    "class"
    keyword -- and OOP in general -- to the forefront of my mind,
    which led to
    brief excursions into Java and C#. I've played a bit with
    Python, PHP, and
    a handful of other languages. To a certain extent,
    programming is
    programming: it's the syntax that changes, not the challenge
    and fun of
    problem solving within a given set of constraints (like the
    language
    itself). In that regard, it doesn't really matter to me what
    language I'm
    using, so much as a general answer to the question, "Does
    this platform
    allow me -- encourage me -- to participate in the kinds of
    projects I like?"
    Even if I found another language, such as Ruby, more
    convenient, it might
    not facilitate the sorts of projects I enjoy. To go out on a
    limb and make
    an extreme example, Ruby, for all its elegance, wouldn't help
    me if I had a
    passion for programming LCD wristwatches. Because I "grew up"
    on
    ActionScript, I also have something of a nostalgia for its
    particular
    quirks. I personally happen to find ActionScript more
    palatable than
    Lingo -- so I can see some of your points.
    > The more I get to know actionscript 3 in detail the more
    > I'm convinced those that adamantly support it just don't
    > know any better.
    I don't know if you consider me one of those who adamantly
    supports AS3
    or not, and it doesn't really matter. You yourself said that
    ActionScript
    isn't a bad language -- only that Ruby, in your estimation,
    is that much
    better. Well, good! I'm glad you've found a language that
    pleases your
    palate. :) If you were to change your mind and decide, after
    all, that
    ActionScript actually is a "bad language," it wouldn't be any
    skin off my
    nose. See, if I step away from ActionScript toward something
    else, it means
    I'm stepping away from a platform that has continued to
    intrigue me for
    eight years. If ActionScript were still where it was in the
    Flash 4 days,
    I'd probably be whistling a different tune. ;)
    David Stiller
    Adobe Community Expert
    Dev blog,
    http://www.quip.net/blog/
    "Luck is the residue of good design."

  • Convert flash mx actionscript to cs4

    Hi i am new t flash and am not good with actionscript at all.
    Basically this code is what i need to make a menu act how i want
    when scrolling. Does anyone know how to convert the following
    flash mx actionscript to actionscript 3.0(Flash cs4
    compatible).
    If you do i would be really greatful if you ccould post it in
    a reply. the tutorial i am using is at the bottom if it is of any
    help.
    [CODE]
    mouseX = _xmouse;
    menuX = menu._x;
    if (mouseX > 280) {
    diff = (mouseX-280)/15;
    if (mouseX < 220) {
    diff = (220-mouseX)/15;
    if (mouseX <= 250 && menuX <= 56) {
    setProperty("menu", _x, menuX+diff);
    if (mouseX >= 250 && menuX >= -204) {
    setProperty("menu", _x, menuX-diff);
    if (menu._x >= 56) {
    menu._x = 56;
    } else if (menu._x <= -204) {
    menu._x = -204;
    gotoAndPlay(2);
    [/CODE]
    Page
    1
    Page
    2

    "vookster" <[email protected]> wrote in
    message
    news:go7cec$obn$[email protected]..
    >
    > I was wondering are files produced from Flash MX
    compatible with
    > Dreamweaver
    > cs4? I have Flash MX and don't want to buy Flash cs4 if
    I don't need
    > to.
    Flash MX creates .swf files. Dreamweaver CS4 creates HTML
    files, and
    has the capability of inserting .swf files in a web page. It
    doesn't
    matter which version of Flash you use to create your .swf
    files; they
    can be inserted into a web page in any version of
    Dreamweaver.
    David Powers
    Adobe Community Expert, Dreamweaver
    http://foundationphp.com

  • Actionscript 3.0 Resources

    I want to learn just enough AS3 to take my Captivate 5 simulations to the next level. 
    My AS3 knowledge is zero.
    Does anyone know of any AS3 resources that are specific (or almost specific) to Captivate?
    I am a visual learner, but I will read when I must.  Therefore, I am partial to videos or textbooks that are not verbose in nature.
    Thanks

    Do you want to create widgets? In that case AS3 is very useful. But for Captivate itself, I found JavaScript knowledge more useful, beware that is my opinion.
    I liked this book about ActionScript:
    Learning ActionScript 3.0    Rich Shupe with Zevan Rosser  ISBN 978-0-596-52787-7
    Lynda.com has tutorials Cartoon Smart as well: http://www.cartoonsmart.com/actionscript3_index.php5
    Lilybiri

  • Unwanted Android selection behaviour... different in Flex versus pure ActionScript... Why?

    Hi,
    I'm trying to get to the bottom of the text selection behaviour on my Android Xoom under different circumstances:
    1. In a pure ActionScript mobile app, selection and copy / paste is controlled through a floating control that appears on screen without resizing or otherwise moving anything
    2. In a Flex mobile app, selection and copy / paste is controlled through a UI bar that appears at the top of the screen, pushing the entire app downwards, losing focus on my textfield, ballsing up every bit of control I have in addition to confusing the hell out of my user whose finger is no longer pointing at the piece of text they wanted to select but rather at something else that is about a half-inch above that point...
    So...
    Obviously, I want to get to 1. for Flex - eg: I want to allow selection and copy / paste without loss of focus, without repositioning and without confusing the hell out of my user.
    Does anybody have any clues how I can achieve this?
    Thanks,
    G

    Got it. The two selection behaviours depend on the underlying skin.
    This one works with Flex:
    skinClass
    : ClassReference("spark.skins.mobile.TextInputSkin"
    Where this one shifts the app down, places a bar above, and generally screws with any interactivity you may have wanted to do using your selected text...
    skinClass: ClassReference("spark.skins.mobile.StageTextAreaSkin"
    G

  • Add to favorites button

    I would like to have an add to favorites button on my flash
    website but it just won't work. I have copied the code from this
    website
    http://www.actionscript.org/resources/articles/24/1/Bookmark-to-IE/Page1.html
    into a new flash movie but when I put it into internet explorer 7
    it won't do anything. but the button on the website above does
    work. so I downloaded the fla from the site above, put it into
    flash 8 and then exported it and guess what it didn't work. this is
    the code I am using.
    on (release) {getURL
    ("javascript:window.external.AddFavorite('
    http://www.actionscript.org/','ActionScript.org
    Flash Resources');");
    is there a setting in flash I need to change so that it can
    'talk' to internet explorer, because all websites that have
    tutorials for add to favorites buttons use the same code, but it
    won't work on my computers.
    thanks for any help
    trigger2160

    it's not a flash issue. it's a browser (and possibly pop-up
    blocker) issue.
    flash can cause any javascript function to execute (though
    you'd be better served to use the externalinterface class rather
    than getURL). you need to find a javascript function that works
    with the browsers that want.

  • Stage video capability in flex mobile - the whole truth

    I am finding it confusing to work out the capabilities of different types of Flex. So I have been trying throught trial and error. Hopefully forum members can shed light on this
    In flex mobile apps you can access actionscript. Actionscript contains the stage video classes. Does that mean we can use stage video in a flex mobile app by using the actionscript?
    In an Air app we can access actionscript - does that mean we can do the same in Air.
    I hear stage video is only available for GoogleTv and other tv applications, but is that news out of date, seeing stage video classes are available in actionscript?
    I managed to get stage video working in a Flex "Actionscript" project (on the web, but not on my desktop) - yippee-yai-yo.
    But tried and failed to get it working inside a Flex "Flex" projext, or a Flex "Air" project. Is that because I don't know what I am doing, or because it is not possible?
    Also "IF" Stage Video can work in a pure Actionscript project, which it seems to be able to, does that mean I can use it in a mobile actionscript project and use it across android, iphone, blackberry. Or not...
    All help gratefully received, thank you.

    Unfortunately, I did not find a solution and at that point stopped working with Flex for iPad. If you do find a way to stream secure video I would really appreciate knowing!

  • AS3 classes source file location?

    Can anyone tell where the AS3 package source files (*.as) are located?
    Besides for looking up class definitions in the AS3 framework in the Actionscript 3 Language Reference site, I'd like to open specific class files to look at them in their entirety. But I can't seem to find them, nor can I find any documentation specifying their location.
    Any information on where the core AS3 package files are located locally would be appreciated.
    Thanks.
    AS3 Reference
    ( http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/index.html ) 

    Well Nick, I think you were right..
    The following summarizes add/modify classpaths (as2) and 'source path' (as3) :
    http://help.adobe.com/en_US/flash/cs/using/WS3e7c64e37a1d85e1e229110db38dec34-7fa4a.html
    Under Flash Preferences menu ->ActionScript->Language->ActionScript 3.0 Settings you find at the top level :
    Filed labeled "Flex SDK Path : $(AppConfig)/ActionScript 3.0/flex_sdk/4.0.0/"
    Found the flex_sdk folder in the Flash application folder (mac), Programs file on PC I imagine.
    Therein is a 'flex.swc' file, which I'm guessing has all the core classes.
    I'm guessing one needs to download the Flex SDK source code here; you may need to download & learn how to use a Subversion (versioning app) client ?? :
    http://opensource.adobe.com/wiki/display/flexsdk/Flex+SDK
    Seems like a lot of hoops to jump through just to access those source files for a beginner.
    Frustrated.

  • Accessing instance variables from container

    I am new to Flash. I am a programmer, not a designer so this
    is my first foray into Actionscript.
    I am creating a slide show player in Flash. It retrieves an
    XML file containing other .swf files that should be played, the
    order in which they should be played, the length of time each one
    should show, and the text that should be displayed.
    For example:
    <presentation>
    <globals>
    <setting name="use_transitions" value="false"/>
    <setting name="use_delays" value="false"/>
    </globals>
    <slide src="slide5.swf" text="Slide 1" delay="10"/>
    <slide src="slide3.swf" text="Slide 2" delay="10"/>
    </presentation>
    I have everything working except for the loaded .swf file
    picking up on the text to display.
    I can set the Var: property on the dynamic text field to
    _root.dynamic_text and it will load what is in the variable
    dynamic_text just fine.
    However, the slide3.swf and slide5.swf file have default text
    in them that should who if there is no text specified.
    It seems that variables inside a loaded movie are not in
    scope.
    I load the movie using:
    loadMovie(slides[nIndex][0], "slideMovie");
    However if my instance name on my dynamic text field is
    "theText" this code does not work:
    this.slideMovie.theText.text = dynamic_text;
    How do I dereference the dynamic text field?
    Thanks for any help.

    quote:
    Originally posted by:
    abeall
    I didn't really follow your set up.
    > this.slideMovie.theText.text = dynamic_text;
    Where is that code placed? Where is theText? Where is
    dynamic_text defined, or what is it? _txt usually signifies a
    TextField instance, but if that was the case then the statement
    would not do anything. Are you trying to access objects in the
    external slide SWF before it has been loaded and initialized?
    I'm sorry that I wasn't clear enough.
    Maybe this will help.
    ============== Begin Code ==============
    slide3.swf
    ========
    _root
    layer |------> Instance of Graphic Symbol
    -----------------------> Dynamic Text Object named
    'theText'
    layer |------> Instance of Graphic Symbol
    -----------------------> JPEG Graphic Background
    layer |------> Actionscript Layer
    slide_show engine.swf
    ==================
    _root
    layer |------> Movie Clip Object named 'slideMovie'
    layer |------> Actionscript Layer
    Actionscript code snippet:
    /* This becomes a two dimentional array of slides.
    * slides[index][0] is the .swf file to load.
    * slides[index][1] is the transistion to load. (Not
    currently used.)
    * slides[index][2] is the delay to wait (in seconds) until
    the next slide shows.
    * slides[index][3] is the customized text to show the loaded
    slide. If blank show the default text.
    var slides = new Array();
    var dynamic_text;
    var nIndex = 0;
    var main:Object = new Object();
    main.switch_slides = function()
    if (nInterval != -1)
    clearInterval(nInterval);
    if (nIndex >= slides.length)
    return;
    _root.dynamic_text = slides[nIndex][3];
    loadMovie(slides[nIndex][0], "slideMovie");
    this.slideMovie.theText.text = _root.dynamic_text;
    nInterval = setInterval(main, "switch_slides",
    (slides[nIndex++][2] * 1000));
    // Code to load and parse the configuration file deleted for
    brevity.
    ============== End Code ==============
    The slides are made by our designer. Most of which animate
    the background image and then fade in the text.
    The text object usually does not exist in the first key
    frame. So my workaround is probably the only way this can be done.
    The workaround needs to go in every slide's actionscript
    layer on the first key frame.
    The only real problem I have with it is that I need to put
    the default text in the actionscript. Putting a Var reference in
    the dynamic text will remove the text there if the variable is
    empty.
    However trying to dynamically create the var reference does
    not seem to work. For example:
    In the slide3.swf file if I have the following code on the
    actionscript layer, the var reference in the dynamic text does not
    get pulled in properly:
    if (_root.dynamic_text)
    this.dynamic_text = _root.dynamic_text;
    I need to put the var reference at the top with the default
    text. For example:
    var dynamic_text = "default text";
    if (_root.dynamic_text)
    this.dynamic_text = _root.dynamic_text;

  • Adding a Bookmark Link

    Hello,
    I've been looking all over for how to create a bookmarking link for IE7 using Flash CS4 Action Script 3.
    I'm creating the button using the following code:
    BookMark_mc.addEventListener(MouseEvent.CLICK,gotoBookMark_mc);
    function gotoBookMark_mc(event:MouseEvent):void
    URLLoader ("javascript:window.external.AddFavorite ('http://www.actionscript.org/','ActionScript.org Flash Resources');");
    I get the following error when I click the link straight from the SWF file:
    TypeError: Error #1034: Type Coercion failed: cannot convert "javascript:window.external.AddFavorite ('http://www.actionscript.org/','ActionScript.org Flash Resources');" to flash.net.URLLoader. at 2_PCSP_Sharepoint_Intro_WT_fla::MainTimeline/gotoBookMark_mc()
    I published the SWF and the Index.html file, then accessed that .html file from my web server, but no luck.
    Any ideas on how to do this?
    Thanks in advance.

    you should really use a javascript function that tests for, at least, some common browser types.  and, you should use the externalinterface class to call that javascript function.  so, for example:
    <script language="JavaScript1.2" type="text/javascript">
    function bookMark(url,title) {
        if (window.sidebar) { // Mozilla Firefox Bookmark
            window.sidebar.addPanel(title, url,"");
        } else if( window.external ) { // IE Favorite
            window.external.AddFavorite( url, title); }
        else if(window.opera && window.print) { // Opera Hotlist
            //etc }
    </script>
    could be placed in your embedding html and you can use the following actionscript:
    BookMark_mc.addEventListener(MouseEvent.CLICK,gotoBookMark_mc);
    import flash.external.ExternalInterface;
    function gotoBookMark_mc(event:MouseEvent):void {
        ExternalInterface.call('bookMark','http://www.actionscript.org/','ActionScript.org Flash Resources');

  • AS file not recognizing id's from separate MXML file

    I'm new to Flex (and fairly new to programming in general)
    and have a question that Google hasn't helped with.
    The relevant code is below, and here's the long and short of
    it. There's a TextInput whose visibility I want to toggle via a
    function in a separate AS file. On the line
    "photoNameEditor.visible = false;" though, Flex Builder gives me an
    "1120: Access of undefined property photoNameEditor" error, and the
    same goes for photoName.
    I'm fairly sure the problem is that the AS file doesn't
    recognize the id from the separate MXML file. The error goes away
    when I put the ActionScript between <mx:Script> tags in the
    MXML file, but I'd much rather keep the AS in its own file. So my
    question is what's the best way to get the AS file to recognize
    id's from a separate MXML file?
    Thanks very much. I'd appreciate anything you think might
    help.

    There are a couple things going on here. Let's assume you
    want to stick with this approach where you're including external
    scripts instead of importing a class or using event dispatches
    (that will all come later - months if your experience is anything
    like mine). Given that, I'm not sure that text is the best control
    for what you want to do, but I'm not sure what you want to do
    exactly. However, if you need text in your situation, might try a
    label, linkbutton, button - things that play well assumed links and
    clicks. However, given your code and if you want to use text
    instead of a label, you can move the handler to the mouseDown
    event, rather than click, and it would probably work. (sorry for
    the formatting - lazy right now):
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute">
    <mx:Script source="scripts/toggleStyles.as" />
    <mx:VBox x="55" y="45" height="100%">
    <mx:Label id="photoName" fontSize="12" fontStyle="normal"
    text="Click Me" enabled="true" fontWeight="bold"
    click="togglePhotoNameEdit()"/>
    <mx:TextInput id="photoNameEditor" fontSize="16"
    width="300" />
    </mx:VBox>
    </mx:Application>
    <!--and the ActionScript file:-->
    // ActionScript file
    private function togglePhotoNameEdit():void {
    photoNameEditor.visible = !photoNameEditor.visible;
    }

  • Flash Player 12 specific issue.

    Hi,
    I have found below issue on Flash Player 12,
    "A script in this movie is causing Adobe Flash Player to run slowly. If it continues to run, your computer may become unresponsive. Do you want to abort the script?  Yes / No."
    However this issue not arises on Flash Player 11 and below versions.
    I am not able to find out the couse of issue.
    Fla file Publish setting contain below information:
    Version: Flash Player 6
    Actionscript version: ActionScript 1
    I can not change this setting, since this is my requirment.
    I hv debugged this issue and found that this arises at the time of another swf loading in main swf.
    Ihv used .loadMovie() to load swf and used enterframe and setTimeInterval wherever necessary to calculate bytes loaded.
    I am woundering why this issue arises only for Flash Player 12? Is there any specific updates for version 12?
    If anybody knows the solution Please tell me.
    Thanks in Advance.

    You may want to ask in the Flash Professional forum to see if you can edit the AS to prevent this. Writing for Flash 6 is probably not the most advisable, but I don't think it has any impact on this.

  • Returning String Value

    Hey Guys,
    I have been working on this issue for several days: I
    currently have fds working on tomcat. I was able to to the url and
    the button that I created showed up. However, when I click on the
    button, nothing happens. A String is suppose to return.
    This is my java code:
    public class Test
    public static void main( String[] args )
    new Test();
    public Test()
    System.out.println("Method return value:" +
    getReturnValueFromMethod() );
    public String getReturnValueFromMethod()
    return "123456abcdefg";
    and I am calling the getReturnValueFromMethod.
    ...This is my mxml
    <mx:RemoteObject id="myRemoteObject"
    destination="demoService"/>
    <mx:Button label="Get String"
    click="myRemoteObject.getReturnValueFromMethod()"/>
    <mx:Label
    text="{myRemoteObject.getReturnValueFromMethod.lastResult}"/>
    anyone has any ideas?
    Thanks

    why are you writing this in Java and not actionscript?
    actionscript is even easier then java and (yes somehow thats
    possible)
    i think your issue is System.out.println... thats a console
    command... not a return command.

  • Custom File(Eclipse Resource) Types

    In FlashBuilder you can create new files of types:
    - ActionScript File
    - ActionScript Class
    - ActionScript Interface
    - etc
    Is there a way to create a custom file-type, so i can attach a custom template to it?
    in example:
    - File -> new -> ActionScript Singleton
    which shows the default 'new actionscript class' wizard, except that when the file is created it does not use the 'ActionScript Class File Template' but my own 'ActionScript Singleton File Template'
    If this is possible, i might also be possible to create custom project types as well?

    Hi,
    We could not block file types based on size by using FSRM. As a workaround you could use disk quotas on NTFS Volumes which are tracked on a per-user. 
    To apply disk quotas to existing volume users, add new quota entries in the Quota Entries window. Please understand that it will take you some time to add all users into the list. 
    It will allow administrators to control the amount of data that each user can store on an NTFS file system volume.
    For more detailed information about disk quotas on NTFS Volumes, you could refer to the article below:
    File Systems
    http://technet.microsoft.com/en-us/library/cc938945.aspx
    Best Regards,
    Mandy 
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

Maybe you are looking for