Can I use a 2.0 script in a 3.0 script Flash file?

The following script is a simple photo gallery, written in Action Script 2.0. When I attempt to apply the same script in a Flash file designated as having Action Script 3.0, it does not work properly (the photos advance from frame to frame in a runaway fashion, in one continuous loop).
Is there some reason why a 2.0 script should not work in a 3.0-specified document?
Thanks, and here is the script:
stop();
btn_next.onRelease=function() {
    if (_root._currentframe==20) {
        gotoAndStop(1);
    else {
        nextFrame();
btn_prev.onRelease=function() {
    if (_root._currentframe==1) {
        gotoAndStop(20);
    else {
        prevFrame();

there's no easy way to convert most code.  but that's almost the same in both as2 and as3:
stop();
btn_next.addEventListener(MouseEvent.CLICK,nextF);
function nextF() {
    if (MovieClip(root).currentFrame==20) {
        gotoAndStop(1);
    else {
        nextFrame();
btn_prev.addEventListener(MouseEvent.CLICK,prevF);
function prevF() {
    if (MovieClip(root).currentFrame==1) {
        gotoAndStop(20);
    else {
        prevFrame();

Similar Messages

  • Can i use pandrive with iPad, i want to access word, excel, pdf files on iPad via pandrive

    Can i use pandrive with iPad, i want to access word, excel, pdf files on iPad via pandrive

    You cannot use pendriver.
    Have a look at the following:
    http://itunes.apple.com/sg/app/quickoffice-pro-hd-edit-office/id376212724?mt=8&l s=1
    http://itunes.apple.com/sg/app/office2-hd/id364361728?mt=8&ls=1
    http://itunes.apple.com/sg/app/documents-to-go-premium-office/id317107309?mt=8&l s=1
    http://itunes.apple.com/sg/app/polaris-office/id513188658?mt=8&ls=1

  • I can't use thunderbird 31.2.0 to send attachement from a pdf file with Acrobat PRO XI

    I can't use thunderbird 31.2.0 (Mozilla) to send attachement from a pdf file with Acrobat PRO XI. Each time, Acrobat replies (in french) : "il n'y a pas de client pour la messagerie par défaut". Thunderbird is indicated as "by default" in the list of programs of Windows.
    Even if I type my e-mail address, etc. in the account of Acrobat, it doesn't change. Each time, I have to record a PDF file in a folder and return to Thunderbird to send it as attached. It is a too long process,  compared with Windows XP with Acrobat Reader or Acrobat 5, I had before.
    Would you please help me to explain the process. My OS is Windows 8.1.
    Thank you

    Thank you for your answer.
    What i want to do : to send PDF files as attached documents in a message
    generated by thunderbird by my e-mail address [email protected] or
    another one I have.
    When I introduce my e-mail address under Edit-Preferences-Email
    Accounts, Acrobat ask the e-mail account, the password, the IMAP for
    ingoing message (and I use POP) and SMTP for outgoing messages. Even I
    introduce all the datas, it doesn't change, Acrobat is unable to send
    the message. And the process is not convenient, because I need all my
    outgoing messages be documented inside Thunderbird.
    So, I repeat my request : how can I use thenderbird as program by
    default from Acrobat or any other software ?
    Thank you for your next message.
    Jean-Luc Rongé
    Le 21-10-14 14:24, ANAND8502 a écrit :
    >
          I can't use thunderbird 31.2.0 to send attachement from a pdf
          file with Acrobat PRO XI
    created by ANAND8502 <https://forums.adobe.com/people/ANAND8502> in
    /Acrobat Installation & Update Issues/ - View the full discussion
    <https://forums.adobe.com/message/6850947#6850947>

  • Can I use Visual Basic to covert form user data from multiple .pdf files to a single .csv file?

    Can I use Visual Basic to covert form user data from multiple .pdf files to a single .csv file?  If so, how?

    You can automate Acrobat using IAC (InterApplication Communications), as documented in the Acrobat SDK. Your program could loop through a collection of PDFs, load them in Acrobat, extract the form data from each, and generate a CSV file that contains the data.
    Acrobat can also do this with its "Merge Data Files into Spreadsheet" function, but this is a manual process.

  • Can i use a pendrive with the ipad mini 2 and access the files in the pendrive

    can i use a pendrive with the ipad mini 2 and access the files in the pendrive

    I've literally had a 50/50 success rate with drives. But even if you get it to work, all you'll be able to access are photos or videos that follow a very strict naming convention. You cannot access documents or music, and you cannot write anything off the iPad onto a flash drive.
    If you want to access photos or videos, you'll get more reliable results with an SD card than fighting with a USB drive.

  • Can I use a firewire to thunderbolt cable and Migration Assistant to transfer files from an eMac to the soon ( I hope ) to be released iMac?

    Can I use a firewire to thunderbolt cable and Migration Assistant to transfer files from an eMac to the soon ( I hope ) to be released iMac?

    Agrred, if the eMac is in Target mode.

  • I recently bought a new iMac as well as a wireless time capsule and have it connected how can I use this external drive as the location to store all my files for iTunes, or is this even possible?

    New iMac user here, I recently bought a new iMac and Time capsule and have the whole network up and running now. I have connected another external HD to the time capsule as well and have a total of 3 TB of storage connected wireless to my new iMac. My question is can I use this location as the default location for iTunes?  I doubt I am gonna run out of room considering the iMac has 1 TB of storage already, but I'd prefer to keep my movies and music off the Mac to keep it running smoothly. If this is possibly, I'd like to do this with iPhoto as well. 

    I would advise against placing your iTunes library on a Time Capsule.
    The Time Capsule is designed as a backup device and not for wireless streaming of video.
    Before you do anything more, can I suggest you put into place a reliable, redundant backup strategy.
    Unless you are prepared to risk loss of your iTunes library due to a hard drive failure, I would not put iTunes on the Time Capsule.
    Leave your iTunes library on your iMac until such time as your internal drive is full. Backup to Time Capsule using Time Machine and create a clone of your internal iMac HD to your external drive.
    That's my 2 cents worth. Others may have a different opinion.

  • I have Elements 12.  I'm a new user.  Can I use the organizer as a simple viewer of photographs from a file without opening each individual photo up individually like you do with the editor?  Sometimes I just want to look at the pictures.

    Do I use the organizer to use Elements 12 as a simple photo viewer?  Typically with photo viewers, you can access each photo in a file and go from one to the next without opening a specifc file such as with the Editor.  I am new to this.
    Or am I expecting too much from Elements?

    I was digging around with the instructional videos offered at the Adobe site and I believe I have answered my own question.  The key is to import the photos into the Organizer and then it can be used as a simple viewer.  I have always been hesitant to import any of my photos into any kind of "organizer" in the past and always just viewed the photos from the file folder as I wanted.  But the MS viewer is not very handy from my point of view and I always used Photo Impressions in the past on my other computer.  I don't want to download this software again due to all the adware that I expect will be present in the free version.  My virus software will choke on it I'm sure.

  • Can't use "save target as" feature in Firefox 7.0.1, all files are saved with .htm extension! Why?

    I'm no longe able to save a file using "save target as" feature, when I'm googling for a file.
    No matter what the file extension is (ppt, pdf, doc, etc.), Firefox 7 downloads a .htm useless file.
    I rember I had this issue in FF long time ago! Is this a regression?

    Now up to Firefox 8 and the problem persists. Cannot go to the www.turnitin.com page and login as I used to do -- Firefox does not remember my username or password.
    Still works on Windows, and with other browsers... It would be great if a fix is available.

  • Can i use alter command in script

    type1=`sqlplus -s scott/tiger@home <<EOF1
    spool file1.sql
    alter table $v_tabname add(col1 number(10));
    but select * from $v_tabname; is working in side the unix script
    spool off;
    EOF1`
    alter table $v_tabname add(col1 number(10)); command is not working
    in my unix script
    please give your suggestions

    This appears to be a *NIX script.  If so, the dollar sign is used to display the contents of the variable.  In your case, that would be $v_tabname.  Have you defined that variable in your script?  If so, does the table actually exist in the scott schema?
    Other than that, can you define "not working".
    John

  • What can I use to view java script in my browser for iPhone

    I can't view JavaScript , what do I use instead. Java's web site says that apple has there own version but I can't find it.

    JavaScript works just fine in iOS.
    Java does not.
    They are not the same thing.

  • Deleting duplicate songs, can't use Robert Jacobson's script (only for PC)

    Help! Is there a script out there that will delete duplicate songs--for mac? Thanks so much

    I'm sorry my script won't work for you!
    Do you realize you are posting in the "iTunes for Windows" forum? Maybe you should ask in the "iTunes for Mac" forum: http://discussions.apple.com/forum.jspa?forumID=789

  • Can you use components in the Script area?

    I really would like to implement the linkbutton in my functions.

    public function mainFunction():void{
                    var cache:int = 0;
                while(myCanvas.numChildren > 0){
                    myCanvas.removeChildAt(0);
                while(myCanvas.rawChildren.numChildren > 0){
                    myCanvas.rawChildren.removeChildAt(0); 
                    //text format for links 
                        //text format end 
                    if(amt_cnt.count == 1){ 
                        amt_cnt.end = amt_cnt.endCache; 
                        amt_cnt.start = amt_cnt.startCache; 
                        //set the text 
                        var myButton:LinkButton = new LinkButton(); 
                        myButton.label = "Can't find your answer? Need more help?"; 
                        myButton.x = 275; 
                        myButton.y = 200; 
                        myCanvas.addChild(myButton); 
                        myButton.addEventListener(MouseEvent.CLICK, moreHelp); 
                    }else{ 
                        amt_cnt.end = amt_cnt.endCache; 
                        amt_cnt.start = amt_cnt.startCache; 
                        var myButton1:LinkButton = new LinkButton(); 
                        myButton1.label = "Can't find your answer? There are more answers."; 
                        myButton1.x = 275; 
                        myButton1.y = 200; 
                        myCanvas.addChild(myButton1); 
                        myButton1.addEventListener(MouseEvent.CLICK, moreQuestions); 
    well it doesnt have to be in a forloop...

  • How can I use my iPhone 4 to view my iCloud photo and video files that I had from previous phones?

    I want to view my saved to iTunes and or I cloud  photos and videos, where do I go to see them and can I do it with my iPhone or do I need a pc?

    iTunes is not a photo management application so no photo are saved to iTunes.
    By videos, do you mean videos from iTunes or videos created with the iPhone?
    If from iTunes, they can be downloaded and played on any iOS device.
    If videos created with the iPhone, they are not synced to PhotoStream.
    Pictures taken with an iOS device are uploaded to and viewable in PhotoStream on any iOS device, Mac, or Apple TV using the same Apple ID.
    It is not currently possible to view a PhotoStream for a different Apple ID, but this will be changing with iOS7.

  • How can I use a timestring saved from LV as a csv spreadshee​t file as the x axis of a LV chart?

    I'm saving the timestring portion of a timestamp as HH:MMS  along with each set of data fields to a cvs spreadsheet file, i.e. each row of the file starts with the timestring followed by data in each remaining column. The first row contains data field headings. I can read this file back into LV with no problem and can remove the header row but cannot find a way to use that timestring as the x axis of a chart graph. I have no problem graphing the data in that format within Excel itself. Can anyone help?
    Thanks,
    DennisR

    Check the timestamp indicator, it is trying to write your time-stamp to your time-zone, so you will need to change the time-stamp to universal time. For the time-stamp indicator it is easy enough you just need to edit the indicator to display universal time, however for a purely data sense it is a bit odd, I have never found a straight forward way to do it so I use the conversion between Time in Seconds and Date/Time to do it for me.
    Attachments:
    Time Extract.png ‏21 KB

Maybe you are looking for

  • Multiple iTunes accessing the same songs on local network??

    Hello all, I have imported all of our CD's into itunes on my computer. I would like for my wife and children to be able to access these songs and create their own playlists on their own computers from these songs. The kids have Windows Vista, and my

  • Download Link Not Working

    Hi there, I'm trying to download Shockwave (FULL-Other Browsers) - I have also tried the Lite, on Windows 7 Professional 32 Bit from http://get.adobe.com/shockwave. However the download doesn't auto-start so I click the link that says "Click here to

  • Trouble connecting to remote oracle database

    Hi, i'm having trouble connecting to an oracle database (Release 9.2.0.6.0) using the ojdbc14.jar from the oracle website. Can anybody spot the problems that i need to sort out to get it working? Code and error stack below. Thanks, Pat Code: import j

  • Numc characteristic values are not saving in AUSP

    Hi All,               I am unable to save numc/Date type characteristic values in AUSP table using CL20N tcode. i am able to retrive CHAR values from AUSP table but NUMC / DATE  values are not saving in this table. Regards, Praveen

  • Here maps in Asha 210

    I want to buy Asha 210 but let me know the following: 1. I use HERE MAPS on my Lumia 620, can i use the same offline maps in Asha 210. How if yes(because asha 210 has got very less internal memory). If no, provide me an alternative to here maps. 2. C