Basic Action Script 3 question

I've been watching a tutorial on making a thumbnail photo gallery with Flash. Unfortunately the only tutorial I could find that explained everything step by step was for Flash MX and I'm using Flash CS4. It seems that the scripting code is different. I've never written Flash script before. I am trying at this point to give a rollover effect to a thumbnail image, so when the mouse goes over the thumbnail the thumbnail will get brighter. The code given in the tutorial didn't work, but by looking at the debugger messages it seems like the script should be something like:
thumb1.addEventListener(MouseEvent.MOUSE_OVER,mouseOverHandler);
function mouseOverHandler(event:MouseEvent):void {
thumb1.DisplayObject.alpha=100;
I converted the thumbnail to a button symbol and then created an instance of the button called thumb1. The code is applied to a keyframe.
Am I close with the code? How should it look?
Thanks - Eric

In Flash CS4 you can publish to either AS3 or AS2. The AS2 in CS4 is pretty much the same as it was in Flash MX (also known as Flash 6) — although there were some updates to AS2 since 2001!
So if you want to use the tutorial as is, you would go to the Flash publish settings and change it to AS2.
If you want to learn AS3 (and I would recommend that you do and forget AS2) you should be able to find tutorials for this. The code you gave isn't quite right. I don't know what that DisplayObject is doing in there. That is the name of a Flash Class, so you shouldn't give instance that as a name. I'm thinking your code should be something more like this:
thumb1.addEventListener(MouseEvent.MOUSE_OVER,mouseOverHandler);
thumb2.addEventListener(MouseEvent.MOUSE_OVER,mouseOverHandler);
function mouseOverHandler(event:MouseEvent):void {
     event.currentTarget.alpha=100;
There are also a lot of other ways to do this, but this is one of the simplest to understand.

Similar Messages

  • FLASH MX 2004 action script question

    Hi!
    I need to create an script for a basic function; when mouse goes over a moveclip, that works also link, I want it to trigger an invisible red dot on a nerby map. I have created a movieclip and named it "red", it's a 1 sec clip with nothing in the beginning and a red dot in the end. I want this dot to trigger and show only when mouse goes over this specific link, otherwise it must be invisible.
    I know this is pretty basic stuff and I have done this before few years back but I have forgotten how to do it and need help now.
    Any help would be very much appreciated :-)
    Kim

    I still need help, this problem is little more complicated;
    I can manage making the red dot visible and invisible by triggering roll over and roll out on a button.
    The problem is, I have a navbar which is line of flags made to a movie clip, with 5 invisible buttons. These buttons are configured to do three different actions; get URL, trigger a light effect and a movement effect.
    Now I need this invisible button to trigger my red dot also so that when mouse is over a certain flag a red dot appears on a map on the correct location.
    I have the red dot on a new layer. It has instance name "redDot" and on the very first frame of this red button layer, I have action script that says: redDot._visible = false;
    This works as it should and the dot is invisible when the movie has loaded.
    I need to make this invisible button to trigger the visibility of my red dot, and I have tried to add the code:
    on (rollOver) {
    redDot._visible = true;
    on (rollOut) {
    redDot._visible = false;
    to this invisible button, but it dosent work, furthermore it affects the other functions of the button/movie clip, which were working fine before.
    Here is the code attached to this invisible button so far:
    on (release) {
    getURL(/:url1);
    on (rollOver) {
    gotoAndPlay(2);
    on (rollOut) {
    gotoAndPlay("sec");
    I have the URL:s on an external text file.
    So my question is; where do I add the action script to make it visible when moving the mouse over this invisible button? To my understanding, it should go in the same place as the other code that is working, but I'm doing something wrong...
    I tried to do this:
    on (release) {
    getURL(/:url1);
    on (rollOver) {
    gotoAndPlay(2)
            redDot._visible = true;
    on (rollOut) {
    gotoAndPlay("sec")
    redDot._visible = false;
    But it is wrong, I also tried like this:
    on (release) {
    getURL(/:url1);
    on (rollOver) {
    gotoAndPlay(2);
    on (rollOut) {
    gotoAndPlay("sec");
    on (rollOver) {
    redDot._visible = true;
    on (rollOut) {
    redDot._visible = false;
    But it makes the other functions that worked to stop working.
    I also tried to give the invisible button an instance name and do it like this:
    invisible.on (rollOver) {
            redDot._visible = true;
    invisible.on (rollOut) {
    redDot._visible = false;
    And put them in the actions layer of button movie clip but nothing works.
    Flash is really giving me a headache now...
    To conclude, I made a simple test button, put it on the scene somewhere and and attached the rollOver and rollOut codes, targeting the "redDot" and it works fine, the button didn't need a instance name to work. I don't understand why I can't make it to work with the invisible button where it should be.
    I hope this clarifies the point and I can get some help with this and sorry for bothering again with this problem.
    Oh and I use old Flash MX 2004.
    Thanks
    Kim

  • Simple Action Script question

    This is probably a very basic question, but going through all
    my old Flash work didn't help me remember...
    I have my animation starting on the main stage with an image
    fading in. when that is done playing, at the end i want it to go to
    a movie clip on the stage and play it from frame 2. what is the
    action script for this?

    Doesn't seem to be working... your_mc is the instance name of
    the mc, correct? i placed this script in a frame - it's above where
    my mc first appears and the initial animation on the stage ends. is
    that correct?
    stop();
    tellTarget(mc_square-grid){
    gotoAndPlay(2);
    When I test the movie, the initial animation plays then
    stops, but the MC does not start playing. and the following error
    message appears:
    Target not found: Target="NaN" Base="_level0"
    quote:
    Originally posted by:
    ActionScripter1
    tellTarget(your_mc){
    gotoAndPlay(2);

  • Help Quick!  Action Script Question

    The following code lets me use buttons to switch music. The
    music loops until I switch it.
    How do I make it so that the previous music doesn't stop
    looping. So you can have more then one music going at once.
    That is all...
    // initialize starting track
    var soundNext:String = "beats01";
    // set up dynamic sound object
    var dynamicSound:Sound = new Sound(this);
    dynamicSound.attachSound(soundNext);
    dynamicSound.start(0, 1);
    nowPlaying.text = soundNext;
    beats01.onRelease =
    beats02.onRelease=beats03.onRelease=beats04.onRelease=beats05.onRelease=beats06.onRelease =beats07.onRelease=beats08.onRelease=function
    soundNext = this._name;
    nextTrack.text = soundNext;
    // NEXT SOUND
    dynamicSound.onSoundComplete = function() {
    dynamicSound.attachSound(soundNext);
    dynamicSound.start(0, 1);
    nowPlaying.text = soundNext;
    stop();

    Hi Dan,
    Welcome to Apple Discussions and the AppleWorks forum.
    Are you sure you're asking a database question? From your terminology (rows, columns) and your description, it seems more like you're using a spreadsheet.
    If this is a database, you will have two Number type fields, 'A' and 'B'. To show the product, define a Calculation type field, 'C', using either of the two formulas below:
    'A'*'B'
    or
    PRODUCT('A','B')
    To define the new field:
    Open the database document.
    Go Layout > Define fields
    In the Define fields dialogue that opens, you'll see a list of your current fields, including 'A' and 'B'
         -if 'A' and 'B' are not identified as "number" fields, click to select each in turn, change the Type to Number and click Modify.
          OK the warning (your data in these fields is all numbers, and will be retained).
    Type "C" (without the capitals) in the Field Name box, set the Field Type to Calculation, then click Create.
    Enter either of the formulas above into the Formula box, then click OK, then Done.
    If your document is actually a spreadsheet, with the numbers in columns A and B:
    Enter either of these formulas into cell C1:
    =PRODUCT(A1,B1)
    or
    =A1*B1
    Press Enter.
    Select the cells C1..Cn (where n is the last row in which you want to calculate the product of the numbers in columns A and B).
    Press command-D to fill the formula down the cells in column C
    Regards,
    Barry

  • Basic iTunes Scripting question

    I've downloaded Apple's examples and having a first look at scripting iTunes. But can anyone explain why this DOESN'T work: (with a single track selected)
    (SCRIPT)
    set the_name to {}
    tell application "iTunes"
    set this_track to the selection of browser window 1
    set the_name to the name of this_track
    end tell
    (SCRIPT ENDS)
    (AppleScript reports that it can't get the name of the track)
    while this DOES (with multiple tracks selected, or even just one):
    (SCRIPT)
    set the_names to {}
    tell application "iTunes"
    set these_tracks to the selection of browser window 1
    repeat with this_track in these_tracks
    set the_names to the_names & the name of this_track
    end repeat
    end tell
    (SCRIPT ENDS)
    It seems to me the command is exactly the same? Please note this isn't something I'm actually trying to achieve, I just want to find out how to script iTunes in general.
    Imac G5   Mac OS X (10.4.3)  

    Hello Emma Glaisher,
    As other contributors stated, 'selection' object of certain application may (or may not) be a list of object's references, not an object reference itself even when a single object is selected.
    And if its a list, you'll have to get and use the list's item, that is an application's object reference, in order to manipulate the object.
    For example, the following two lines will fail (because an AppleScript's list does not have 'name' property):
    name of {obj1}
    name of {obj1, obj2}
    while following lines will work:
    name of item 1 of {obj1}
    name of item 1 of {obj1, obj2}
    Some sample codes below.
    * Possibly, test2() and test3() may fail with recent iTunes. (Theye work with iTunes 2.0.4 under OS9.1) If they fail with recent iTunes, then that's all. They have changed the behaviour.
    * Next code will still work with recent Finder, I hope:
    tell application "Finder"
    name of selection
    end tell
    When a single file/folder is selected, I'm not sure whether recent Finder's selection may be a list of single object or a single object itself. (With OS9.1's Finder, it is a singel object itself, not a list, although the proper behaviour should be returning a list in my opinion)
    Hope this helps somehow.
    H
    -- SCRIPT
    Select one or more track(s) in iTunes browser window and run this.
    * Tested with iTunes 2.0.4 under OS9.1
    --return test0() -- NG
    return test1()
    return test2()
    return test3()
    on test0() -- NG
    This fails because (trks) is an AppleScript's list (even when single track is selected),
    not an application object that has 'name' property.
    tell application "iTunes"
    set trks to selection
    set trknames to name of trks -- # NG
    return {trks, trknames}
    end tell
    end test0
    on test1() -- get the 1st track's name in selection
    This works because (trks's item 1) is an expected application object.
    tell application "iTunes"
    set trks to selection
    set trkname1 to name of trks's item 1
    return {trks, trkname1}
    end tell
    end test1
    on test2() -- get list of track name(s) in selection
    This way, you can get a list of name(s) of (tracks in) selection at a time.
    (Here, 'name of selection' is evaluated at a time by the target application and
    AppleScript just receives the result)
    tell application "iTunes"
    set trknames to name of selection
    return trknames
    end tell
    end test2
    on test3() -- get list of track name(s) in selection
    'a reference to' operator defers the evaluation of 'selection'
    until the 'contents' of the 'reference' are actually asked.
    (Here, its contents are asked when its 'name' property is requested,
    i.e. this code is virtually the same as test2()'s)
    tell application "iTunes"
    set trksref to a reference to selection
    set trknames to name of trksref
    return {trksref, trknames}
    end tell
    end test3
    -- END OF SCRIPT
      Mac OS 9.1.x  

  • What is wrong with my basic action script

    Hi guys. I'm new to flash but have managed to create a
    slideshow movie.
    Here is my flash file.
    http://www.thechallenge.net.au/FlashSlideshow.fla
    I am having trouble with the get url action attached in layer
    10
    on (release) {
    getURL("
    http://www.thechallenge.net.au");
    It does not open the url.
    Can anyone help?

    ok - there plenty of problems here. first you can't just
    place code all over the place and expect it to function, it has to
    be placed in the correct spot. there are also tons of changes going
    on throughout the movie, and none of the items on stage have
    'instance names' - a button or MC symbol must have an instance name
    to be able to 'point' at it with your code. the code that operates
    for that instance (like for a button click) must also be able to
    'see' that instance, so your codes can't be placed before the
    instance is 'on' the timeline. so with so many changes happening, i
    think what you are looking for here is that if someone click on
    your ad, at any time, it will go to the link correct? so what you
    need is what's known as an 'invisible button' that sits on 'top' of
    everything and isn't seen but responds to the click.
    to make one, make a new layer called button above all other
    layers jsut below the 'actions' layer, (lock all you other layers
    before doing so) select the first frame, using the rectangle tool
    draw a box that fills the stage size completely, color doesn't
    matter. next right-click and convert the box to a button symbol
    give it a name maybe 'linkBtn'. you should now have that button
    spanning the entire timeline. next with the linkBtn selected, open
    the properties panel, in the textfield on the left type 'linkBtn'
    (no quotes). now back on the stage, double click the linkBtn, this
    takes you into 'edit mode' for the symbol - grab the first keyframe
    which will be the only one with anything in it, click it once, then
    click and drag it to the 'last' keyframe which says 'hit' - now the
    only thing showing should be in the hit frame, double click outside
    the symbol to return to the stage. now you should see a 'blue tint'
    over the stage - this indicates that the button is 'invisible' -
    lock the layer. select the first keyframe of the actions layer
    (before you begin this, remove all other codes and clear all the
    keyframes in the actions layer) with the frame selected open the
    actions panel and reenter the code above - but now in place of
    'byButton' (which i miss typed myButton) replace it with the
    instance name of the button... ... ... yes, 'linkBtn' (no quotes) -
    test your file and click anywhere on the stage - you should nav to
    the site.

  • Scripting Question - Very Basic

    Hello, I'm using the trial version of InDesign and am wondering if because it's the trial version that I can't load custom scripts from Adobe?  I've downloaded and installed a Custom Calendar script [I can see the extracted files in/on my PC] but the app apparently doesn't see it.  Any help you can offer is greatly appreciated.  Thanks, 

    Thank you so much, you were spot on. 
    From: Peter Spier <[email protected]>
    To: Friar5 <[email protected]>
    Sent: Monday, December 12, 2011 3:18 PM
    Subject: Scripting Question - Very Basic
    Re: Scripting Question - Very Basic created by Peter Spier in InDesign - View the full discussion
    Have you put thew script in a location that InDesign uses for scripts? See How to install scripts in InDesign | InDesignSecrets
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4079869#4079869
    To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4079869#4079869. In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in InDesign by email or at Adobe Forums
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • Writing action script from books or memory?

    hey guys. I mess around with Flash and get into the most
    basic action scripting. My question is, for the most part, do
    designers all copy existing code and modify it to fit thier design
    needs, or do they just write it themselves all the time? I really
    cant imagine the latter. Im hoping that designers always have tons
    of books around.

    "Nicknamenick" <[email protected]> wrote in
    message news:ebue8f$s0c$[email protected]..
    > hey guys. I mess around with Flash and get into the most
    basic action
    > scripting. My question is, for the most part, do
    designers all copy existing
    > code and modify it to fit thier design needs, or do they
    just write it
    > themselves all the time? I really cant imagine the
    latter. Im hoping that
    > designers always have tons of books around.
    Books don't do it for me. It takes too long to get the right
    kind of example from books. What I do is to make folders of Flash
    source code that is categorized. One of the advantages of
    helping people on these forums is seeing so many code examples.
    Whenever
    I run across a good example of something or write a piece of
    code for someone I save it as a reference in one of the folders.
    Now
    when I need any code I either write it from memory if it's
    short enough or go to one of my source code folders for examples. I
    have
    lots of books but that aren't nearly as valuable to me as my
    sorted source code.
    Online website sources such as flashkit.com and others can be
    very counter-productive for me. The examples are often old code
    from
    Flash 4 and 5 and usually written by an amateur with bad
    coding style. The online book recourses like safari.com are great
    though.
    You can search for code snippets through all the Flash books.
    tralfaz

  • Transfer Action Script/Flash animation to DVD question

    I have created a countdown clock using ActionScript/Flash that counts down to a specific date when the .swf runs.
    My client has asked  if we can take  the Flash/Action Script clock and transfer it to a traditional DVD and have it work the same as if it were still flash on the desktop.
    Is this possible?

    No serverside script needed.
    If it helps (and you have the patience) here is the code:
    //onEnterFrame allows for a function to be called every tick this.onEnterFrame = function() { //Stores the current date var today:Date = new Date(); //Stores the Current Year var currentYear = today.getFullYear(); //Stores the Current Time var currentTime = today.getTime(); //Creates and stores the target date var targetDate:Date = new Date(currentYear,10,13); var targetTime = targetDate.getTime(); //Determines how much time is left.  Note: Leaves time in milliseconds var timeLeft = targetTime - currentTime; var sec = Math.floor(timeLeft/1000); var min = Math.floor(sec/60); var hours = Math.floor(min/60); var days = Math.floor(hours/24); //Takes results of var remaining value.  Also converts "sec" into a string sec = String(sec % 60); //Once a string, you can check the values length and see whether it has been reduced below 2. //If so, add a "0" for visual purposes. if(sec.length < 2){ sec = "0" + sec; } min = String(min % 60); if(min.length < 2){ min = "0" + min; } hours = String(hours % 24); if(hours.length < 2){ hours = "0" + hours; } days = String(days);  if(timeLeft > 0 ){ //Joins all values into one string value var counter:String = days + ":" + hours + ":" + min + ":" + sec; time_txt.text = counter; }else{ trace("TIME'S UP"); var newTime:String = "00:00:00:00"; time_txt.text = newTime; delete (this.onEnterFrame); } }
    It works by syncing the clock animation to the clock/time on the local computer and then beginning a countdown.
    Not sure why the clients want to have it work on a DVD but I am tasked with finding out if it's possible.
    Many thanks

  • Action Script to add MC as sub-pages ??

    Alright please help.. I have tried everything, been fooling
    around with this in the past 5 hours and its not going anywhere :(
    . Here is what i have. :
    I have 6 menu buttons... Button 4 is what i am concentrating
    on.
    at the moment here is the current action script of button 4 :
    --CODE---
    //-----this first few lines just controls the button
    animation --
    on (rollOver) {
    if (_root.link<>4) {
    gotoAndPlay("s1");
    on (releaseOutside, rollOut) {
    if (_root.link<>4) {
    gotoAndPlay("s2");
    //-----end of button animation-----
    on (release) {
    _root.scroller.scroller.gotoAndStop(3); // I understand this
    calls for fram 3 in an mc within an mc.
    if (_root.anim==true) { // not really sure where this means
    if (_root.link<>4) { // if value of _root.link
    <> 4 then activate the following code
    _parent["but"+_root.link].gotoAndPlay("s2"); // I kind of
    understand this part, i know it has to do with playing the button
    animation, but i am stuck where it says "but" + _root.link .
    _root.link = 4; // value of root.link
    _root.all.play();
    ok so basically, from what i can figure out what this action
    script does is : somehow it calls out a mc called "all action page"
    and the contents inside this mc are two layers. one layer is just a
    stop frame, and the other layer has multiple frames, each frame in
    the layer are each different mc's .. the _root.value is the value
    of each frame, for example if i change the value to 2 or 3 it will
    load frame 2 or 3 within the "all action page" mc..
    now my question, is is there any way i can replicate this
    script for the use of button 4 ?? i know i can just keep adding new
    frams and mc's to the current "all action page" and just keep
    changing the value that corresponds to the frame number, but i
    would like to make it more neater and structured incase if i need
    to change anything. any suggestions ??
    -Steph'

    This package contains two scripts the use EXIF meta data. The one you want is StampExif the other GoogleMapGPS....
    Crafting Actions Package UPDATED Aug 10, 2014 Added Conditional Action steps to Action Palette Tips.
    Contains
    Action Actions Palette Tips.txt
    Action Creation Guidelines.txt
    Action Dealing with Image Size.txt
    Action Enhanced via Scripted Photoshop Functions.txt
    CraftedActions.atn Sample Action set includes an example Watermarking action
    Sample Actions.txt Photoshop CraftedActions set saved as a text file.
    More then a dozen Scripts for use in actions
    Download

  • Where do I find anm experienced Action Scripted fast?

    Hi,
    I have a Flash presentation which needs completed. Basically,
    all of the buttons need programmed and as a newbie who is running
    out of time to learn, I need some help.
    First, I'd like to know where you find people who can do this
    (here?)
    Secondly, how long it would take to programme approx 875
    buttons (many of which are repetitions (e.g home button, help
    button, exit button appearing on every screen). There are
    approximately 109 screens which need to be linked.
    Thirdly, what would be a realistic price to expect to pay for
    someone to do this? It is a non-profitmaking project for a
    voluntary organisation.
    Thanks

    nicknamesaretaken,
    > I think I see what the problem is, but still struggling
    to
    > get it to work.
    Okay.
    > I now have:
    >
    > stop(); {
    > on (release)
    > this.gotoAndPlay("CS1"); // this is the correct code.
    > }
    Okay, the on() event handler may not belong here. The on()
    and
    onClipEvent() functions are an older (Flash 5 era) way to
    handle events in
    ActionScript. They're still available in Flash 8, and they
    work just fine,
    even in AS2, but these are applied *directly to* the object
    in question; as
    in, you click your button to select it, then type into the
    Actions panel
    while the button is selected. In such a case, no instance
    name is needed
    for the button (or whatever object). The above code would
    have to be
    attached to each button -- which really gets old with a large
    number of
    buttons -- and the stop(); action would have ben appear
    inside the on()
    function.
    Your earlier approach -- where you referenced the button's
    instance name
    and assign a function to the Button.onRelease event -- is the
    recommended
    best practice, and has been available since Flash MX (aka
    Flash 6). There's
    nothing about your earlier code that shouldn't have worked --
    it's just you
    *might* have been experiencing the Scenes-related bug I
    mentioned.
    I would change your previous code as follows:
    // in a frame script ...
    stop();
    skipintro_btn.onRelease = function() {
    this._parent.gotoAndStop("frame label here");
    That stops the timeline in which this ActionScript appears.
    Then it
    assigns a function literal to the Button.onRelease event of
    the button
    symbol whose instance name is skipintro_btn (if that object
    is actually a
    movie clip, then it assigns a function literal to the
    MovieClip.onRelease
    event of that instance -- funtionally the same thing). Then
    it refers to
    the parent of this object, which is the timeline in which the
    object
    appears, and tells that timeline to gotoAndStop() at the
    named frame label
    you provide -- even if that frame label is in another scene.
    Make sense?
    > Are there any good Action Script books you could
    > recommend?
    There are quite a few good ones on the market lately, but
    the last I can
    think of that I enjoyed -- from a general programming
    standpoint -- is
    Object-Oriented ActionScript For Flash 8 (Friends of ED), by
    Peter Elst and
    Todd Yard.
    > I'm also a bit worried about bug comment. Does it mean
    > that I will have difficulty playing this project in
    Flash Player
    > 9 as it's not written in Action Script 3.0?
    You shouldn't have any problems. As long as you use the
    frame labels
    approach and avoid Scene names, Flash Player 9 will run it
    the same as older
    Players. Flash Player 9 is the first to feature *two* virtual
    machines for
    ActionScript. One is the overhauled AS3-lovin' machine; the
    other maintains
    backward compatability for AS1 and AS2.
    > If so, that's a big problem isn't it as people will need
    to
    > download older versions of Flash Player to view it - or
    > I'll need to include older version on the disc.
    Right, but you don't have to worry about that. :) The Scenes
    issue is
    an old one, and it is a big problem, but at least the
    workaround is easy
    (frame labels).
    David Stiller
    Adobe Community Expert
    Dev blog,
    http://www.quip.net/blog/
    "Luck is the residue of good design."

  • Email Action Script

    Simple question, is there a way to add an email link with
    Action Script? Sorry if this is basic, but it is all I need to
    know.

    quote:
    Originally posted by:
    mailingitin
    Simple question, is there a way to add an email link with
    Action Script? Sorry if this is basic, but it is all I need to
    know.

  • Receive Action Script Error #2130

    My system is running Windows 8 and IE10. I have continuing problems installing and using Flash Player. I have read and reread the online procedures, checks, and solutions without much luck. Most recently after several failed attempts I was able to download the latest version of Flash Player for Windows 8 with Internet Explorer. My email account is with Outlook, which defaults to MSN.com when I sign out. When the MSN.com homepage appears I shortly receive an error message that says there is an Action Script Error #2130 and a list of affected files, including flash. I am unable to perform any other functions while this message is displayed. The message block gives me two options: Dismiss or Continue. The error message clears when I click either option, and the MSN.com homepage seems to operate normally. However, there are other issues with MSN.com which I have addressed to their support. Basically, if I click on a news headline in order to read the full article, the screen that appears is mis-formatted and unreadable. Ihave a screen capture of the error message noted above. I have tried the solutions suggested in Adobe Support, but they did not resolve the underlying issues. Please help, /hugh
    I noticed a related RE: discussion on the side of my question. When I went there I followed staff instructions to another person with similar problems. When I checked my installed version, I saw that it was the latest version for my system, but also saw debug at the bottom of the page. I then proceeded to uninstall Flash Player as staff instructions said to do. After I received the message that uninstall was successful, I again checked my installled version. It was the same as before including that it was the debug version. I repeated this action several times with the same result. Don't understand what this new problem is or how to proceed from this point.

    Thanks Pat - Sorry if I have been terse. This is not a good time for me as my Old Man [not my Father] is in failing health and requires a lot of care. Didn't need the added burden of two known problems in my computer system which no one seems to know the answer to. At least part of the problem with my email/MSN.com went away. At present I do not get an ActionScript Error #2130 when I sign out of my Outlook email account, which defaults to MSN.com. The other problem with MSN.com is still present, but so far I have not received any support from their techies, just several boilerplate messages.
    However, you are helping with my problem with Flash Player. I discovered it when trying to find the cause for the ActionScript error. I went to Adobe Support Center and began with the several guide sheets I found there. When I did the steps to find the installed] version, which by the way are contained on several different sheets, I found the version of FP installed was not the latest version. I am aware that as I have Windows 8 and IE10 changes should come down from Microsoft, so I was surprised. I tried Update Windows but there were no updates available other than an optional update to install Bing Desktop which I have installed several times, but it remains on the list as an optional update that has not been installed. As I have thought and said many times since I upgraded to Windows 8, it should have been more thoroughly debugged before they rushed it to the retail market. But that too is not an Adobe problem.
    I tried all the procedures and checks on all of the Adobe FP guide sheets I found on their support center website several times before to my surprise when I redid the steps to find the currently installed version the lastest version of FP: FP 11.7.700.169 was shown as the installed version. This was over a week ago and after I found Guide Sheet: Adobe Flash Player Support Center/Downloads at: http://www.adobe.com/support/flashplayer/downloads.html. In addition to providing a path to download the latest version of FP, it provides a list of critical updates and downloads to correct known problems in Flash Player. I downloaded every update I found that seemed to apply to my system. 
    I then checked to see if the Flash Player Action Script error message was now cleared. To my dismay it was not. Ever since I have been trying to correct that problem. It was not until after I posted this question here and you started to respond and discovered that although the latest version of FP is now installed - it is the DEBUG version, which you have told me I must uninstall and then install the standard version. That is where I learned that even though I am able to download the Adobe Flash Player Uninstaller and run it and get a message that the uninstall was successful, when I check using the Find Version procedure, I am told the latest version of FP is still installed and it is the DEBUG version.
    I have tried reinstalling the latest version, but this procedure does not work either. When I click to download Flash Player all I get is a blank Adobe box on the screen. It asks me to select a region. I select the US, There is a DOWNLOAD tab at the top which I also select. Then nothing happens. This tell me something is not working properly with this procedure.
    So I am stuck at a point where Adobe Find Version procedures tells me the latest DEBUG version of Flash Player for my system, FP11.7.700.169, is installed in my system and working properly,but I am told I must uninstall the DEBUG version and install the standard version of FP. However, the Adobe Flash Player Uninstaller does not work on my system and the Adobe Flash Player Installer does not work on my system.
    On the other hand as far as I have been able to determine Flash player is working properly as I am able to view videos on various websites, including MSN.com. And after deleting several Flash Player files I searched and found, the FP ActionScript Error #2130 has apparently stopping showing up when I am defaulted to MSN.com when I sign out of OUTlook email. I am so confused, irritated, and frustrated. I agree someone from Adobe Support should take a look at what I am reporting and determine if I have an Adobe Flash Player problem, and if so, FIX IT!
    Thanks again for taking the lead Pat, /hugh

  • Sample Rule Action Script.scpt crashes mail app sometimes

    Hi, I know next to nothing about applescript, but today came across a post which seemed like it could be solved with a little rule triggered AppleScript action. So I ...
    1. dug up the 'Sample Rule Action Script.scpt', and copied it into ~/Library/Scripts/Applications/Mail/
    2. created a rule which applied to all email messages and triggered the script
    3. selected a message, and hit cmd option L to apply rules to the selection
    and up popped an alert panel. (expected behavior) But only the first time and only on one of my two machines. On the other Mail.app crashed. (unexpected behavior)
    But then I found I couldn't reliably run it repeatedly on the first machine after all. So I repaired permissions. Now I get the crashing behavior reliably.
    Any ideas what I'm doing wrong? The script is the one everyone should have under:
    /Library/Scripts/Mail Scripts/Rule Actions/Sample Rule Action Script.scpt

    hello Camelot. I hope this is not too far afield in this thread but its as close I can find in the current discussion topics. I've been attempting to write a script to filter flagged messages from the old messages (> 6 days old) I want to delete. I use the rule to send it to my script as you discuss. My script doesn't function but when I replace it with the Sample Rule Script, things run like a charm. (Although the text that Craig sites doesn't run.) My question is what's wrong with my script that it is not triggered. It is as follows, it is compiled, and I added a sound command to try and debug it. It didn't work.
    using terms from application "Mail"
    on perform mail action with messages theMessages
    tell application "Mail"
    play sound ..........+These 2 lines added in an attempt to ascertain if the messages where even passing+
    "Basso" ..................+through the script. No sound resulted; syntax?+
    set theflaggedstatus to flagged status of eachMessage
    if flagged status is false then
    delete message
    end if
    end tell
    end perform mail action with messages
    end using terms from
    The result is no result, nothing, nada. The old messages stay in the mailbox whether they are flagged or not. I inserted a standard change color of message rule above and below the "run Applescript" rule command and the messages are colored as they should be but the Applescript is not functioning. My script, at this point, seems overly complex for what it is, but it is the result of numerous attempts to get it working. I have a number of similar scripts written with basically the same consequence.
    If this post is outside the thread here, my apologies, if it is maybe you can redirect my inquiries. thanks tT

  • Adding data to cfgrid using action script

    how can i add data to a grid row called name in action
    script. i have a cfselect control containing name of students and i
    want to add the values of the selected student from the list to
    grid.

    Did you add your instance of SpectrumCanvas to the stage with addChild()?
    If so, you should boil your posted code to a more simple example.
    If this post answered your question or helped, please mark it as such.

Maybe you are looking for