Some strange problem with Flash/As3

Hi,
I am having some strange problem with my flash cs3.
Whatever script I write in as3  doesn't work, even a stop() function doesn't work . But when I change my publish setting to as2 it works fine.
Not sure about the root cause, may be some setting or preference or my cs3 is corrupted.
Can anybody please advise.
Thanks,
Kishor

try this
create a new fla as3,
select frame 1
open the actions panel
paste in the following code
var squares:Array = new Array;
setup();
function setup():void {
    for (var i = 0; i < 25; i++) {
        var square:Sprite = new Sprite();
        //square.name = "square" + i;
        square.graphics.beginFill(Math.random() * 0xffffff);
        squares.push(square);
        squares[i].graphics.drawRect(0, 0, 100, 100);
        squares[i].x = i*3;
        squares[i].y = i*3;
        squares[i].filters = [];
        square.graphics.endFill();
        stage.addChild(squares[i]);
for (var j = 0; j < squares.length; j++) {
    squares[j].addEventListener(MouseEvent.MOUSE_DOWN, dragMovie);
    squares[j].addEventListener(MouseEvent.MOUSE_UP, dropMovie);
    squares[j].buttonMode = true;
function dragMovie(event:MouseEvent):void {
    event.target.startDrag();
function dropMovie(event:MouseEvent):void {
    event.target.stopDrag();

Similar Messages

  • Strange problem with Flash

    Ok so after spending the past week trawling through this forum I have yet to see anyone with a similar problem and al the ways to fix I've tried have been a lesson in fustration.
    So the problem is flash just isn't there on websites, on any browser. Where flash videos and such would be is a big blank space the same size as the player and this is the same for ALL video media off any site including youtube.
    When I run the installer it says completed and then nothing changes on any of the browsers, same for offline installer, and same after doing a full uninstall. Anyone got anymore ideas.
    Also did a system restore to back when it DID work, also didnt solve the problem, so I'm really at my wits end now?!
    This is running on a windows 7 32bit system.

    First thing to try is a clean install as described in http://forums.adobe.com/thread/928315
    Download the offline installer from http://helpx.adobe.com/flash-player/kb/installation-problems-flash-player-windows.html#Ins tall_in_a_firewall_proxy_server_environment
    What browser(s) do you use?
    What is your display adapter, device driver version & date?

  • Strange problem with flash player

    Every time I open a website with a flash (Youtube, flash games), Firefox crashes. I tried to reinstall Firefox and flash player, but it didn't solve this problem
    sorry for my english

    See:
    *http://kb.mozillazine.org/Firefox_crashes
    *https://support.mozilla.org/kb/Firefox+crashes

  • Strange problem with SSL Sockets using more than 10 Clients

    Hi
    I�m using Jsse ( JDK 1.4.2_06 ). I have coded a Client/Server Applikation acting over SSLSockets or over unsecured Sockets. If I use unsecured Sockets everthing works fine, but if I use SSLSockets for the Connection and about 20 Clients, the Clients often can�t connect to the Server and the following Exception was thrown:
    java.net.ConnectException: Connection refused: connect
    Could it be that there is some strange problem with SSLServerSockets relating to this phenomenon?
    If I use only a few Clients the Exception occurs never or only sometimes.
    Has anyboby an idea what is happaning there?
    Regards Chrisli

    Hi
    From the description of your scenario, you have coded your own server side of the application. I would advise that you consider moving your application to run under Tomcat framework and test if you still get the same exception.

  • Strange Problems with Messages

    I've been experiencing some strange problems with Messages.
    1) Sometimes my messages are displayed on screen. I type into the input box and hit enters. Then message disappears and does not show above in the chat box. I later find out that the message was delivered yet it doesn't show up in my chat.
    2) Sometimes I see duplicate Chat windows on the left rail for the same contact, this is usually in conjuction with error #1.
    3) Sometimes I can unable to dlete chat windows. I click the x and it does nothing. I right click and choose Close Chat and it does nothing
    4) When searching the left rail for open chats, the app gets really confused and show strange results, when deleting the search the chat window gets really odd order, nothing to do with sort or recent chats

    Nobody else is experiencing these problems?

  • Strange problems with iCal group calendar

    Hi,
    I got some strange problems with group calendar. They are evil so that we may decide to throw it away because under this cirumstances it's not usable for our company.
    1) If we add events running more than one week in webcalendar, we can see it in the actual week, but not in the following weeks.
    2) The webcalendar seems to be 2 hours in the future, we cannot find how to change time zone or whatever. We can see, that we added a new event at 4pm, in the list of recent changes we see that this event was added at 6pm.
    3) In the Wiki we can see the usernames in the list of recent changes, but in calendar there is only unknown. But there are no anonymous users, only named users within these group.
    Any idea?
    Thanks
    Rene

    If I hadn't been using iCal/Google Calendar for over 18 months, with reminders from both systems playing nicely over that period, I'd happily agree with you. The issue with Reminders only began (for me, at least) in February this year. I agree that there's potential for conflict, and maybe both sets of developers finally threw in the towel. This is a pity, because I like both systems, but I feel slightly irritated at being effectively told by Google or Apple that I have to choose sides.

  • Running into Problems with Flash Player with some sites and not others

    Hi All,
    I've run into problems with Flash Player 10,0,45,2. In IE 8, FF 3.6.3 and Google Chrome (which I downloaded as a last ditch measure), some websites (such as youtube) work fine. Other sites such as wimp.com I get an empty box. I've reinstalled flash, but haven't seen much else in these forums to try to figure out what the problem is.
    Any help would be greatly appreciated.

    Bump.         

  • Flash Player 10, strange problem with emdedded fonts and movieclips

    Hello, developers! I have a big problem with font embedding
    and I can not debug it myself. So I need you help.
    I' ve done a simple list of attached movieclips with
    textfields inside them, with embedded fonts. I have no problem with
    flash player 9 in order to see the list, but in flash player 10 I
    can't see it. The font is very common, Arial actually so you can
    test it very easily. I am using a font symbol in the library, a
    class and an xml file for my data.
    Also you can see it online in (if you have flash player 10
    you can't see a thing)
    http://www.forestonfire.com//research/flash/fontproblem/index.html
    I have compiled the file as an exe projector in order to see
    it as I do in flash player 9
    http://www.forestonfire.com//research/flash/fontproblem/fontinflash9.zip
    I have zipped also the source code in order to compile it
    yourself.
    http://www.forestonfire.com/research/flash/fontproblem/fontembedded.zip
    and the same example without embedded fonts (I have the same
    problem there so perchaps are not the fonts)
    http://www.forestonfire.com/research/flash/fontproblem/fontnotembed.zip
    Please, check it and tell me if there is a solution
    available. Thank you in advance.

    I've included also a much more simple example without the xml
    and the font symbol, only the class and a movieclip from the
    library, but I can't still see it on flash player 10
    http://www.forestonfire.com/research/flash/fontproblem/simplyfied.zip
    I have no clue about this problem.

  • Strange Problems With Display and Permissions Since 10.5.1 update.

    Since I've done the 10.5.1 update I have been having a strange problem with my desktop and dock displays. On my desktop I have these strange lines that appear any time I log in or open any application, the lines never go away and change locations on the screen once I open an application or move a window. My dock has the reflective shelf for about half of it, the rest is a dull grey. I've also had problems with verifying and repairing my permissions. I can never actually complete either permissions task. I've used some third party apps, they always fail as well. The only time I can actually repair my permissions is by booting in to single user mode and doing a fsck -f command. When I boot back in to Leopard and try to use the Disk Utility to repair, it continues to fail.
    I'm not sure if the video problem I am having stems from a permissions issue or possibly a corrupt video driver. Either way, I've done a lot research and haven't found anyone with the same problems I have been having so I thought I would give these forums a shot.
    I am using a PowerMac G4 Quicksilver with dual 800Mhz, 1.5gb RAM, and a GeForce4 Ti 4600 128mb video card.
    Here is a screen shot of the line and dock problem.
    Here is a screen shot of my "About This Mac.
    If anyone could lend some light on this issue, I would greatly appreciate it.
    Thanks
    Jeff

    you can pile it on this: http://discussions.apple.com/thread.jspa?threadID=1246649&tstart=0
    btw - no solution yet.

  • I have problem with Flash Player. Full screen doesn't work correctly. Turning off hardware acelleration helps but I want this option to work.

    Problem exist only on YouTube. When i want get full screen, I have black screen with audio. If I click few times full screen button it helps, but I want to go to full screen by one click.
    If i turn off hardware acceleration everything is ok but vids looks terrible.
    I have this problem with Flash Player 10. No 9 works good, but some websites wants no. 10

    Generaly FP works, but problem is that i must press few times full screen button. Now i have turn off hardware accelleration, but movies are quite bad.
    I have already installed newest graphic drivers but it didn't help.
    Everything was good unless Flash Player and Mozilla notificated that update is necessary :<

  • Problems with flash Player

    So I'm having a problem with flash player, and was wondering if anyone has experienced the same thing, or might be able to help.
    - Upgraded 2 computers to snow leopard, macbook pro laptop, and mac Pro tower (intel proc).
    - Laptop has no problems, everything renders fine, and without any difficulty.
    - Mac Pro doesn't display any dynamic data, text fields show up blank, some flash player controls don't work, brightcove player won't load completely... things are just not working right.
    - Main browser is Safari, but same problem exists in Camino, Firefox, etc...
    - I've had Safari Stand installed, but have since removed it.
    - I've removed GROWL notifications completely
    - I've got debug and developer menus turned on (but have that with the laptop also.)
    Please see the screenshot attached. This graph should have text data on it showing the x/y axis, the key, as well as data when you mouse over each block, but doesn't show anything.
    The second screen shot shows a brightcove player from our website... There should have full controls at the bottom, and nothing shows up. If I right-click, and go to 'view full screen', I can't then get out of full screen by clicking escape key on the keyboard, I have to use any player controls, or right-click again, and hit 'exit full screen'.
    Anyone have any suggestions? It's something to do with my computer, rather than snow leopard, because flash works fine on my laptop, but not on the desktop. Any help is really appreciated !

    Hi!
    I reached your post because I was having the exact same issues as you and I found a fix that worked for me! The problem is a font issue: I logged in with the guest account that had no users font installed and flash was working fine, so I logged back into my account and moved all the fonts in my 'User>Library>Fonts' folder in a folder in the desktop. Then I closed and reopened Safari and Flash was working!
    In the end the problem was with a version of Arial that I had in my users' font folder: I deleted just that, put my users' font back in the folder and the problem disappeared.
    I hope it hepls!
    best
    nicola

  • Problems with Flash Video

    OK - I have had intermittent problems with Flash video, basically it gets choppy, usually after about 20 minutes - half an hour of watching - recently this problem has gotten worse - coinciding with a recent system update perhaps? - it's more or less anytime I stream something, and it happens on all browsers, even when the movie has clearly downloaded and is buffered way in advance of the playhead.
    On 2 occasions recently leaving the movie to play just to see what happens has led to a kernel panic.
    I've heard alot about Flash video generally being a resource hog and not playing ball sometimes - is there a way to solve this issue? Things I have tried - reset sound to 16 bit 44.1 khz in audio/midi manager; fixed permissions; run Tech Tool - everything seems to be fine hardware wise - I think there are some incompatible driver issues that are meesing up RAM usage but have no idea what or how to solve this... Any ideas anybody?
    Thanks.

    If, as you show, you are running 10.5.2, that is out of date. You need to install the 10.5.8 combo updater.
    It is also possible that your FlashPlayer is out of date.
    The latest version of Adobe FlashPlayer can be obtained from here:
    http://www.adobe.com/shockwave/download/download.cgi?P1ProdVersion=ShockwaveFlash
    (You can check here: http://www.adobe.com/products/flash/about/ to see which version you should install for your Mac and OS.
    You should first uninstall any previous version of Flash Player, using the uninstaller from here (make sure you use the correct one!):
    http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_14157
    and also that you follow the instructions closely, such as closing ALL applications first before installing. You must also carry out a permission repair after installing anything from Adobe.

  • Strange problem with my ipod 2g after upgrade to os 4.2

    Strange problem with my ipod 2g after upgrade to os 4.2
    the problem with volume some times when i switch on the ipod i hear the sound
    alarm rings it's work too i can hear it .. but the problem i cant hear anything else as yourtube or music i cant hear buttons sound when i typing
    i hope i get help

    I would try in order:
    - Reset the iPod:
    Reset iPod touch:  Press and hold the On/Off Sleep/Wake button and the Home
    button at the same time for at least ten seconds, until the Apple logo appears.
    - Restore the iPod from backu via iTunes.
    - Restore the iPod to factory defaults/new iPod.

  • Strange Problem with ARD 2.2 *Please Help*

    Strange Problem with ARD 2.2 (2 problems)
    We have a classroom lab with 14 G5 PPC's running 10.4.11 with ARD 2.2 clients installed.
    We controlled all the G5's from a PPC Mac Mini running 10.4.11 with ARD 2.2, this was our Admin machine in our server room.
    We then added a teachers machine in the lab, an iMac PPC running 10.4.11 and ARD 2.2 also with admin status.
    Everything was working fine!
    We then upgraded the iMac PPC to an iMac Intel with 10.4.11. We installed ARD 2.2 admin and did the intel intergration.
    Everything worked fine.
    The iMac PPC was moved to another location, ARD was removed following instructions on the Apple website telling us to delete the application then run some terminal commands to remove pref's.
    Then our Intel iMac screen broke, we had the "lines" problem so bad only half the screen was visible. Long story short Apple wanted to charge us almost half the cost of the machine (no Applecare as it was a donated machine) to repair the screen!
    So we moved the PPC iMac back into the lab, re-install ARD 2.2.
    Now here is the problem, I can control, observe and run almost any command but cannot share with any computer!
    2nd,the Mac Mini Tech computer is running fine but cannot control or observe the PPC iMac teacher machine (we were able to do this before) I can even share the Mac Mini with the iMac but cannot observe or control!!
    Any ideas?

    "With ARD you have to enable option to control a Mac which has ARD running on it as opposed to remotely controlling normal client Mac."
    I'm not sure I understand, do you mean in System Pref's under sharing? Or is there somewhere else I need to enable to control?
    Seems like a hassle to reinstall the entire OS just to fix this problem, I am able to do everything else, except observe from one admin to another, and control from 1 admin to clients.
    thanks

  • Good evening I would please help me, IGood evening I would please help me, I have problems with flash player when update on my computer Flash Player for windows 8, gives me error in the installation that is not apply on my computer. Please help. Thank You

    Good evening I would please help me, IGood evening I would please help me, I have problems with flash player when update on my computer Flash Player for windows 8, gives me error in the installation that is not apply on my computer. Please help. Thank You

    First, confirm that ActiveX Filtering is configured to allow Flash content:
    https://forums.adobe.com/thread/867968
    Internet Explorer 11 introduces a number of changes both to how the browser identifies itself to remote web servers, and to how it processes JavaScript intended to target behaviors specific to Internet Explorer. Unfortunately, this means that content on some sites will be broken until the content provider changes their site to conform to the new development approach required by modern versions of IE.
    You can try to work around these issues by using Compatibility View:
    http://windows.microsoft.com/en-us/internet-explorer/use-compatibility-view#ie=ie-11
    If that is too inconvenient, using Google Chrome may be a preferable alternative.

Maybe you are looking for

  • Regarding A/P down payment

    Hi SAP B1 Gurus, I have an issue, when i am doing A/P downpayment Invoice with respect to Purchase Order , which consist of Excise Items and i am payment 50 % advance to Vendor which should not include Taxes. Is there any way to avoid taxes in A/P Do

  • How can i watch you tube videos and video stream on my mac mini

    how can i watch you tube videos and video stream on my mac mini

  • Counter going haywire

    Hello all, When one thing starts to work something from somewhere pops up and messes things. That is the same thing happening with me, however, I will not give up specially coming this far. Anyhow, the current senario I have created a report which us

  • Calendars constantly "moving to server account"

    Every time i open Calendar (formerly iCal) on my MacBook Pro, it doesn't load fully.  There's a status/progress bar with "Moving calendars to server account..."  I can leave my computer on and awake for hours, and nothing changes.  No advance on a pr

  • Start Menu Program Group/Folder Evaported

    OK, so I really tried to find hints in the forums & knowledge base, but I guess my search-fu just isn't up to it; thus apologies if this is boring: I'm running CS5 Design Premium on Windows 7 Home Premium x64; all are patched & up to date. I just not