How  to align buttons using ActionScript in Flex

Hi all, I'm pretty new to Flex and ActionScript but
I’ve created an myAddForm() function in an actionscript class
but I can't align the buttons - I’ve been looking at using a
buttonbar but can't figure out how to convert the code in to
actionscript from the mxml examples. any advice what to use...
function below.. This works but with the button on top of one
another.. Any help is greatly appreciated

Ooops - I indeed mean ActionScript.
In any case, what is the difference between ExtensionBuilder and "FlashBuilder + CSIDE libs"? Is ExtensionBuilder that thing that you have to be a Partner for and nobody alive today has managed to reach the person at Adobe who adds you to the program?
Apropo the upcoming holoday, I understand that successfully contacting Adobe about joining the CS5 SDK partner program is sort of like virgin birth - the last time it happened was 2010 years ago and nobody alive today has ever seen it happen...
I THINK I am using FlashBuilder plus the CS5 SDK Framework. So how do I catch events that way, since I don't see the CS5 options in the project's properties dialog.
mlavie

Similar Messages

  • Firefox: how to press button using keyboard?

    In Firefox, anyone know how to choose a button on a web page without using the mouse? tabbing doesn't work.

    Open up System Preferences and click on Keyboard & Mouse. Now click on the Keyboard Shortcuts tab. At the bottom of the window, choose Full Keyboard Access: All Controls. Close System Preferences. Tabbing through a page in Firefox should now stop at buttons.

  • How to trigger button using shortcut keys

    Hi Friends i want to trigger a button in java swings using keyboard keys.
    for ex: a button called "Enter" either i click mouse or i press ALT+E to trigger it.
    Plz give me sample coding if u have
    By
    vinod

    Try looking at the tutorials...
    http://java.sun.com/docs/books/tutorial/uiswing/events/keylistener.html

  • How to add ALV button using OO in module pool program using ALV grid

    Hello Gurus!!!
                  Want some tips related how to add button using ALV Grid(OO).
    I want to display the button for search, sort ....
                 Please suggest the step -by-step procedure for implementation of these button.
                 I am designing the code for transaction FB03. Header data has been displayed but want to display the line items.
                 Kindly suggest your answers.
    Thanks,
    Sachin

    Hi,
    CLASS SELSCR_APPLICATION DEFINITION DEFERRED.
    CLASS SELSCR_APPLICATION DEFINITION.
      PUBLIC SECTION.
       METHODS:
            HANDLE_TOOLBAR
            FOR EVENT TOOLBAR OF CL_GUI_ALV_GRID
                IMPORTING E_OBJECT  E_INTERACTIVE,
            HANDLE_USER_COMMAND
            FOR EVENT USER_COMMAND OF CL_GUI_ALV_GRID
                IMPORTING E_UCOMM.
    ENDCLASS.        "SELSCR_APPLICATION DEFINITION
    CLASS SELSCR_APPLICATION IMPLEMENTATION.
      METHOD HANDLE_TOOLBAR.
        DATA: LS_TOOLBAR  TYPE STB_BUTTON.
    append SAVE icon
        CLEAR LS_TOOLBAR.
        MOVE 'SAVE' TO LS_TOOLBAR-FUNCTION.
        MOVE ICON_SYSTEM_SAVE TO LS_TOOLBAR-ICON.
        MOVE 'Save' TO LS_TOOLBAR-QUICKINFO.
        MOVE ' '  TO LS_TOOLBAR-DISABLED.
        APPEND LS_TOOLBAR TO E_OBJECT->MT_TOOLBAR.
        CLEAR LS_TOOLBAR.
      ENDMETHOD.                    "handle_toolbar
      METHOD HANDLE_USER_COMMAND.
        CASE E_UCOMM.
          WHEN 'SAVE'.
              PERFORM UPDATE_FIELDS.
        ENDCASE.
      ENDMETHOD.
    ENDCLASS.                 "SELSCR_APPLICATION IMPLEMENTATION
    these lines should be after calling method SET_TABLE_FOR_FIRST_DISPLAY
    SET HANDLER G_APPLICATION1->HANDLE_TOOLBAR FOR GRID1.
            CALL METHOD grid1->set_toolbar_interactive.
    rgds,
    bharat.

  • How to load images in FLEX datagrid using Actionscript

    Hello friends,
    I need a small help from you. i am working in flex and in flash builder 4. Now my requirement was, i want to display images inside datagrid. I found a solution in mxml when searching in net. But i need a solution in actionscript. Can anyone help me out. I am new to flex environment.
    i am attaching the mxml code along with this.
    your help will be appreciated.
    Rajesh
    <?xml version="1.0" encoding="utf-8"?>
    <!--
    Derrick Grigg
    [email protected]
    http://www.dgrigg.com
    created on Nov 3, 2006
    A sample of how to extend and use a data grid to allow custom drag images instead
    of the default 'row' based image.
    -->
    <mx:Application
        xmlns:mx="http://www.adobe.com/2006/mxml"
        layout="absolute">
        <mx:ArrayCollection id="dataSource">
            <mx:Object image="assets/ibmlogo.jpg" name="Spy Camera" description="James Bond spy camera"/>
            <mx:Object image="http://www.dgrigg.com/samples/flex/datagriddragproxy/images/products/cantena.jpg" name="Antena" description="Can shaped antena"/>
            <mx:Object image="http://www.dgrigg.com/samples/flex/datagriddragproxy/images/products/globe.jpg" name="Floating globe" description="Gravity defying floating globe"/>
            <mx:Object image="http://www.dgrigg.com/samples/flex/datagriddragproxy/images/products/orb.jpg" name="Orb" description="Blue glowing orb"/>
            <mx:Object image="http://www.dgrigg.com/samples/flex/datagriddragproxy/images/products/putty.jpg" name="Putty" description="Reshapable putty"/>
            <mx:Object image="http://www.dgrigg.com/samples/flex/datagriddragproxy/images/products/radiowatch.jpg" name="Radio Watch" description="Dick Tracy style radio watch"/>
            <mx:Object image="http://www.dgrigg.com/samples/flex/datagriddragproxy/images/products/rover.jpg" name="RC Rovers" description="Battle RC Rovers"/>
            <mx:Object image="http://www.dgrigg.com/samples/flex/datagriddragproxy/images/products/ufo.jpg" name="Flying UFO" description="RC UFO for indoor-outdoor"/>
        </mx:ArrayCollection>
        <mx:VBox>
            <mx:DataGrid dataProvider="{dataSource}">
                <mx:columns>
                    <mx:DataGridColumn headerText="Product" dataField="name"/>
                    <mx:DataGridColumn headerText="Description" dataField="description"/>
                    <mx:DataGridColumn headerText="Image" dataField="image">
                        <mx:itemRenderer>
                            <mx:Component>
                                <mx:Image source="{data.image}"/>
                            </mx:Component>
                        </mx:itemRenderer>
                    </mx:DataGridColumn>
                </mx:columns>
            </mx:DataGrid>
        </mx:VBox>
    </mx:Application>

    Hi Rajesh,
    The link worked for me ...May be that sight might have been blocked due to firewall in your ComputerSettings or so.
    May be you can try copy and paste the link in the browser instead of directly clicking the link.
    Make sure when you copy your link is not break I mean you shouldn't have any spaces in between url.
    Thanks,
    Bhasker

  • Using Actionscript 3, how do I code a button in a parent file to load at a specific frame in another swf file?

    Using Actionscript 3, how do I code a button in a parent file to load another swf file at a specific frame?

    You can either place the loading code in the desired frame of the parent file, or continuously monitor the currentFrame proiperty of the parent file and do the loading when the value matches the desired frame number.

  • How can I change Label's text using ActionScript?

    Hi~ everyone~
    I want change Label's text using ActionScript.
    Test.mxml
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
          xmlns:s="library://ns.adobe.com/flex/spark"
          xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600" initialize="init()">
    <fx:Script>
      <![CDATA[
       private function init():void{
        var btn:BtnScript = new BtnScript();
        this.addElement(btn);
      ]]>
    </fx:Script>
    <fx:Declarations>
      <!-- Place non-visual elements (e.g., services, value objects) here -->
    </fx:Declarations>
    <s:Label x="182" y="149" text="Label" id="lbl"/>
    </s:Application>
    BtnScript.as
    package
    import flash.events.MouseEvent;
    import mx.controls.Alert;
    import spark.components.Button;
    public class BtnScript extends Button
      public function BtnScript()
       super();
       this.addEventListener(MouseEvent.CLICK, eventHandler);
      private function eventHandler(event:MouseEvent):void{
              // lbl.text = "changed text";
           // HOW CAN I ACCESS LABEL IN MXML FILE?
    I'm about to learn flex. Please help me.
    Thanks in advanced.

    You could achive this very easily(but this shouldn't be used in production code as it'll be difficult to manage as the project grows) by defining a static data member varibale of DataType Label something like below, (modified/added code in BOLD)
    Test.mxml
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
          xmlns:s="library://ns.adobe.com/flex/spark"
          xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600" initialize="init()"
          creationComplete="creationCompleteHandler(event)">
    <fx:Script>
      <![CDATA[
       private function init():void{
         var btn:BtnScript = new BtnScript();
         this.addElement(btn);
       private function creationCompleteHandler(event:FlexEvent):void{
         Model.someLabel = lbl;
      ]]>
    </fx:Script>
    <fx:Declarations>
      <!-- Place non-visual elements (e.g., services, value objects) here -->
    </fx:Declarations>
    <s:Label x="182" y="149" text="Label" id="lbl"/>
    </s:Application>
    BtnScript.as
    package
      import flash.events.MouseEvent;
      import mx.controls.Alert;
      import spark.components.Button;
      public class BtnScript extends Button
        public function BtnScript()
          super();
          this.addEventListener(MouseEvent.CLICK, eventHandler);
        private function eventHandler(event:MouseEvent):void{
              // lbl.text = "changed text";
          // Now use Model.someLabel which is basically 'lbl'.
          Model.someLabel.text = "changed text";  //Mission Accomplished....
    Model.as
    package
      public class Model
        public static someLabel:Label;
    Note: This approach is just to give you an idea but instead should use the MVC pattern.

  • Newbie - how to change the color of a line using ActionScript?

    This must be the most basic question in the world, but I've
    been searching the documentation for an hour.
    All I want to do is to draw a line on the stage, and then
    change its color (or endpoint positions) dynamically using
    ActionScript.
    This is the 1st step to creating complicated dynamic
    animations... (No, I do not want to use the timeline, I want to do
    it dynamically.)
    Yet a line can't be an instance, so I'm confused -- how can I
    possibly do this? Is there some key concept I'm missing here?
    Thanks
    Michael

    AS2 required you to create your own function for doing
    primitive shapes. In AS3 that has changed and the graphics package
    includes not only the old AS2 drawing API but also has methods for
    doing squares, circles etc.
    If you are a VB programmer, my honest opinion is to leave
    your traditional OOP mindset at the door when using Flash.
    Actionscript is still in its infancy and although AS3 does really
    strive for OOP oneness, it isn't there 100% like VB is which has
    been around 20 years longer and gone through numerous additions
    etc. Whenever I learn a new language VB, PHP, C, AS, Java....I try
    my best to look at the language as its own identity. All language
    share similarities but they all have their own idiosyncrisies. Keep
    an open mind and you'll find what you need.
    Most of the seasoned guys here will also tell you that
    although the documentation is decent, you are better off going out
    and picking up a book on Flash 8/CS3 and another one on
    Actionscript. Familiarize yourself with the program that way.
    With your programming background, I'd recommend picking up
    Essential AS2 (or AS3) by Moock depending on your version of Flash.
    Also, if you are more interested in the programmatic side of Flash,
    why not look into Flex Builder and AIR. Since it is purely a
    programming environment (no Flash IDE), you'd be more
    comfortable.

  • How to display checkbox within button using skin?

    Hi,
    I am trying to put checkbox inside spark button using skin. The button looks like  -
    I want the button to repond mouse event (which is any way responding), but I also want check box too should respond to mouse event when mouse pointer is over check box.
    I am able to create button which looks like above. But when I move mouse pointer over button, the button look changed and looks like -
    As can be seen that there is no check box. I need check box to be shown always in button and should also be clickable.
    Do any one have idea how to solve it?
    Thanks,
    Prithveesingh Zankat.

    Hi,
    Here is complete skin code-
    <s:SparkButtonSkin xmlns:fx="http://ns.adobe.com/mxml/2009"
                       xmlns:s="library://ns.adobe.com/flex/spark"
                       xmlns:fb="http://ns.adobe.com/flashbuilder/2009"
                       minWidth="21" minHeight="21"
                       alpha.disabled="0.5"
                       width.up="84">
        <fx:Metadata>
            <![CDATA[
             * @copy spark.skins.spark.ApplicationSkin#hostComponent
            [HostComponent("spark.components.Button")]
            ]]>
        </fx:Metadata>
        <fx:Script fb:purpose="styling">
            <![CDATA[        
                import spark.components.Group;
                /* Define the skin elements that should not be colorized.
                For button, the graphics are colorized but the label is not. */
                static private const exclusions:Array = ["labelDisplay"];
                 * @private
                override public function get colorizeExclusions():Array {return exclusions;}
                 * @private
                override protected function initializationComplete():void
                    useChromeColor = true;
                    super.initializationComplete();
                 *  @private
                override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number) : void
                    var cr:Number = getStyle("cornerRadius");
                    if (cornerRadius != cr)
                        cornerRadius = cr;
                        shadow.radiusX = cornerRadius;
                        fill.radiusX = cornerRadius;
                        lowlight.radiusX = cornerRadius;
                        highlight.radiusX = cornerRadius;
                        border.radiusX = cornerRadius;
                    if (highlightStroke)
                        highlightStroke.radiusX = cornerRadius;
                    if (hldownstroke1)
                        hldownstroke1.radiusX = cornerRadius;
                    if (hldownstroke2)
                        hldownstroke2.radiusX = cornerRadius;
                    super.updateDisplayList(unscaledWidth, unscaledHeight);
                private var cornerRadius:Number = 2;
            ]]>       
        </fx:Script>
        <!-- states -->
        <s:states>
            <s:State name="up" />
            <s:State name="over" />
            <s:State name="down" />
            <s:State name="disabled" />
        </s:states>
        <!-- layer 1: shadow -->
        <!--- @private -->
        <s:Rect id="shadow" left="-1" right="-1" top="-1" bottom="-1" radiusX="2">
            <s:fill>
                <s:LinearGradient rotation="90">
                    <s:GradientEntry color="0x000000"
                                     color.down="0xFFFFFF"
                                     alpha="0.01"
                                     alpha.down="0" />
                    <s:GradientEntry color="0x000000"
                                     color.down="0xFFFFFF"
                                     alpha="0.07"
                                     alpha.down="0.5" />
                </s:LinearGradient>
            </s:fill>
        </s:Rect>
        <!-- layer 2: fill -->
        <!--- @private -->
        <s:Rect id="fill" left="1" right="1" top="1" bottom="1" radiusX="2">
            <s:fill>
                <s:LinearGradient rotation="90">
                    <s:GradientEntry color="0xFFFFFF"
                                     color.over="0xBBBDBD"
                                     color.down="0xAAAAAA"
                                     alpha="0.85" />
                    <s:GradientEntry color="0xD8D8D8"
                                     color.over="0x9FA0A1"
                                     color.down="0x929496"
                                     alpha="0.85" />
                </s:LinearGradient>
            </s:fill>
        </s:Rect>
        <!-- layer 3: fill lowlight -->
        <!--- @private -->
        <s:Rect id="lowlight" left="1" right="1" top="1" bottom="1" radiusX="2">
            <s:fill>
                <s:LinearGradient rotation="270">
                    <s:GradientEntry color="0x000000" ratio="0.0" alpha="0.0627" />
                    <s:GradientEntry color="0x000000" ratio="0.48" alpha="0.0099" />
                    <s:GradientEntry color="0x000000" ratio="0.48001" alpha="0" />
                </s:LinearGradient>
            </s:fill>
        </s:Rect>
        <!-- layer 4: fill highlight -->
        <!--- @private -->
        <s:Rect id="highlight" left="1" right="1" top="1" bottom="1" radiusX="2">
            <s:fill>
                <s:LinearGradient rotation="90">
                    <s:GradientEntry color="0xFFFFFF"
                                     ratio="0.0"
                                     alpha="0.33"
                                     alpha.over="0.22"
                                     alpha.down="0.12"/>
                    <s:GradientEntry color="0xFFFFFF"
                                     ratio="0.48"
                                     alpha="0.33"
                                     alpha.over="0.22"
                                     alpha.down="0.12" />
                    <s:GradientEntry color="0xFFFFFF"
                                     ratio="0.48001"
                                     alpha="0" />
                </s:LinearGradient>
            </s:fill>
        </s:Rect>
        <!-- layer 5: highlight stroke (all states except down) -->
        <!--- @private -->
        <s:Rect id="highlightStroke" left="1" right="1" top="1" bottom="1" radiusX="2" excludeFrom="down">
            <s:stroke>
                <s:LinearGradientStroke rotation="90" weight="1">
                    <s:GradientEntry color="0xFFFFFF" alpha.over="0.22" />
                    <s:GradientEntry color="0xD8D8D8" alpha.over="0.22" />
                </s:LinearGradientStroke>
            </s:stroke>
        </s:Rect>
        <!-- layer 6: highlight stroke (down state only) -->
        <!--- @private -->
        <s:Rect id="hldownstroke1" left="1" right="1" top="1" bottom="1" radiusX="2" includeIn="down">
            <s:stroke>
                <s:LinearGradientStroke rotation="90" weight="1">
                    <s:GradientEntry color="0x000000" alpha="0.25" ratio="0.0" />
                    <s:GradientEntry color="0x000000" alpha="0.25" ratio="0.001" />
                    <s:GradientEntry color="0x000000" alpha="0.07" ratio="0.0011" />
                    <s:GradientEntry color="0x000000" alpha="0.07" ratio="0.965" />
                    <s:GradientEntry color="0x000000" alpha="0.00" ratio="0.9651" />
                </s:LinearGradientStroke>
            </s:stroke>
        </s:Rect>
        <!--- @private -->
        <s:Rect id="hldownstroke2" left="2" right="2" top="2" bottom="2" radiusX="2" includeIn="down">
            <s:stroke>
                <s:LinearGradientStroke rotation="90" weight="1">
                    <s:GradientEntry color="0x000000" alpha="0.09" ratio="0.0" />
                    <s:GradientEntry color="0x000000" alpha="0.00" ratio="0.0001" />
                </s:LinearGradientStroke>
            </s:stroke>
        </s:Rect>
        <!-- layer 7: border - put on top of the fill so it doesn't disappear when scale is less than 1 -->
        <!--- @private -->
        <s:Rect id="border" left="0" top="0" bottom="0" radiusX="2"
                right.disabled="0" width.disabled="69" height.disabled="20"
                right.down="0" width.down="69" height.down="20"
                right.over="0" width.over="69" height.over="20"
                left.up="0" right.up="0" top.up="0" bottom.up="0">
            <s:stroke>
                <s:LinearGradientStroke rotation="90" weight="1">
                    <s:GradientEntry color="0x000000"
                                     alpha="0.5625"
                                     alpha.down="0.6375" />
                    <s:GradientEntry color="0x000000"
                                     alpha="0.75"
                                     alpha.down="0.85" />
                </s:LinearGradientStroke>
            </s:stroke>
        </s:Rect>
        <!-- layer 8: text -->
        <!--- @copy spark.components.supportClasses.ButtonBase#labelDisplay  -->
        <s:Label id="labelDisplay" left="10" top="2" bottom="2" maxDisplayedLines="1" textAlign="center"
                 verticalAlign="middle"
                 right.disabled="10" horizontalCenter.disabled="0" verticalCenter.disabled="1"
                 left.down="20" right.down="5" top.down="2" bottom.down="2" horizontalCenter.down="7"
                 left.over="20" right.over="5" top.over="2" bottom.over="2" horizontalCenter.over="7"
                 left.up="20"  right.up="5"    top.up="2"   bottom.up="2"   horizontalCenter.up="7"
                 verticalCenter.up="2">
        </s:Label>
        <s:CheckBox includeIn="up" left="2" top="2" bottom="2" width="16" verticalCenter="0"
                    right.disabled="10" horizontalCenter.disabled="0" verticalCenter.disabled="0" width.disabled="18"
                    left.down="2" top.down="2" bottom.down="2" verticalCenter.down="0" width.down="18"
                    left.over="0" top.over="2" bottom.over="2" verticalCenter.over="0" width.over="18"
                    left.up="2"   top.up="2"   bottom.up="2"   verticalCenter.up="0"   width.up="18"
                    />
    </s:SparkButtonSkin>
    Thank,
    Prithveesingh Zankat.

  • Using Actionscript to draw a link button

    I cannot seem to get a linkButton to be displayed using
    actionscript. I have the following:
    button_lnk.label = "SHOW ME";
    button_lnk.visible = true;
    button_lnk.x = a *10 + 20;
    button_lnk.styleName = "topMenu";
    //Alert.show (button_lnk.label);
    button_lnk.width = 100;
    button_lnk.height = 30;
    button_lnk.includeInLayout = true;
    button_lnk.id = "link123_"
    This code is called in a function, and I do know the function
    is getting called
    Any ideas?
    Thanks

    i did not understand what you are looking for.
    Is it on how to create buttons with a custom style (or controls in general)?
    Then have a look at http://www.drdobbs.com/jvm/a-javafx-20-custom-control/229400781
    If you really want to know how to use the path class to draw anything, just pop up a sample stage and start drawing. The JavaDoc for Path provides some good examples.
    you could as well just phrase your exact problem.

  • How to load other obejects in flash file after intro using ActionScript 3.0

    How to load other obejects in flash file after intro using ActionScript 3.0 or any other method all in same fla file. see blow intro screen shot ,this one playing repeatedly without loading other fla pages .only way to load other pages is click on Skip intro .see second screeshot below .i need that site to load after intro .
    see codes already in
    stop();
    skipintro_b.addEventListener(MouseEvent.CLICK, skipintro_b_clicked);
    function skipintro_b_clicked(e:MouseEvent):void{
    gotoAndStop("whoweare");
    There is another script there
    /* Simple Timer
    Displays a countdown timer in the Output panel until 30 seconds elapse.
    This code is a good place to start for creating timers for your own purposes.
    Instructions:
    1. To change the number of seconds in the timer, change the value 30 in the first line below to the number of seconds you want.
    var fl_TimerInstance:Timer = new Timer(1000, 30);
    fl_TimerInstance.addEventListener(TimerEvent.TIMER, fl_TimerHandler);
    fl_TimerInstance.start();
    var fl_SecondsElapsed:Number = 1;
    function fl_TimerHandler(event:TimerEvent):void
              trace("Seconds elapsed: " + fl_SecondsElapsed);
              fl_SecondsElapsed++;
    i have no knowledge about these thing ,any help really appreciated .

    Ned Murphy Thank you very Much .It is working .Great advice

  • How can I turn off auto play of an swf/flv using actionscript?

    Does anyone know how to turn off autoplay, using actionscript, of swf/flv?
    I'm trying to showcase four videos on the same page of a website. each video is a generic media player created in flash. when i test the movie, all the videos start playing at once.
    Also, if possible is there a way to have all four videos in the same media player?

    the media player has an autoPlay property.
    and yes, it also has a contentPath property.

  • How to align text(left, right or center) on a button?

    I can not figure out how to align text on a button,
    could someone help me out?
    Thanks in advance

    JButton btn=new JButton("hi");
    btn.setHorizontalAlignment(int i)
    i=0 center
    i=2 left
    i=4 right

  • How to adjust the path of a tween using actionscript

    I'm a novice at Actionscript3 and would greatly appreciate an answer to what seems like a simple question:
    Here's my project:
    http://home.comcast.net/~samiri/director/mortals/amadoFlashPortrait/index.htm
    Click on the gray scale frame images. A larger version of that image tweens out along the z axis. However it comes from 'somewhere else' not from 'within the frame.' How do I get the each larger gray scale frame image to look like it comes directly from the place where the user clicks (not to one side or the other)?
    So I guess what I'm asking is how to adjust the path of the tween along the x and y axis using the actionscript code (below).
    My method:
    I'm using this line of code in my script:
    var myTween:Tween = new Tween(mdImg, "z", Strong.easeOut, 300, 0, 1, true);
    "mdImg" is the variable that holds the name of the hotspot clicked upon by the user.
    I have the larger (faded edge) image positioned directly on top of the frame image and just kept invisible until the User clicks on the hotspot over the frame image.
    Thanks much.

    Thanks moccamaximum,
    By "do your tweens manually" you mean to use the timeline to do frame-based tweening? That is an option but I'm wondering (as a newbie): Isn't it better to use actionscript to do animation since you have more control and it's time based rather than frame-rate based (and works better on low performance machines)? Just curious if I should be spending the time to learn actionscript or do it in the traditional way.
    Thanks

  • How to get/set value in illustrator preference file using ActionScript 3.0

    Hi all,
    I want to get/set the flex panel components preference in illustrator preference file using ActionScript 3.0.
    I tried to achieve this  like --
    import com.adobe.illustrator.Preferences;
    var pref : Prefereneces = new Preferences();
    //To set value I used  this...
    pref.setStringPreference("url", id1.text);
    //To get value I used this..
    id1.text = pref.getStringPreference("url");
    i think there is prb in creating  Preference variable but I am unable to resolve.
    plz help.
    Thanks.

    I am having trouble with setStringPreference. It seems to be setting the value to 0 in the Prefs file. When I first wrote the code, it was working, but something is keeping it from saving the right value now. Did you get yours working? Any ideas?

Maybe you are looking for

  • Macintosh OS X, 802.1x, EAP-TLS

    Wanting to implement 802.1x authentication on my wired network. using Windows IAS as the radius and Windows 2000/XP/MAC OS X as clients. The Windows clients works perfectly, 802.1x authentication occurs before user login box. The Max OS X clients are

  • How to access Autocad2013 drawing and modify directly from c#?

    I want to open autocad 2013 from C# & open drawing file & modify it. how to send autocad command to autocad2013 directly from visual studio.

  • Problems with the BBkey (also known as the menu key)

    Sometimes when I am in an app and want to click on one of the items in the menu list (e.g., delete), when I click on the menu key, what pops up are some of the icons from the home page.  (I am getting really tired of looking at that little penguin...

  • Access Logging in OC4J

    I can get the various websites like the default-web-site to output access log information but they never have userid info in them, only "- -" even users are logged in. No userids appear in OHS access logs either. Apps frontended by SiteMinder have bo

  • Re: To many photos in iPHOTO - TO SLOW

    Two questions I take way to many photos... 1. Tech guy came by and "created a second database" under the iPHOTO icon.  He held down command or ALT or some combination of keys to allow me to "open the second database of photos".   What keys am I to "h