ActionScript 1/2 :: Working Script Moved - Stopped Working?
Apr 22, 2009
I had a button when clicked, it would replace a different moviclip.This worked until I made the bulk of the code into a function and moved it to the layer, and then tried to call the function from the previously mentioned button. It generates no errors, but it stopped working.Hierarchy:Layer 1 > U1 > image
Original button script:
on (release) { var theDepth:Number = _parent.U1.image.getDepth(); _parent.U1.attachMovie("K3E", "image", theDepth);
[code].....
View 3 Replies
Similar Posts:
Mar 7, 2009
I have a small SWF that works if I run it in FlashDevelop or when I run it (by double clicking) it from the bin folder. Now, if I move the bin folder anywhere else, and then double click on the SWF, it runs, but is missing the .pngs. The folder structure is: bin contains .swf bin/assets/imges contains .pngs I copied the whole project folder to another place, but still, the same problem occurred. What do you think might be the problem?
View 3 Replies
Oct 26, 2009
All of a sudden I was working and Flash CS3 crashed. The Windows Vista pop up said Adobe Flash CS3 has stopped working. So I figured it does that once in a while. But, after restarting my computer I opened up Flash and went to create a new Flash File and the same thing happened. It was only when I went to create a new file or open a file is when it crashes. Flash opens up fine, but screws up when I try to do anything with regards to actually working with it. So after I re-installed CS3, still nothing. I need this program and would like it to work.
View 2 Replies
Jun 11, 2010
[Code]....
I wrote it originally in as2 and I tried to translate it to as3 and it stopped working. It's suppose to move the player towards another player. this is just the part of the script that doesn't work
View 1 Replies
May 3, 2011
I embedded that (as a swf) in Captivate5 and published.It was working fine.... When I went into it today to modify some of the text it quit working. After long struggles and thne restoring the original version. I discovered that the original version was no longer working either. So sometime in the last couple of weeks this Flash AS3 file contained in Captivate5 has stopped working. The print function now produces a page that has a light gray box the size of the bounding rectangle of what is supposed to be the content (which is almost entirely text) The rest of the piece works fine and the printing function is as basic as it gets. All of what I am trying to print is contained in a single frame of a one frame movie clip:
function doPrintReport() { var myPrintJob:PrintJob = new PrintJob(); if (!myPrintJob.start()) { //printing canceled return; }else{ myPrintJob.addPage(this.report_mc); myPrintJob.send(); }}
And this was working just fine... a couple of weeks ago - Back on April 14th to be precise. This is currently living on my local IIS server on my Windows 7 64bit desktop. I have tried running it in Windows IE 8 and Firefox 3.6 - Again the original version was working and now is not.
View 1 Replies
Sep 14, 2009
I have two scenes, my first scene is a intro animation with a enter button at the end, and my second scene is my website, my website worked fine until i added the scene in before it and now it dosent work?
View 2 Replies
Jun 17, 2010
I am avid flash fan and presently working on an interactive project that's bound to be quite sizable. But whenever my fla file reaches about 3MB (which is just a fraction of the intended size of the project file), i get an error prompt that says "Flash CS3 has stopped working" when i try testing or publishing my movie. Initially, i thought it was a Vista issue but the same occurs on an XP run system too. I also used a 2Gb RAM system to no avail
View 2 Replies
Aug 8, 2009
the flash debugger suddenly stopped working, it no longer stops at breakpoints and when I right click on the swf, select debug and choose local host, it says "A connection to the debbuger or Profiler could not be established by Adobe Flash Player 10." or something along those lines, despite the fact that I'm developing my project using flash9 settingssays I should add one line "127.0.0.1 localhost" to a "hosts" file in the windows/drivers folder but I checked and it's already there.
View 5 Replies
May 14, 2010
its got a bunch of .fla, .swf and .html files which i just have to edit with my information. pretty easy.I uploaded all the files to my server and everything works great.so ive been editing the .fla files, inserting my pictures and information then publishing the .swf files and putting them back on the server and everthing looks great.
* The problem is that after uploading my last .swf file my webpage stopped working... i can see the front page put it doesnt load and when i click on my links it doesnt go to them.When i open the .swf file i get this ERROR:
Error opening URL 'file:///Macintosh%20HD/Users/thumper%5Fjeep/Library/Caches/Cleanup%20At%20Startup/Transmit/3704291E%2D0BE0%2D4A1F%2DB379%2D3F80743EE79B/xml/menu.xml'
It looks like the .swf file is looking xml/menu.xml on the server but for some reason the path is all wrong and the path appears to be to my Mac and not the server.
View 1 Replies
Aug 10, 2009
Flash player stopped working on web site Friday afternoon August 7th -
><object codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#ve rsion=6,0,29,0" height="105" width="803" align="left" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">
[code].....
View 1 Replies
Oct 7, 2009
Some of the dynamic text fields in my application stopped working. This is part of a major application which I have been working on for a few months. It worked fine until today. 3 different dynamic text fields suddenly do not show text when I set the text from actionscript This is what I tried:
1) Tried with and without text embedding
2) Turned on and off html
3) Tried with .text and .htmlText
4) Removed the TextField and added a new one
5) Added static text into the dynamic TextField and did not add the dynamic text with actionscript --> the initial text appeared I am working with CS3 and recently updated. I am considering deleting Flash and not running the update.
View 2 Replies
Sep 15, 2010
I am facing the problem "Adobe Flash CS5 has stopped working " Installation of CS5 is done. But when I open a flash file the above error occures.
Windows 7 Pro -32 bit
Intel core 2duo 2.93GHz
4GB RAM
MSI MOther Board
1GBNvidia Graphics Card
Am Updated all Drivers and windows also . I have 30 User Flash cs5 license getting same error ..Faulting application name: Flash.exe, version: 11.0.0.485, time stamp: 0x4badda9dFaulting module name: ntdll.dll, version:[code]....
View 6 Replies
May 11, 2010
In the past week it appears that Yahoo has changed their crossdomain file to only accept Yahoo domains [URL]This is causing my applications that use Yahoo Maps to stop working (i.e. security exception). I cannot proxy the calls to Yahoo because the URL is embedded in the MXP file that Yahoo distributes.
View 1 Replies
Jul 17, 2009
Well I was just testing some game and I did Test Movie and suddenly a bunch of things weren't working properly even though I hadn't changed anything. Eventually I just copied all the code and the library into a new file and everything was working again.
P.S. some of the things that weren't working were for example Keyboard listeners only seemed to be called a tenth of the time and random lines of code just didn't seem to be doing anything. Number variables also seemed to have a random cap put on them.Also here are the two files, the first one is the broken one and the second is the one where I just copied everything so it works.
View 0 Replies
May 25, 2011
Stage snapshot with webcam view and image is not working if the .swf is moved
private function initTracking() : void
{
stage.scaleMode = StageScaleMode.NO_SCALE;
stage.align = StageAlign.TOP;
var camW : int = 640;
var camH : int = 500;
[Code]...
View 0 Replies
Feb 17, 2011
the swf that I am loading has a button in it that when I click on it, it will print the screen and it will email it to an email address.Everything works perfectly fine if I use the application(swf) on its own.however, I created a swf file that will load the above swf file in it when a button is clicked. the loading part is fine and it works as it should be. but the button for printing the screen stops working once the swf has been loaded!
View 3 Replies
Mar 13, 2011
i've got a problem with a Flash website that has been driving me crazy. i have a Flash website that was built for us in late 2009, it uses ActionScript 2 and i have been maintaining it in CS3 on a Mac.
the site is structured as a heirarchy of swf files, and loads XML files to specify text content, image locations, and Youtube videos. all this has worked fine until sometime in the past month or two. the problem now is that the embedded Youtube videos no longer load, although nothing has changed in the code. unfortunately i don't know exactly when the videos stopped loading.
in the Activity Window of Safari i can see the URLs for the Youtube crossdomain file [URL].. Youtube still for the video, and the Youtube player[URL].. however neither the still frame nor the player skin load.
if i run the site directly from my hard drive (with my Flash Player security preferences set to allow the swf to access the internet), the videos do load and play, so i am guessing that it is some kind of security domain issue. if i run the site in Flash CS3 in debug mode, when i navigate to a video page, although the video loads and plays, i get lots of these warnings (i've edited the path and file name):
[code]...
View 1 Replies
Aug 8, 2009
Running flex builder 3 on windows 7 RC. For some reason, my work completion/intellisense stopped working.. If I try to manually trigger the shortcut (alt + /) I hear a windows 'error sound'.
View 1 Replies
Oct 27, 2009
After upgrading a project from Flex4 Beta1 to Beta2, I've found that the background-image style is no longer supported on Halo components.Eg:
<mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml"
backgroundImage="@Embed(source='myImage.png')" />
Note that jira issue SDK-23050 points out the following :ackgroundImage is not supported for Spark skins.But this is not using a Spark skin, just a standard Halo component.
View 4 Replies
Mar 21, 2006
url...My first and current flash project is located at url...In the background is a XML-based slideshow. In addition to the pictures being loaded, each of these pictures have one or two words associated to it.The word is supposed to fade in, stay for a second or two, then move and fade out. All this works fine locally, and it was working fine on the internet until one day.Someone mentioned that I shouldnt use setInterval etc. but im really stuck here. Doesnt help that im totally green on flash either.
View 4 Replies
Oct 23, 2008
created a .swf that continously scrolls with a pause and play button with only actionscript. The file was too large so I created a preloader in a seperate file loading the .swf with loadClip, but the buttons on the .swf stopped working! What do I need to do to get the buttons working again? I'm completely baffled.
[Code]...
View 1 Replies
Jun 27, 2011
I can play the .flv movie after compilation through FlashDevelop but its not working if I move the whole directory into another PC or another Directory in the same PC.
package
{
import flash.display.Sprite;
import flash.net.NetConnection;
[Code]....
View 1 Replies
Nov 18, 2009
I have some code to scale an image's width according to its height after the image is being loaded. It works fine on my development PC if I point to the wrapper html using local file system path. However, after I deploy the web application to JBoss AS 5.1, it stopped working - it always sets the image width to 0, causing it to disappear.
Code for scale image side:
private function scaleImage():void {
img.width = img.contentWidth;
}
<mx:Image id="img" updateComplete="callLater(scaleImage)" height="100%" />
View 1 Replies
Feb 18, 2011
I'm using Uploadify to allow for multi file uploading in my web application. It has always worked across IE 7,8, 9, FF 3.6, Safari and Chrome. Today I discovered by accident that it was working in each browser yet not in Chrome. I'm currently on Chrome 10.0.648.82 beta. The issue there is that I can select files to upload, yet after that nothing happens. I put alerts in all Uploadify events and non get fired. Then I went to the official demo site: [URL]
...and discovered that it does not work for Chrome there anymore either. I am running Chrome as default as can be, so it updated to this version itself. I have all default settings intact and no popup-blockers, ad blockers or any other add-in installed. I tried to debug using HTTP Fiddler, only to conclude no HTTP request is made at all after selecting files to upload.
View 4 Replies
Jan 28, 2010
For some reason code completion/intellisense has stopped working for new properties in our projects.These are the symptoms:Add a new property to a class If you go to a different class, and you try to use that property, the intellisense dropdown doesn't show the new property. It does show the already existing ones.If you build the project, everything works fine, there are no errors or compiler warnings.The property will not show in intellisense until you restart Flex Builder (version 3).We have tried it on different machines and als tried to set up the workspace again, but the symptoms stay the same everywhere in our project.
View 2 Replies
Jan 10, 2012
Has anybody had Flash player debuuger suddenly stop working for no reason whatsoever. What I've found so far: - No exception screens popping up.. in ANY browser. Reinstalled debugger version of flash player, no go. - Flashbug not showing in Firebug - No trace calls visible in FlashDevelop - Flash IDE behaves normal.. all trace calls visible - Firefox updated about the same time but problem seems to be on a wider scale This started approximately, on Sunday 8th Januray (or saturday).
View 1 Replies
Jan 29, 2010
i made a function for replacing a text letter by letter. You've probably seen this effect of putting in place of a text a random one, with the length of the new text and then replacing the random text, letter by letter with the new one. It worked fine but I had to do some adjustments, because I needed to vertically align the text to the bottom, and I had the newline character in the text which gave me some issues with the aligning. Since I did this adjustments, string.length returns undefined even if trace(string) shows the correct text in the output window. On the other hand length(string) gives me the right answer. I also use the charAt function which also returns undefined, even if the trace function shows the correct text.
View 7 Replies
Aug 7, 2009
I have two movieclips on the stage mc1 and mc2,the navigation for mc2 and mc1 is in mc1 as as3 and MovieClips suddenly now that I've added some tabs into mc2 (new layer, no instance names yet) the navigation code in mc1 has stopped working,if I change the initial stop command to a later frame in mc1 I can navigate back to the first frame and then to one other place in the menu but after moving away from the first frame I can't seem to get any of the buttons to work, its only if the stop command is on a later page that those buttons will workon the main timeline i'm using;
ActionScript Code:
stop();
mc1.stop();
[code].....
View 0 Replies
Oct 12, 2009
I'm getting the "internet explorer has stopped working" error message every time I close IE after visiting [URL]. The Flash works while I'm on the site, but when I close the page I get that error. It only affects the one web page window that ran flash (I don't use tabs -- I use separate windows for all the pages I have open). If I disable Flash, IE doesn't crash anymore (but, of course, the site doesn't do what it's supposed to either). How is it possible that Flash can cause an error like that (even if a site's Flash code was imperfect)?
I'm using a Vista notebook PC, freshly reset to OEM virgin state before reinstalling all my software & configs about 10 days ago, so I'm using all the latest versions (MSIE8, Flash 10). I've tried unintalling & reinstalling Flash, but the crashing persists.
View 1 Replies
May 25, 2011
package
{
import flash.display.DisplayObject;[code]....
View 1 Replies