Professional :: Flash CS5 Crash When Placing Bitmap On Stage?
Jul 12, 2011
I have a really really annoying problem with Flash CS5 (11.0.2.489) on winXP.Everytime I place a bitmap (jpg, png..) on stage, Flash crashes.It occurs with existing fla, as well as with new documents, but only as3!(with as2 new documents, it seems ok!)I tried deleting preferences (reg key and AppData folder), nothing changes. Rebooting does nothing.
I am attempting to adapt a face detection application for a project I am working on. It works great, and displays a sprite of a vector square where it detects a face. The problem I am having is that I would like to place a bitmap image (from a source file) instead of a vector square. Here is the snippet containing the drawing of the vector:
Actionscript Code: /*** Creates a rectangle*/ private function _createRect() : Sprite { var rectContainer : Sprite = new Sprite(); rectContainer.graphics.lineStyle( 20 , __rectColor , 1 ); rectContainer.graphics.beginFill(0x000000,0); rectContainer.graphics.drawRect(0, 0, 100, 100); return rectContainer; } I'm pretty sure that this is the only part that needs altering in order to swap the square with a bitmap though.
I am trying to paste a bitmap (any bitmap) onto the stage. I just get the box outline on the stage. I have imported several basic bitmaps into the library. I tried dragging and copying and pasting but I always just get the outline. I don't know if it means it can't be pasted or there is a setting to display it. If I copy the same bitmap and paste into word for instance I do see the image.
Today one of our artists started experiencing a crash in Flash CS4 Professional when scrolling the workspace around in one of his .fla files. All he has to do is hold down the spacebar and scroll around with the mouse; or use the scrollbars to scroll around. It has crashed about 10 times in the last hour, and we copied the file over to another machine and saw the crash there as well. We've only seen it occur with one particular file.
The machines are both Intel Core i7 machines with 8GB of RAM and two different video cards, one running Windows 7 and the other running Vista; and the crashes cause the Adobe "let me report this crash to the mothership" dialog box, so I don't think it's video card driver related; I think it's just a bug in Flash Professional. We're running version 10.0.2 with no updates available to Flash Professional when choosing "Updates..." from menu.
opening included templates in Flash CS5 and then telling the program to test the movie within the environment shows Flash trying to export an SWF file and then crashes. the program will alllow the movie to be played inside the environment, however.
debugging yields the same crash:
Problem signature: Problem Event Name: APPCRASH Application Name: Flash.exe Application Version: 11.0.0.485 Application Timestamp: 4badda9d
[code]....
DW opens and using one of its templates, no problems so far.Read about <supposedly> certain .Wacom tablet drivers and flash...don't have any such device installed, but stopped the generic windows tablet service....no change in the problem.
I recently installed the CS5 Master Collection on my MacPro for work. I need to use Flash CS5 in order to work on some projects in the office, however I'm encountering several issues that make it near impossible for me to use the software. First of all, when I start the program and select "New..." and select any type of new file, I'm greeted by nearly every button being greyed out, to where I cannot select them. I've found out that I can make these buttons usable by changing my workspace in Flash.
The issue that's causing me trouble is that whenever I select any sort of "Drawing" tool, Flash CS5 crashes immediately. Whenever I click on the line, pen, circle, rectangle, pencil, or brush tools, CS5 freezes briefly (about 2-3 seconds) and then immediately closes. I can still use tools such as the Pan tool, zoom, text, and selection tool. Also, whenever I select the Spray Can tool, I get the following error: Unable to load the script. The file <filepath>/ProScripts/sprayBrush.jsx does not exist.
I have already tried updating my system, updating every Adobe product on this machine, reinstalling, and even using a seperate installation CD, but everything thus far has yielded the same results. Info on my system: MacPro running OS X V. 10.6 2 x 2.26 GHx quad-core proocessors 12 GB DDR3
Flash CS4 frequently crashes after trying to test my movie. I have a MacBook Pro OS 10.5.8. I have updated Flash CS4 as well. Here are the problem details in the crash report.
I've logged this bug but wanted to post it to the boards in case anyone else is having this same problem. It's been going on since I purchased Flash CS3 pro and has been really crippling my development workflow because I can only get the debugger to work maybe 1 in 4 times.
I had been using Flash CS5 as a trial for the past 6 days without issues. Yesterday, I made a change to a file, and went to preview it, as I had several times before. This time, when I slected preview movie, Flash crashed umexpectedly. When I launched it again, it came up looking very corrupted - window as messed up, and any an all attempts to load any of the workspaces resulted in Flash crashes. I had to completely uninstall it including all prefs to get it to work again. I am hesitant to try a preview movie again.
I was working on a large website in Flash CS 5.5 on my hard drive Mac Pro V10.6.8, 6GB of memory. 176.78 GB of space left on the drive. I had set up the project in the Flash projects panel. I was opening files with"File open" and working on them. I have my fla files in a src folder and my classes in a com folder. This was the setup of my com folder. I was working in Flash and it crashed, when it started up again. It didn't offer me a temp file and all the files in the com folder have been deleted except for the greensock folder. But even the greensock folder was missing files. I went to the recent files when I click a file name I got this error.
I have searched my hard drive by name for the files and can't find them. They are not in the Trash. I have talked to three different Adobe tech support people in India they all tell me the files can't be recovered and they don't know why it has happened and don't even seem to care that their program has deleted hours of work. I am waiting on yet another tech support person to call me back. Does anyone know why this has happened? I have been working in Flash for 11 years and never had it delete 186 files when it has crashed.
I can't select anything in a tool windows. With one fla opened, i select "ESSENTIAL" in workspace, the interface, turn on, but when i select a draw tool orchange any preference on Flash CS5 Trial on Snow Leopard, the flash allways crash and close without message. The image show the tools "closed" and the erro in Apple System.
I'm using a new Mac Pro with Snow Leopard. We have Adobe MC CS5.I'm experiencing serious problems with Flash CS5. The program locks up at "Initializing Tools" for several minutes at start up. Once the program opens it will crash if I try to create a blank document. Other Adobe programs work fine.Flash CS4 worked fine on this computer.Anyone have any ideas on how to fix this? I've tried uninstalling and deleting all adobe documents from the configuration folders. It just seems like this machine is cursed or something.
Has any one experienced a crash when using "test movie" in Flash CS4 on Windows 7?For me, it started when I began working on an Actionscript 2.0 project. It happens every time I test a movie, then minimize the window.I have tried re-installing Flash, but the problem still remains. The weird thing is, it waits until I minimize the window. No other time.
Test movie --> Close it --> Minimize Flash --> Wait a second or two --> Crash
Flash Player 10.2.153.1and Flash Player 10.2.159.1 are crashing my standalone application. Later with version 10.1 the application run ok, never crashes but was taking more than 90% CPU. The new Flash Player solve the problem of resources, and drop down CPU to 30%, but the application crashes always after a while, unespectly, or if I open the window of other application.
In the other hand when I disable the harware acceleration at the swf settings, the application goes crazy and start to make rapid flashes, and frame rate goes down to 8. [URL]. Right click on the Flash logo, Settings,then UNcheck the hardware acceleration in Display Settings.)
I'm on a Mac Mini Core 2 Duo with Mac OS X 10.6.7 (the last Snow Leopard these days). The graphical card is Nvidia GeForce 9400M.
I did test the application at a Mac Book Pro core i5, Mac OS X 10.6.7, graphica card Nvidia GeForce GT 330M and the application is more stable but finally crashes too.
Finally if I export my application with GPU Hardware acceleration at Publish Settings, my application crashes almost inmediatly after I open it in each of the computers.
My guess is that the new Flash Version is using my graphical proccesor in a corrupted way.
I tried all suggestions from the dreamweave forums and none worked.I am placing a CS4 swf movie into dreamweaver CS4 and when I preview in firefox I can't get rid of the 1 pixel white border.Have tried all settings, including setting the wmode parameters to transparentBorder set to 0, frame set to 'top', image set to top.If I change the background of the frame to blue for example, I get a 1 pixel blue line. I believe the problem is in dreamweaver.How do I fix this?
<param name="expressinstall" value="Scripts/expressInstall.swf" /> <param name="BGCOLOR" value="#FFFFFF" /> <param name="SCALE" value="noborder" /> <param name="wmode" value="transparent" /> <!-- Next object tag is
I am just starting out new with AS3 and I have a question about this block of code I have. i have checked this against I don't know how many examples and it looks fine, yet... when it's run, I get nothing. Traces on everything came out OK.
Code: var sheep:mcsheep; var xpos:int; var ypos:int;
I am trying to import an image and then place the image in two spots on the stage. This is the code I'm using:[code]My problem is rather than placing two instances of the image on the stage, the code above places one image with an x coordinate of 300 and a y coordinate of 0.I thought the code above would place two images. One at point (0,0) and the other at point (300,0).
I am trying to place an array of objects onto a stage where they drop vertically. I have been able to do it by placing the array objects into an object called "bag" but have found that the bag object only contains the last array object id so I can not apply actions to various array objects. Also my objects do not loop and only appear once.
Below is the code so far.
var tempArray:Array = new Array(); // Stores randomised values var bagArray:Array = new Array("gslow_id","gshigh_id","glow_id","ghigh_id","gdiv_id",
Has anyone seen any tutorials about or know how to randomly place multiple, different-sized movieclips on the stage without overlapping them? The final output would be something like this:
Currently when the player moves their cursor over the movie clips that AS3 is placing on the stage, they disappear. However the movie clip is not actually removed from the stage, it simply plays to a blank frame in its timeline to give this illusion. How do I tell Flash to remove the movie clip from the stage rather than just give the illusion that it is gone?
When the player moves their cursor over the movie clips that AS3 is placing, I want the movie clip that is attached to the cursor to gotoAndPlay certain frames of its timeline.
I used attachMovie to load a movieclip from the library into the stage. And in the movieclip, it has another movieclip named "imageHolder". As I wanted the movieclip to be placed on the stage like a list of buttons. The code goes as follows:
Does one normally use some sort of wrapper object to do so?
For example, if I have an array with 10 elements (for example, images that are gonna be linked), I can loop through the array and add them to stage with:
myArray[i].x = i * myArrayElement.width;
What if I wanted to position all of the elements yet keep them in the same positions relative to each other.
Can you do so with an array, I gather the answer is no. So if that's right, do people throw an Array into another object and the use that objects x property?
I've run into a troubling issue where using the NetStream class is causing odd video playback behaviour, major disk query issues, and also leading to my browsers crashing (tested on FireFox 3.5.X, IE 8, and Safari 3/4 with Flash plugin 10,0,42,34). I tested the issue on a Macbook as well and noticed the same thing, so it wasn't something specific to my machine. I wrote a basic Flex application to test this. I make a NetConnection to my web server. When successful, I create a NetStream to playback the video (F4V encoding of Big Buck Bunny). Immediately in Windows Performance Monitor, I can see the Disk queue jump to 100%. The video eventually pauses for a lengthy period of time. Sometimes the browser also becomes unresponsive at this time, and in other cases it will crash. If the video does eventually resume (disk querying reduces a bit), I experience odd behaviour with the video. If I pause the video (NetStream.pause()), when I resume the video (NetStream.resume()), the video begins to fast-forward to make up for the amount of time lost while the video was paused. So if I paused the video for 10 seconds, Flash will fast-forward in 1-second intervals through 10 seconds worth of video. During this time, NetStream will constantly dispatch buffering end and buffering full events.
What's odd is that the problem doesn't seem to happen when I add an additional arument in the play command. NetStream.play(url) will cause the issue, but NetStream.play(url, 0) will not. However, this doesn't always work. My own player, which has a lot more interface controls and complex logic, still suffers from the problem, despite that I'm not doing anything with the NetStream object.
I have created set of dials/meters with moving arms that change as buttons are pressed. The arms move based on a "Classic Tween" set-up I created. I then applied my buttons to the flash document and then coded in some "gotoAndPlay" on an actions layer to get the arms on the dials to move when I click on the buttons. My problem is that since I have 3 buttons (High, Medium & Low) and the tweens follow one frame right after another (0, 41,78) there is no stop. When I click on Low it plays the low tween, the medium one, and the high tween. When I click on the medium it plays both the Medium and then the High. The High button obviously only plays itself. I don't know how to insert a stop between these buttons.
stop(); low_btn.addEventListener(MouseEvent.CLICK, onLow); function onLow (Event:MouseEvent):void { gotoAndPlay(0) } med_btn.addEventListener(MouseEvent.CLICK, onMed); function onMed (Event:MouseEvent):void { gotoAndPlay(41) } high_btn.addEventListener(MouseEvent.CLICK, onHigh); function onHigh (Event:MouseEvent):void { gotoAndPlay(75) }
I import an animated gif onto the stage, but if I want to then move all the frames some pixels to the left, I have todo so for each element in every frame. How can I move the gif and all its frames in one action without using actionscript