How can I convert an ActionScript 2 website to ActionScript3?

I have a website which currently uses Action Script 2.
When I change the Publish settings from Flash 7 to Flash 9
and from ActionScript 2 to ActionScript 3, then publish the file, I
get the following warning:
WARNING: Actions on button or MovieClip instances are not
supported in ActionScript 3.0. All scripts on object instances will
be ignored.
What can I do to correct this error?
Is there a simple tutorial that explains how to make the
changes?
I subscribe to Lynda.com but I haven't seen useful there.
I should warn you that I am a beginner when it comes to
coding.
Thank you

Hi NickLW,
In AS3 there's (like the error mentions) no attaching script
to
instances directly. You probably have something like:
on(release){
gotoAndPlay( 5 );
well, atleast the "on( something )" part...
That's a nono in AS3.
You'd have to change it to code in a keyFrame in the timeline
like:
my_btn.addEventListener( MouseEvent.CLICK, onClick );
function onClick( e:MouseEvent )
gotoAndPlay( 5 )
where my_btn is the instancename of the button.
Look for migration from as2 to as3 in available resources
(like:
http://www.mandalatv.net/fcny/)
Sure there's no mention on the Lynda courses?
NickLW wrote:
> I have a website which currently uses Action Script 2.
> When I change the Publish settings from Flash 7 to Flash
9 and from
> ActionScript 2 to ActionScript 3, then publish the file,
I get the following
> warning:
>
> WARNING: Actions on button or MovieClip instances are
not supported in
> ActionScript 3.0. All scripts on object instances will
be ignored.
>
> What can I do to correct this error?
> Is there a simple tutorial that explains how to make the
changes?
> I subscribe to Lynda.com but I haven't seen useful
there.
> I should warn you that I am a beginner when it comes to
coding.
>
> Thank you
>
Manno Bult
http://www.aloft.nl

Similar Messages

  • How can I convert an entire website to pdf document

    Hello there!
    I would like to be able to take a client's entire website and convert it to a pdf document. As a next step I would like to have the ability to make editing changes to the text only and send back the edited pdf to the client. I would prefer to actually edit (cross out words, add in text etc) rather than using sticky notes or highlights. Maybe what I need to do as a second step is convert the pdf document to a Word document to edit?
    Any help would be greatly appreciated. Thank you.

    Good day,
    <moved thread to Acrobat Windows>
    If you have Adobe Acrobat, you can choose File > CreatePDF > From Web Page.  You can then configure the 'Capture Multiple Levels' option to grab the entire site.
    Kind regards,
    David
    Acrobat Community Manager
    Adobe Systems

  • How can I convert an ActionScript 3.0 in ActionScript 2.0?

    I am having a serious problem since I've made a website in Flash CS4 ActionScript 2.0 in a long time, but then I opened it in CC and saved, it simply became a file in ActionScript 3.0. I need it in Action Script 2.0, can anyone help me?

    What you will need to do is get your hands on CS6 (even the trial version will suffice) and open the files there and save them as AS2 files.  If you have a Creative Cloud subscription you will have access to install/use CS6 as well.

  • How can I convert a version 9 PDF to version 10 or 11?

    My scanner is a couple years old and it scanned it to version 9. The government website I'm trying to upload to is terrible and won't accept version 9 or earlier. I don't understand why; it's all PDF. Adobe Reader 11 can open version 9 so why can't theirs? How can I convert my PDF to version 10 or 11? I looked at pdfconverter, but it's free only for files <512 kb and mine is 1 MB. I'm certainly not paying $69 to convert one file.

    https://bsaefiling1.fincen.treas.gov/NoRegSubmitServlet
    "Please correct the errors before resubmitting the form:
    Error: problem in processing the uploaded form.Please check a valid pdf form is attached"
    They can't even put a space between sentences so how can they accept a PDF????
    It waits about a second and then gives me an error.
    They have a PDF form to fill out, but then it says to sign and attach it so I assume that means to scan it. It says "Click the above button to access the submission page in order to electronically file your completed Individual FBAR. Enter your email address, first name, last  name and phone number and then browse on your computer to locate the individual FBAR you have completed. Once attached, you can file your FBAR electronically by clicking submit, at which time you should receive an email notification of acceptance." The bolded section must mean that I have to scan it. We're dealing with the government here, so not much makes sense.

  • How can I convert my logo 300dpi (274 pixels wide) from EPS to Gif format?

    I have a logo that needs to be fixed for web purposes. It looks great in print but very poor quality on screen. I need one for my website and HTML email newsletters, along with a high quality GIF 300 DPI (274 pixels wide) for a HTML coded signature. I tried it in Photoshop to save this file as GIF format. But it seems my files is 274 pixel but it is 96 dpi rather than 300dpi. How can I convert it from EPS to 300 DPI (274 pixels wide) GIF file format??
    I have an EPS file for it. Can anyone please help me ? Here is the LINK

    If your logo is 274 pixel wide at 300DPI it will print  .9" wide.      DPI is meaningless for the web For displays and displaye drivers do not use the image file dpi setting.  Displays are run at one resolution normally  their manufactured pixel resolution.   Display these days are manufactured with resolution ranging from 96PPI to over 300PPI so your logo will display  2.8" wide on a low 96ppi resolution display and .9" wide on a high 300ppi resolution display. The the difference between Jpeg and Gif is color Jpeg supports 8Bit color so 16M colors but does not support transparency.  GIF only supports 256 mapped colors reduced to 255 colors it you want transparent empty pixels.  You can also use PGN format which supports transparency and 8 or 16 bit color.

  • How can i convert .mov to .mp4?

    Hello again
    I have made a large promo dvd for an upcoming seminar and the national organization would like to put it on its website.
    I broke it down into chapters so that it is not one long cumbersome piece, and visitors can watch just the parts they need.
    On our local website, I was able to share to media and then use iweb to upload them in an album.
    However, the national webmaster uses a different web program so I need to create the chapters as self-contained movies for her to download first from our downlload site. She says that the .mov files hang up when she's downloading and wants them as mp4.
    How can I convert them?
    Thank you
    Elizabeth

    hello .... sorry it's taken me so long to return here ....
    To separate it into chapters, I brought it into Final Cut pro, and marked the In and Out for one chapter, then exported just that selection.... as an mpeg4 (Quicktime conversion) . As one chapter was finished and exported (Self-contained movie) i moved the In and Out points to the next chapter, and continued along this way.
    If you don't have Final Cut, then you should be able to do the same in iMovie: import the whole movie, then select the portion of the movie that belongs in one chapter, drag it to the timeline, edit as necessary (fades, etc) then export (Share) that chapter. Repeat for each portion of the movie you want to isolate. When you export/share, you can choose the option of size that you want it to be.
    Hope this helps and that I'm not too late for you  !!

  • How can I convert .mov files for use with other apps?

    When loading movies taken on a friend's digital camera to my PC, the video files were saved as Quicktime .mov files. I am now unable to pull those files into any other software program (I want to put them onto a CD or DVD and play on external players.) How can I convert .mov files to a .wmv or .avi or mpeg?
    Thanks - J
    RS720G   Windows XP  

    Kodak Digital Camera QuickTime MOV Problems
    After battling a number of serious problems with the videos taken by my new Kodak Digital Camera, I decided to write up this page so that anyone searching the web would find out the true answers without as much grief!
    I’ve also made some other comments about my experience with the camera, in case anyone was considering buying a Kodak camera in the near future.
    I bought the camera just before Christmas 2004 in the US. At the time of writing, it is a pretty good model for domestic use—about 5.2 megapixels, costing about US$400 (or AU$600 back here in Australia). From a company as reputable as Kodak, I expected no problems.
    The first disappointing thing was that the spring inside the spring-loaded battery clip, inside the camera, came loose within days. It proved impossible to reattach it without completely dismantling the camera, which (despite my engineering qualifications) I was not willing to do. This would usually have been a warranty item, but Kodak’s warranty does not extend to other countries. I’ve since had to jam cardboard in to keep the battery clip engaged, and have taped the battery bay shut to avoid it opening accidentally when taking the camera out of the case. This works fine with the docking station (an extra AU$100!), but it means I can no longer charge the battery without the docking station (since you need to take it out to charge it). I was not impressed!
    The camera takes good photos, and I have no complaint with that. The controls and camera menus are well-designed. The large display is excellent.
    The EasyShare software is not as easy to use as it looks, has a habit of crashing, has a web update program that is always running in the background of Windows, and transferring images is nowhere as easy or quick as it should be. I’ve now uninstalled it completely, and simply copy the photos directly from the device. (If the camera memory is nearly full, and you just want to transfer the last few photos, then it’s impossible to use the EasyShare software to browse the camera’s photos without it actually downloading the whole lot through the USB cable—and it takes forever! Copying from the device directly doesn’t hit this bug.)
    The capability to take video using the camera was a great attraction when I selected it, and, if it worked properly, it would make it quite a handy little camcorder in its own right. With a 512 MB memory card in it, over an hour of video can be recorded at Video-CD quality (320 x 240 24fps video, 8 kHz audio). It’s not full digital video, but it would still be a pretty good feature for a US$400 camera. If it worked.
    The first disappointing thing about taking videos is that the optical zoom cannot be adjusted while the camera is recording. It can only be adjusted between video sequences. I don’t know why this restriction was made in the design.
    The real problems, however, start when you try to do anything with the video clips captured by the camera. Kodak has chosen to capture the videos in QuickTime format. This is fine—QuickTime is, technically, excellent—except that there is no simple way to convert QuickTime MOV files to AVI or MPEG or VCD. The Kodak software comes with a QuickTime player, so you can see the video clips on the computer you installed the software on—and they look good. Problem is that you can’t just dump those MOV files onto your Video-CD creator (it will usually want AVI or MPEG files).
    It takes some time to realise that Kodak have not even bothered to include any software with the camera that can convert these MOV files to a more useful format. This is a serious PR blunder, and anyone bitten by this is unlikely to go near the Kodak brand ever again.
    After some web searching, owners of these cameras generally find that the best (only?) freeware solution to convert MOV to AVI is Bink and Smacker’s RADtools program.
    RADtools is amazingly powerful for the price (i.e. free), but it hits two fundamental problems with Kodak Digital Camera MOV video files, that are the fault of the Kodak camera, not RADtools. (I know this because every other MOV converter hits the same problems—except one, as you will see below.)
    The first problem is that the sound cannot be converted properly. When you convert any Kodak MOV files, there is an “aliasing” of the sound at the upper frequencies. This is a technical description—you get a whispery, tinny, C3PO type of echo to everything. It really destroys the quality of the video clips (especially bad when I am trying to capture priceless memories of my 4- and 7-year-old sons—I don’t want their voices destroyed for all time).
    Every conversion program I tried ended up with the same audio problem. I concluded that it is something strange in the way the Kodak cameras store the MOV files.
    Strangely enough, I noticed that the QuickTime player didn’t distort the audio like this. The audio sounds just fine through QuickTime. More on this shortly.
    The second, more serious problem is that RADtools could not properly convert some of the video clips at all. (This problem only affected less than 10% of the clips I originally filmed, but most of those clips were very short—less than 20 seconds. It seems that the probability of this problem gets worse, the longer the clip.) RADtools would misreport the number of frames in the clip, and would stretch out a small number of frames of video (in slow motion) to match the length of the audio.
    Again, I confirmed that this is a property of some of the MOV files stored by the camera. Other conversion tools also had problems with the same MOV clips.
    After more angst, I found a number of websites in which frustrated owners of these Kodak cameras have reported the exact same problems.
    It was only then that I discovered that QuickTime itself can convert MOV files to AVI. Believe it or not, it’s built into the QuickTime Player that Kodak supplies, or that you can download free from apple.com. The problem is that you can’t use it unless you pay Apple to upgrade to QuickTime Pro.
    After realising that this would probably be the only way to get decent audio for these clips, I paid the AU$59 to Apple Australia to get the licence key that enables the extra “Pro” menu options in QuickTime.
    Sure enough, you can “Export” any MOV file to a number of formats, including AVI. And guess what? The audio comes out fine!
    So, the first piece of advice I can give is: pay Apple the US$29 (or whatever amount it is in your country) to upgrade QuickTime to QuickTime Pro.
    From here, however, there are still a few snags to untangle.
    The first is that the default settings for Exporting to AVI don’t give a great result. It defaults to the Cinepak codec, medium quality. This looks terrible compared to the original QuickTime movie. Even on maximum quality, that codec just doesn’t give good results.
    I finally found that the best option is to use the Intel Indeo Video 4.4 codec, set on maximum quality. This creates AVI files that are 10 to 20 times larger than the original MOV files, but the quality is there. If (like me) you only want the AVI files so you can dump them into your Video-CD program, then you want to keep the quality as high as possible in this first step. The extra hard disk space is not really a concern. When your VCD program converts the AVI files to MPEG, it will compress them to the usual VCD size.
    Now for the biggest snag: those problem MOV files are still a problem, even for QuickTime Pro. Unbelievably, these Kodak cameras are spitting out MOV files which have some sort of technical flaw in their data specifications. QuickTime is able to play them back fine—and that seems to be all that the Kodak engineers really checked. However, if QuickTime Pro tries to export them, then when the progress bar gets to the end, it never finishes. It just keeps going. If you check the output folder with Explorer, and keep hitting F5 to update the file listing, you can see the file getting bigger, and bigger, and bigger. It never stops.
    That this happens even for QuickTime itself (the native format for these files) confirms that the problem is with the software built into these Kodak cameras. It would be nice it they issued a patch or a fix. I couldn’t find one.
    Fortunately, there is a “workaround” for this problem. I found it when trolling the net trying to find solutions to all these problems. The workaround is to use QuickTime Pro’s cut and paste facility. Open the problem MOV file, then press Ctrl-A (the standard key combination for “select all”—in this case it selects the entire film clip, as you can see by the grey selection of frames at the bottom of the player). Then hit Ctrl-C (i.e. copy, which in this case copies all the frames, but not the incorrect data structure in the original MOV file). Now hit Ctrl-N (i.e. new, in this case a new MOV file or player). In this new player, press Ctrl-V (i.e. paste). Now you have a new version of the MOV file with the bad data structure exorcised. You can save this under a new name, but make sure you specify “Make movie self-contained”—otherwise, it will simply be a link to the original (bad) MOV file, which you are probably going to delete once you save the exorcised version. (You also cannot overwrite the original file, because it needs to access that to make the “self-contained” movie. You need to give it a slightly different name, save it “self-contained”, then delete the original and rename the new copy back to what you wanted it to be. A pain, I agree, but at least the **** thing works—finally!)
    The exorcised MOV file can now be used to Export to AVI format. (I also keep all the MOV files on a separate CD, in case I want to reconvert them to a different format in the future. I figure it’s better keeping the exorcised ones than the haunted ones.)
    So I hope that all this answers a few of your questions. No, you weren’t being incredibly stupid.

  • How can I download images from website with Automator?

    Hi!
    I want to ask how can I download images from website with Automator like here http://www.youtube.com/watch?v=hQm7Xr9jY0w&t=85m15s (in 1:25:15).
    I want to download these images to my downloads folder. Some things have changed and I can't find exact options as then. When I am trying to make it it shows "The action "Download URLs" was not supplied with the required data."
    I am using 2012 late iMac with Mac OSX 9.2 (Mavericks).

    There are two apps that I know of - and I would also swear that they come from the same developer, although they've different names. Both have free trials and both cost $40 (but both do 'other' video conversion as well).
    One is WonderShare - I bought this one and it works very well for downloading YouTube videos as well as converting just about any file format you can think of.
    The other is iSkysoft Video Converter (just noticed that it's now $36).
    I tried them both and finally decided on WonderShare. Give them both a trial run and decide if you like either one enough to buy it. I don't know of any 'free' software that will allow you to download and convert YouTube videos, but perhaps someone else will come along and know of something...
    Good luck,
    Clinton

  • How can I convert an int to a string?

    Hi
    How can I convert an int to a string?
    /ad87geao

    Here is some the code:
    public class GUI
        extends Applet {
      public GUI() { 
        lastValue = 5;
        String temp = Integer.toString(lastValue);
        System.out.println(temp);
        showText(temp);
      private void showText(final String text) {
        SwingUtilities.invokeLater(new Runnable() {
          public void run() {
            tArea2.setText(text + "\n");
    }

  • How can I convert an InputStream to a FileInputStream ???

    How can I convert an InputStream to a FileInputStream ???

    Thanks for you reply, however, I am still stuck.
    I am trying to convert my application (which runs smoothly) to a signed applet. The following is the original (application) code:
    private void loadConfig() {
    String fileName = "resources/groupconfig";
    File name = new File(fileName);
    if(name.isFile()) {
    try {
         ObjectInputStream in = new ObjectInputStream(new FileInputStream(fileName));
         pAndGConfig = (PAGroupsConfig)in.readObject();
         in.close();
         return;
    } catch(ClassNotFoundException e) {
         System.err.println("++ERROR: "+e);
    } catch(IOException e) {
         System.err.println("++ERROR: "+e);
    System.out.println("Can't find file: " + fileName);
    Because all code and resources now reside in a Jar file (for the signed applet), I must use the following line to access the resources:
    InputStream is = this.getClass().getResourceAsStream(fileName);
    I then need to convert the 'InputStream' to 'ObjectInputStream' or 'FileInputStream' so that I can work with it.
    I would be very grateful if you could help shed some light on the matter - Cobram

  • How can I convert an OVM vm (.img) to VDI (virtualbox)?

    Hi,
    how can I convert an OVM vm (.img) to VDI (virtualbox)?
    Is .img format a raw image? If yes can I use "VBoxManage convertdd" to convert from .img to vdi?
    tnx & regards,
    S.

    Hi,
    "VBoxManage convertdd" solved.
    Regards,
    S.

  • How can I convert an AUDIO MPEG-4 to an MPEG3 format? I need it for a Powerpoint Presentation

    How can I convert an AUDIO  MPEG-4 to another type of file, such as MPEG3  or mp3

    Use Handbrake.
    You can download it for free from this site:
    http://www.macupdate.com/info.php/id/12987/handbrake
    Good luck

  • I want to remove the monitor from my 17" Macbook Pro 2008 to use as an external for my Macbook Pro 15" 2012. How can I convert lvds to Thunderbolt and power the monitor?

    I want to remove the monitor from my 17" Macbook Pro 2008 to use as an external for my Macbook Pro 15" 2012. How can I convert lvds to Thunderbolt and power the monitor?

    It's almost impossible.  The new iMacs have a Target Display Mode, but it's built to do that.  Without ripping your screen out, finding an acceptable power supply, frame, and whatever electronics to convert a Thunderbolt signal to the screen, the cost will be much larger than buying a cheaper HiDef monitor that runs with an HDMI to Thunderbolt cable to your MacBook 15.  In fact, you can sell your 17" MBP for a lot of money, unless it's broken or something, buying you a really sweet monitor.
    By the way, I found your answer by searching this forum.  I would suggest using the search function here in the futuere.

  • How can I convert an array off byte into an Object ?

    Hi folks...
    I�m developing an application that comunicates a PDA and a computer via Wi-Fi. I�m using a DataStream ( Input and Output ) to receive / send information from / to the computer. Most off the data received from him is in the byte[] type...
    How can I convert an array off byte ( byte[] ) into an Object using MIDP 2.0 / CLDC 1.1 ?
    I found on the web 2 functions that made this... but it uses a ObjectOutputStream and ObjectInputStream classes that is not provided by the J2ME plataform...
    How can I do this ?
    Waiting answers
    Rodrigo Kerkhoff

    There are no ObjectOutputStream and ObjectInputStream classes in CLDC. You must know what you are writing to and reading from the DataStream. You should write the primitives like int, String to the DataOutputstream at one end and read those in exactly the same sequence at the outher end using readInt(), readUTF() methods.

  • How can I convert a class file to Exe file

    hai
    How can I convert a class file to Exe file

    Please search the forums before asking questions - this has been answered hundreds (really!) of times.

Maybe you are looking for

  • Best Buy Smash Preorder Bad Experience

    I sent the following email to Best Buy regarding my bad experience when I went to pickup my Super Smash preorder. After hours of being on hold and being transferred to countless different people, the final explanation I was given is that Best Buy can

  • Error #0: An asset failed to load [url] on connection interruption

    Hello, I have scoured the internet and find it shocking that no ones has brought this up. Sometimes, when you close your browser or migrate away from a flash swf that loading assets, this error is thrown. I track these errors in my swf application an

  • Chart category labels

    I made a bar chart and the labels are longer. I would like to have them be diagonal instead of horizontal, which is the auto setting. Numbers seems to make every other one disappear, because otherwise they would write over each other. If they are at

  • Changing Company Login ID

    Is there any way to change a company login id? I thought it was possible, but seems that the field cannot be changed. Any ideas how this can be done? Cheers

  • Sending in Micro For Rep

    Well I am sending in my Micro for the headphone jack repair tomorrow. My unit is 4 months old. Creative says they may need to contact me if my unit is out of the warranty period to charge me to fix it. Can't wait to see how much that will be. This un