I would like that the user couldn't move the MC anymore on frame 2, is that possible?Because when I am in frame 2, I can still move the MC and it goes back to frame 1 again [code]...
I have a class in which I have declared an array. The functions in that class are designed to make changes to the array, but it's not working:
[Code]...
Anything I do to customerCheck treats it as if it were a new array. This is especially obvious when using customerCheck.push in addCharToCheck() -- the trace always shows a blank array before push and an array with one object in it after the push... then next time it does the same. I know I'm making some sort of fundamental error regarding the scope of the array within the class but I just cannot find any good information on how to fix it! Moving to AS3 (been coding it for all of about 3 weeks) is a nightmare so far, and it seems to be the 'easy' stuff that causes me problems
In my main flash page I'm trying to have other swf files load into it. When I test the movie in flash, everything works as it should. But when I upload it to a server, it only allows one swf movie to load. Anyone know why this is? Does it have to do with security?
Did you notice that, at least inside Firefox 4, Flash cannot go above 50% CPU? Of course there are valid reasons for that, but it's not the topic.
About a week or so ago I stumbled upon a SWF that managed to use 75% of my CPU. (It was doing 3D stuff) I would like to know if you guys know if there is a way to reproduce this; maybe Adobe put some option somewhere in the API? Or maybe it's specific to what that SWF was doing.
That would be great for games or web applications on which users are entirely focused and can therefore afford to dedicate more resources.
Unfortunately I can't find the URL anymore, I think it was some Alternativa3D demo or something. Not sure.
I made some animated buttons, and now I'm trying to assign script to them to link them to their pages, on the script box it says I cannot assign script to them? Is it because they're animated or am I going wrong somewhere else? It's in Flash CS3, I can upload any files as a link if I've not explained myself well enough
I am working on a project where the user can click a button to download a pdf file. My issue is that it works fine, until you try to download it in IE. IE shows something happen, but then nothing happens... looks as though you download the file but then when you go to look for it, its not there. I have tried 2 different methods, both work until, like i said I bring it into IE. [code]...
I created an FLA file through Adobe Flash CS4. My problem is, I compressed the file as a .sitx and put it on my server, so that I can use it on another machine. However, on a different machine, using the same version of Flash, it will not open. Flash says:
Failed to open document (FIle Path)
The SWF file can be opened through Flash, just not the FLA.
Im trying to get this to work so it moves the objects by the defined speeds when the key is down. I cant see any issues with the code at all, yet it still does not work correctly.
I have had success with loading an swf on the timeline (from a button) and having it close when clicked on. However, I'd like to have a "Close" button on the loaded swf (not just the whole swf). Right now it just closes and goes back to main timeline when clicked on. The code I have so far:
var myLoader:Loader=new Loader ();page1_mc.addEventListener(MouseEvent.CLICK, page1content);function page1content(myevent:MouseEvent):void { var myURL:URLRequest=new URLRequest("page1.swf"); myLoader.load(myURL);
I added a contact form to a site, and the input fields aren't allowing numbers or certain letters. If I test the contact form swf by itself, it works fine. But as soon as I test it in the site, the problem occurs. I haven't got any other actionscript around the contact form, so am puzzled. The site is [URL] - the contact link is on the bottom left menu.
As stated in the title an odd blue box appears around my drawing not allowing me to continue with what I was creating. I tried to get rid of it but just dont know how.
I have video player chrome buttons designed with HTML/CSS. The full screen button needs to tell Flash to go full screen, but Adobe forbids this Javascript-to-Actionscript interaction.I'm making a web based video player that supports many plugins - Flash, VLC, HTML5, iPhone's Quicktime etc... I would like all these players to share the same chrome buttons - play, pause, mute, volume slider, resolution picker, and full screen. These buttons are layed out with HTML/CSS.[code]This has caused me a lot of pain and agony. Whenever I need to make a change, I update the HTML and JS. This change is reflected across the VLC, HTML5, and whatnot players. But since Flash does not share the same HTML chrome buttons, I have to duplicate the changes in Flash/AS. So I'm looking for a better solution that reduces the amount of duplicate code. It doesn't have to be stylistically clean. I just want easy maintainability.
don't have any experience with it but I've designed a tool for people to use on my website.I need a way for them save a section of the flash interactive flash to their computer Hard disk.link here
Here's the thing. I'm implementing a navigation system into a project, that requires you to click a button, so that you may advance to other pages.it goes like this: it is a slide-based navigation system, with 4 buttons. To advance to page 2, on page one you must click a button, and so on. Otherwise, no matter how much you click the button linked to page 2, it will never work. And the cycle continues. I guess it's not all that easy to understand..so i've attached a link to the .fla [the file does not have any navigation restrictions
is there a way to make it so that on any one computer.. only 1 instance of my flash movie will run?Like if they go to a site.. with my flash movie on it.. and they open up another tab.. of the same page.. only one of those flash movies will run..
I want to use a gradient as background for my flash movie, but I want this background to cover the whole browser's window just like Adopt Design does it (check out Adopt Design). The content of the flash movie should NOT be resizable with the browser's window though. So, I used this code:
[Code]... in the HTML file I did set the margins to 0pix and the SWF's height and width to 100%. But when I type in the address in the browser to open the page the first time, I see the flash movie in the center with white background around it anyway, and when I resize the browser's window (even if just 1pix) everything is perfect. What's happening? check the problem in a JPG: the site (notice what changes when you resize the window, after opening)[URL]
With the select tool, I placed my mouse over the edge & it changed to the little curve sign, but when I dragged it, it just moved the rectangle. Same thing when using the transform tool.
I have this complex XML processing code that builds up thousands of objects on stage. This might take some time. Perhaps not that big time to bring up that message about slow code execution, however signifficant enough to cause interface uncomfortabilities. I understand very well that I can restructure my code in order to save all contextual variables, all counters in an object that is passed down to onEnterFrame events that process it a little bit and then pass it further, until the job is done. However, before I go into dissecting my code, I wanted to make sure if there really is not a way how tom tell flash player do it's frame rendering routine while a complex code is executed in background (without splitting it up).
I want to publish camera over FMS. But I don't want to use adobe security panel to be displayed(not even once) with setting as "access" by default.I wan't to set it allowed programatically.
I've set up a game, where the user has to guess what a picture is by moving a small hole/ portal around.I've used the mask feature to do this and managed to attach the portal to the mouse.However,I need to stop the mouse dragging the portal when it moves outside of the picture/instance.This is so the user can then press buttons to go back to main menu etc. Here's the code I've used to attach the portal
I'm developing an application in AIR via Flex, but I'm not seeing where I'm going wrong with SQLite (I'm used to MySQL). Parameters work, but only in certain instances. Is this part of the built-in sanitation system against sql injection?
Works: sqlite "INSERT :Fields FROM Category", where the parameter is :Fields = "*" AS3 var statement:SQLStatement = new SQLStatement(); statement.connection = connection; statement.text = "INSERT :Fields FROM Category"; statement.parameters[":Fields"] = "*"; statement.execute; [Code] .....
I have an ArrayCollection containing bindable objects. I would like to access them in multiple places like below (there's only one label for clarity). How can I achieve that?hould I write some kind of wrapper for ArrayCollection dispatching special event (which?) catchable by Flex event mechanism.
i have a situation whereby the user can upload an an image to my application. Then they can manipulate it by scaling etc. What I want to do now is allow them to change the tint/colour of their image, for the purpose of getting it to suit the other elements of the page better. Is there any simple/third party code to do this does anyone know? I'm picturing maybe a slider or something to tweak it.
-Conversion...Actionscript Code:var output:int;var b:Boolean = true;var i:int = 5;output = i + b;trace(output); // 6 Obviously, allowing Flash to convert the Boolean to a int value is easier to read, but would it be faster?