ActionScript 2.0 :: Only Allowing One .swf To Load?
Dec 12, 2006
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?
View 4 Replies
Similar Posts:
Jan 20, 2008
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..
View 2 Replies
Mar 22, 2003
Is there any way of letting a user load their own text?
View 3 Replies
Sep 27, 2009
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]...
View 4 Replies
Jun 20, 2011
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.
View 4 Replies
May 31, 2009
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
View 1 Replies
Mar 19, 2010
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]...
View 1 Replies
Sep 3, 2009
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.
View 1 Replies
Nov 7, 2010
I am creating a historical timeline and I want the viewer to be able to zoom in and out from the timeline. How do I do this?
View 1 Replies
Feb 4, 2011
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.
ActionScript Code:
stage.addEventListener(KeyboardEvent.KEY_DOWN, keyDownFunction);
stage.addEventListener(KeyboardEvent.KEY_UP, keyUpFunction);
addEventListener(Event.ENTER_FRAME, enterFrameFunc);
[Code].....
View 0 Replies
Jan 8, 2004
How can I achieve this...is it even possible? Searched for a tutorial,
View 1 Replies
Jan 11, 2005
I'm using two functions, one for an onRollOver event and the other onRollOut.
The problem is that when the second mc calls either of the functions, the inital function running ends its cycle, leaving that animation unfinished.
View 3 Replies
Sep 18, 2009
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);
[code]......
View 12 Replies
Sep 14, 2010
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.
View 2 Replies
Nov 15, 2011
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.
View 5 Replies
Jun 2, 2011
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.
View 3 Replies
Jul 24, 2011
I have a 420 KB XML. Fairly large, yes. Its structure is fairly simple:
Code:
<Nodes>
<Node ID="1">
[code].....
View 8 Replies
Jul 31, 2011
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
View 1 Replies
May 29, 2007
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
View 1 Replies
Jul 15, 2004
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]
View 4 Replies
Dec 31, 2011
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.
View 3 Replies
Apr 13, 2009
Is there a way to able/allow potential customers to fully download mp3 tracks from my site?
Flash CS4
Mac Pro
AS3
View 6 Replies
Jul 17, 2009
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).
View 1 Replies
Feb 4, 2010
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.
View 3 Replies
Jan 23, 2011
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
onClipEvent (load) {
startDrag("", true);
Mouse.hide();
}
View 1 Replies
Aug 13, 2009
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] .....
View 3 Replies
Jul 26, 2011
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.
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
[code]......
View 2 Replies
Mar 17, 2010
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.
View 1 Replies
Nov 8, 2011
Which,in theory would be faster using a conditional or allowing the Flash engine to automatically convert the values?
-Conditional...Actionscript Code:var output:int;var b:Boolean = true;var i:int = 5;output = i + ((b) ? 1 : 0);trace(output); // 6
-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?
View 1 Replies
Oct 2, 2011
so i was getting people embedding my player to there site and stealing my thunder.. so i changed allow all to my domain and well i cant connected with fme
View 29 Replies