Major Problems with _self in AS3

Okay, so I'm pretty much a self-taught Flash newb, so please bear with me if this question has an obvious answer.  I've searched different fixes, and none of them have worked.
I am making a simple button in Flash CS4 with AS3.  The button has a hover effect and that's it.  I am wanting the button to link to a different webpage when clicked on in the same window.  I am using this code:
Button.addEventListener(MouseEvent.CLICK, onMouseClick);
function onMouseClick(e:MouseEvent):void
    var request:URLRequest = new URLRequest("http://www.mysite.com);
    navigateToURL(request, "_self");
When I test the movie in Flash, it works fine.  It takes me to the webpage.  However, when embedded online, it does nothing.  I can click on it, and I will remain there on the same page.  Like it's just a pretty image with a hover effect and no link.  I've tested the button in both IE and Firefox, and it does not work in either.
Now here's the funny thing....when I use _blank instead of _self, it works just fine in both Firefox and Explorer.  Any ideas of what I am doing wrong?
Thank you.

why you are adding the event listener to Button it is one of the cless names flash provides.
Make sure
You have the code where you have your button.
you have named your button instance properly.
and you attach your event listener to the instance with the same name.

Similar Messages

  • I am experiencing some major problems with my MacBook Pro. I have had some issues with it turning on/off at random times, but today, when starting, I get the grey start-up screen and a recovery bar. After filling in approx 1/4 of the way, the machine dies

    I am experiencing some major problems with my MacBook Pro. I have had some issues with it turning on/off at random times, but today, when starting, I get the grey start-up screen and a recovery bar. After filling in approx 1/4 of the way, the machine dies. After starting it in recovery mode, it will not allow me to download OS X Mavericks- it says the disk is locked. Any ideas? I do not have a back-up and do not want to erase everything before I have explored my options. Help?

    try forcing internet recover, hold 3 keys - command, option, r - you should see a spinning globe
    most people will tell you to do both pram and smc resets (google) and if you still have issues, either clean install (easy) or troubleshoot (hard)

  • 10.9.3 = major problem with fast user switching

    I've found a major problem with the 10.9.3 update with my 27" iMac, you probably won't see it if your on a laptop. I did all the updates in past few days i.e., 10.9.3 combo update, iTunes 11.2.1.
    Afterward I noticed a bug when Fast User Switching i.e. FUS. I have 5 accounts but the bug can be replicated with only 2.
    I login to userA  have some windows open but you can just open a Finder window. Now make the window at least half the with of the screen and move it to the right side of the screen. Then login in to userB and setup the windows the same way as userA. Now FUS to userA and then back to userB. You will notice that the Finder window has been moved to the upper left corner of the screen. This problem happened's to all user accounts you login to except the first account you logged into.
    Since I didn't know what update caused the problem I had to use Time Machine to revert to my last version of 10.9.2. I then double checked the for the bug and sure enough everything was working fine. I now was going to install one update at a time and to see which one was causing the bug. So I installed 10.9.3 first and found the bug immediately.
    I now know what's happening. When the switch occurs the screen is resized to about the equivalent of a 13" MBP. At this point the windows that fall some ware outside that size get moved to the upper left corner and resized. Then the screen resizes to normal but it's too late, all the window have moved and been resized to fit the 13" screen size.
    You can reproduce this effect by going to System Preferences and selecting Display and then select the Scaled radio button. No select the smallest size, say, 1280 x 720. Now select the Best for display radio button again. You will now see all the windows you have open that were too big no moved and resized to the upper left corner. I know why the Mac moves the windows, it's so you don't have any windows stuck off screen.
    Now when I say 13" it could be some other size but it's about that size give or take.

    Yes, it's when you user Fast User Switching.
    Here's snapshot before the screen resized. Ignore the window in the lower right, I moved it from the upper left before taking the screen shot.
    I hate to say it but I'm glad I'm not the only one with this bug.

  • I am having major problems with my trackpad on my macbook pro.  I can no longer press down on the bottom left and right corners for it to click and follow my command.  Please can anyone help?

    I am having major problems with my track pad on my macbook pro.  Even though my settings haven't changed...my trackpad is no longer responding as it did before.  The left hand corner no longer clicks when I press it and my personal commands which I set up in preferences no longer seem to be workin.  Please help!

    Some websites have an internal mute or volume setting. If that's not the issue, see below.
    From the Safari menu bar, select
              Safari ▹ Preferences... ▹ Privacy ▹ Remove All Website Data...
    and confirm. Close the window. Then select
               ▹ System Preferences… ▹ Flash Player ▹ Advanced ▹ Delete All...
    In the sheet that opens, check the box marked
              Delete All Site Data and Settings
    then click Delete Data. Close the preference pane.

  • Major problems with Premiere CS4

    Hello there!
    I'm having major problems with CS4. I recently bought a new computer - essentials are as follows:
    Intel Core i7 920 2.66GHz
    2 x Kingston 3x2GB, DDR3 1333MHz (=12 GB RAM)
    Ati Radeon HD 5770 v2
    Asus P6T SE, LGA1366, X58, DDR3, ATX
    2 x 500GB, Barracuda 7200.12 (RAID1), system disk
    2 x 1TB Barracuda 7200.12, media disks
    Windows 7 Pro 64 bit
    Adobe CS4 Production Premium + latest updates
    The problem I have has mostly to do with Premiere although I think the rest of Production Premium softwares should be running better on this computer as well.
    For starters, I was highly disappointed when I couldn't view a single HD clip from the Premiere timeline (it was an .m2ts rip from a previously self-burned Bluray disc) at all. Rendering is very slow and even after that the video doesn't run normally, showing just a few individual frames per second. When I point the timeline at a certain spot, it takes many seconds until even that very frame is shown in the monitor window.
    And this is not all - I decided to try with a basic DV AVI clip, previously captured with my PPro 1.5 on my earlier computer (3.2ghz Pentium from 2005). It's a native file so it doesn't even need rendering and still the same problem occurs. With normal playback only about 6-10 frames are shown per second. It's absolutely ridiculous - even my 2004 laptop runs DV AVIs more smoothly with PPro 1.5.
    While I'm running the Premiere, the level of used RAM comes only up to around 24 percents. The processor, then again, comes close to a hundred when play is pressed on the timeline.
    I haven't had such immense problems with other Production Premium softwares (though as I said, I think they should be running faster as well). Otherwise the computer is running smoothly.
    A friend of mine pointed out that the graphics card I'm using isn't on the Adobe website's list of supported ones with Premiere, but afaik it shouldn't even be a graphics card problem with this high-end machinery.
    So - I sure could use some help and ideas about how to get the Premiere working. My main intention for buying a new computer and Adobe CS4 Production Premium was to start HD editing after all! Thanks beforehand!

    Hi
    Yeah, I hope he solves problem and knows how it got solved and tells us all...it's like being a detective !  " Mr Plum did it in the "svchost" room ! "
    I got a little lost on this....
    You are welcome and I'm glad that it paid off so nicely for you. One more  suggestion, if I may: I'm a big fan of a fixed pagefile size. When making a  fresh install of Windows, one of my first actions is to set a fixed pagefile on  a different disk (min=max) before installing anything else on that different  disk and removing the pagefile on the C drive. This will ensure that the  pagefile in on the fastest part of the drive and will never be  fragmented.
    I think it used to be that I made swapfiles, or swapdisks which now seems to be called pagefile.  That in itself is a little confusing semantic wise, because of the use of mempage stuff.  It used to be that base memory was 640k, with the upper memory (to make up 1024 kb) was mostly for drivers and stuff.  If more memory was needed than 640k (an event the inventor never thought possible...  "who could want more than the enormous amount of 640K ?", he said..)..the extended and expanded memory got invented to swap memory pages from that 640k as needed with the rest of RAM.  That's basically correct right ?  Sooooo, I don't know if that still goes on, but I suspect it does, unless someone totally changes the architecture of the computer and cpu and fsb and everything...  but I don't know what is going on nowadays.  Anyway, there were other ways besides windows OS to create virtual memory on the hard drive, and Photoshop was one of the programs that could do that, I think.
    Why MS would want to call the swapdisk virtual memory "pagefile" is beyond me.
    Anyway, be that as it may, I understand that making the pagefile first on a drive so it's close to the center of the drive (heads don't have to travel far to access).  But I haven't added a lot of drives to a system before, and I suspect I will be pretty soon...and this is the part I don't get...
    You add drives and put OS on them?  So they are bootable ?  I've added a drive or two but just formatted and used as more storage but didn't put OS on them.  So that part is confusing...
    Then you take the pagefile off the C: drive ?  Are you then using the new drive as your boot drive and the C: drive is too full to use accept to run the programs already installed ?
    Thanks again !
    Rod

  • Major problems with CS5

    We just moved to CS5 and are having major problems with crashing and losing text. I haven't seen these kind of issues since beginning the Indesign/Incopy workflow way back in CS2. I've got dozens of users (Indesign and Incopy) slamming me with complaints of crashing. Indesign crashes when exporting to Incopy (usually when exporting a layer), Incopy users are complaining of crashing when peforming copy/paste either from Word or from within Incopy. Also have had incidents where the text in the Incopy story just disappears or the stories corrupt and will not open in the layout or as a standalone file. Trying to open one will crash the application.
    Other departments in our organization who do not use Incopy are not experiencing crashing issues with Indesign CS5, so I have to believe the problem is Incopy.

    Try moving everything to a local harddrive and working on a file there. If you don't get the crashing then you can start checking the network. And please, one thread is enough.
    Bob

  • I bought an iphone 5 in the United States. It has major problems with the video. In Italy not fix it. What am I to do?? back in the United States

    I bought an iphone 5 in the United States. It has major problems with the video. In Italy not fix it. What am I to do?? back in the United States

    The iPhone warranty is not international. If you bought it in the US you can only get service in the US. You will need to take it in to an Apple store in the US.

  • Strange major problem with 975X PowerUp Intel MOBO

    I’m suddenly having a strange major problem with a MSI 975X Platinum PowerUP Edition V2.1 MS-7246 Intel socket 775 motherboard. Previously, it had given me no problems at all.
    It went like this:
    Powered on system in the morning, booting from a cold start.
    Hit DEL key to get into the BIOS.
    Missed the window and the system booted into Windows normally.
    Re-started the system from within Windows.
    Hit DEL key to get into the BIOS and was successful the second time.
    Hit the ENTER key on the first item “Standard CMOS Features”.
    The DATE, TIME and other information was displayed on the next screen, but at this point, the BIOS screen became completely unresponsive to any keyboard input.
    The only thing I could do at that point was to power off.
    Subsequent power on boot-ups resulted in the system always freezing at the BIOS splash screen after the video card sign-on.
    I have switched power supplies, hard drives, keyboards and video cards. I have disconnected everything except the video card, keyboard and one RAM module. I have switched the four RAM modules around and then reduced the RAM to one 256MB module in the proper slot. I even changed the battery on the MOBO, in case it had shorted out and removed and re-seated the BIOS chip. It still halts at the BIOS splash screen.
    The BIOS chip can’t be completely dead, because I powered off and pushed the BIOS reset button on the MOBO to reset the BIOS to the factory defaults. When I re-booted, I could tell that it had actually reset to the factory defaults because I had previously set the BIOS to reboot the system on resumption of power and the factory default was to remain off until the power button was pushed, which was now the default.
    I’m stumped! All I can think of is to get a new pre-programmed BIOS chip and see if that makes any difference, but I’m not sure this system is even worth the expense with no guarantee of success. Any suggestions on how I might get past the BIOS splash screen or do I for sure have a corrupt BIOS chip?

    System specs as per the posting guidelines -
    Board: MSI 975X Platinum PowerUP Edition V2.1 MS-7246 Intel socket 775
    Bios: Version (can’t recall & can’t check since it won’t go past the BIOS splash screen)
    VGA: ASUS EN7600GS nVidia GeForce 7600GS PCI-e 256MB DDR2 (also tried new XFX nVidia
             Geforce 210 PCI-e 2.0 512MB DDR3)
    PSU: Chiefmax 680W ATX (also tried new OCZ 700W ATX)
    CPU: Intel 2.8GHz LGA-775 Core2 Duo Dual-Core Processor
    MEM: 4 x Samsung 512MB 1Rx8 PC2-5300U (2GB total)
    HDD: Seagate Barracuda 250GB SATA2 (also tried Seagate Barracuda 500GB SATA2)
    COOLER: Intel OEM LGA 775 fan/heatsink C25897-001
    OC: No
    OS: Vista Home Premium 32-bit
    I have been through the BIOS reset procedure several times and pretty much as outlined. As I said before, I could tell that it had taken a reset to the factory defaults, because the power on option had changed.

  • I had a major problem with my PC yesterday, and subsequently lost Mozilla Foxfire. When I reloaded it onto my PC it opened up with "Welcome to AOL - Mozilla Foxfire". I don't want AOL attached or tagged to Foxfire. How I do prevent that? And hopefully I h

    I had a major problem with my PC yesterday, and subsequently had to reload Mozilla Foxfire. When reloaded, it opened with "Welcome to AOL - Mozilla Foxfire". I don't want AOL associated or tagged with Foxfire. I went in to "Programs and Files" and deleted everything with AOL, including Quicktime. Tried loading Foxfire again, but it still opened with AOL tagged. I do use AOL for emails and some browsing, but I want to use Foxfire soley for browsing and search engine. And yes, I did also reload AOL. Can't seem to figure out why AOL is tagging onto Foxfire. Hopefully I have not lost all of my Foxfire Bookmarks - that would really suck.
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 1.1.4322; InfoPath.2; .NET CLR 3.5.30729; .NET CLR 3.0.30729)

    Hello Larry.
    Hopefully this support article is what you need:
    http://support.mozilla.com/en-US/kb/How+to+set+the+home+page

  • Anyone else having major problems with Safari 5.1 on Snow Leopard?

    is anyone else having major problems with Safari 5.1 on Snow Leopard?
    - address bar and search box are not resizing with browser window. the address bar and seach box set their size to the window when Safari is launched and remain that size.
    - anytime i try to customize toolbar items disappear and i have to restart Safari to get them to appear.
    - some 3rd party icons just remove themselves from the toolbar after a period of time
    - when i drag a page from the tab bar to create it's own browser window the window disappears but is listed in the windows menu bar. when i select that window from the menu bar the window appears but i can't click on anything.
    I've repaired permissions numerous times, reinstalled safari numerous times and restarted my machine numerous times and the issues all remain. i've never had any issues with Safari until now and 5.1 is looking like a huge mess.
    besides the bugs above, has anyone had any luck with 1password working with Safari 5.1?

    ok, i narrowed most of my issues down to Web Snapper and Videobox by TastyApps. Removed both of those and now everything works better.
    I went out to lunch and came back an hour later and magically ALL of my previous toolbar icons that were added to my previous version of Safari appeared. Very strange.
    as for 1password, it wasn't working at all before when i posted. everytime i tried installing the extension via the app my, Safari would open a window and hang (never load). I just tried it again and it seems to now be working.

  • I have a major problems with adobe air.

    i have a major problems with adobe air. day before yeasterday it work. now it tell me that it is musconfigure. so i have tried a download it again. but still not working.

    You really need to explain what you are doing, and what your "major problems" are.  We do not even know if you mean the AIR runtime, or AIR SDK?  Nor your operating system.

  • I am having major problems with Firefox. About 3 weeks ago I started experiencing the display only when on Firefox for all web site, that the display would be shifted right about half a screen. It only happens on Firefox and happens for all web sites.

    I am having major problems with Firefox. About 3 weeks ago I started experiencing the display only when on Firefox for all web site, that the display would be shifted right about half a screen. It only happens on Firefox and happens for all web sites.

    This issue can be caused by the Babylon Toolbar 1.1.8 extension
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • How can I resolve the major problems with Lightroom 5 on iMac 5k?

    There are many many bugs that have come up in Lightroom 5 on my new iMac 5k (OSX10.10.1 Yosemite) that are seriously challenging my productivity!
    A short list of the problems include: Huge slow-downs when navigating in the develop module, very slow and sometimes unresponsive crop tool, improper slider scaling when develop panel in resized (because it is far too narrow on retina screen), poor auto selection of spot removal tool, slow local adjustment brush tool, and overall slow load times of 1:1 previews. My 2011 iMac beats the maxed out 2014 5k iMac in almost every part of the develop module except for initial loading and export times. What the heck is going on?!
    These are just some of the problems with LR, there are many more issues with premiere pro and after effects...

    Well, many of my issues evaporated when i re-installed the most recent update 5.7.1 (by download rather than cc desktop updater). Cropping is finally fast, sliders are ok for scale as long as you don't change panel size while the application in running (if you do you must close and reopen LR for slider scaling to match panel scaling). There are still some issue that I will be reporting on, but will make do for now.
    This was a major retina 5k iMac compatibility update, even though its not really mentioned in the list of fixes

  • Major problems with my ipod...

    It's quite irritating, and I'd like to start right from the beginning with it's history. if you're uninterested in the history of problems I've had with it just scroll down.
    Anyways, I've had my ipod touch since christmas 2008, and in the beginning (maybe the first 1 or 2 syncs) everything was fine. On the third sync i started having problems, and had constantly had to try to get past them where one day i was finally able to completely sync it. After that 3rd sync I never bothered syncing it again on itunes.
    Now i got a new laptop, a Dell Inspiron 1525 which uses Vista Home Premium. Since I got my new laptop I wanted to get it connected to itunes from it, rather than the desktop because I was giving the desktop to my dad for him to use as a server (or something, I'm not quite sure). The first time I plugged in my ipod touch, it caused itunes to freeze, making me unplug it and restart my computer.
    (My problem:)
    Today, I tried syncing it because I was told by my friend a new update to the software was available via itunes which was meant to fix the recent problems with it. I decided to install it, everything was going great. When the software installed into my ipod touch, I tried to sync it, but alas it still did not work. In the end I tried restoring my ipod, and here's where the major problem happened. It started to restore and near the end it told me my device timed out. I unplug and replug my ipod to get the same message.
    After 1-2 times, I closed and re-opened itunes in which I tried plugging my ipod touch in again. It gave me an error message (unfortunately I don't remember it), so I decided to restore it one last time. This caused my ipod to now "not be recognized by itunes" as it malfunctioned. I know people have been posting about this problem, but it's not the only problem my ipod has now. Now my iPod touch won't even turn on. i've done EVERYTHING, I held the power and hold button, I held the power and hold button for 10 seconds and held the hold button for another 20seconds (like someone had suggested) and it did not work, and nothings working.
    I plan on returning it in exhange for a new one, but i really don't want this to happen again, which i'm afraid it might.
    So I have two questions:
    1) Why did my iPod do this, and why won't it turn on no matter what the typical drastic responses tell me to do?
    2) What can i do so that my ipod will properly sync on my Window's Vista?

    Is your laptop going to sleep in the process of restoring the Touch? To be safe, you might want to temporarily disable "Hibernation" on your laptop while you sync, and make sure that you have external power applied.

  • Major problem with Photoshop unexpected end of file...

    Every time I save a file in Photoshop, I have to save it twice per format (psd, jpg, etc...).  That's because if I've ever saved the file before, I get an unexpected end of file error and the file disappears until I do a save as.  I downloaded the latest update today and it claimed to have fixed major errors with Photoshop.  I wonder what major errors exactly were fixed; and why not this one?  As far as errors go, it's pretty effing major.  It adds significant time to all of my projects and frankly, if I'm spending exorbitant amounts of money for "industry-leading" software, I expect to be able to save my work painlessly.  Oh well, I guess it'll only be another couple months before I have to shell out another $1200 bucks for the CS6 right?  Maybe then I'll be able to actually save my work.
    p.s. CS2/3/4 did not have this issue - sweet upgrade Adobe, thanks.

    Again, this is not a known issue.   You are the first person to bring this up without a bad disk drive, and it is probably due to something on your file server.
    Yes, other people get the same error message - because they are dealing with corrupt files for one reason or another.  You are getting the message because the files are corrupt, probably because of an issue with your file server.
    Photoshop CS4 and earlier used the Carbon framework on MacOS.  Photoshop CS5 is written to the Cocoa framework/APIs and uses different OS code paths for many things.  We have seen many cases where the Cocoa APIs had problems that the Carbon APIs did not.  Unfortunately, if we cannot work around those API issues, then they are up to Apple to fix.
    But in this case, I doubt it is an OS API bug as such.  I suspect it is a change in the way the OS APIs interact with the file server.
    And cases like this are high up on the list of why we say NOT to open or save from a file server -- you can get a lot of odd, difficult to diagnose errors because of problems on the server or network.  Those problems have nothing to do with the application, but may appear to because of the complexity of file servers and networking.
    Some Photoshop users do open and save off a file server all the time - without problems.  When we test with file servers here inside Adobe, we rarely have problems (and the rare problem was due to a bad disk on the server).  But we can't guarantee that everyone's network and everyone's file server is going to work perfectly - and evidence suggests that many of them don't work perfectly.
    In short: you probably have a bad file server.  It is highly unlikely that this is a bug in Photoshop.

Maybe you are looking for

  • Custom fields on confirm goods/services centrally

    Hi Gurus, I am working in classic scenario of SRM 5.0. I have a requirement for which I need to add 2 custom fields on extended search screen of confirm goods/services centrally; I have tried implementing the note 672960 which did not helped me. Can

  • Problem with return table(adding extra record)

    Hi,gurus,   I am facing a probelm with return table, i.e it is adding body record and workarea record also to the data target. so, it is adding the actual record to data target including the workarea record to with the key figure and year values as z

  • How to uninstall CS2?

    Is there an uninstall application for CS2 like CS3 or is it a manual uninstall. I just can't find anything about CS2 on Adobe.

  • Not saving import conversion

    I have been trying to import a 1.5GB .mp4 into iMovie.  The import takes about 7 hours and then just disappears.  Any ideas why this happens? Thanks

  • Stopping automatic device application updates

    I am running BlackBerry desktop manager version 4.7 and whenever I go to synchronise I get an automated routine of checking for device application updates, which takes 10 seconds or so. Its irritating in that it shows me device application updates th