ActionScript 2.0 :: Running Two Copies Of The Same SWF In The Same Window?

Dec 20, 2009

I can run the same SF in two windows so that two copies of the same SWF are runiing at the same time.How can I run it in one window splitted into two halves vertically or horisontally?Is it possible to make a third SWF which would do that?

View 0 Replies


Similar Posts:


Multiple Copies Of The Library Panel?

Nov 6, 2009

I've used the New Library panel to copy symbols from one Flash document to another & subsequently closed the extra Library panel. I did this twice for on different occasions.
 
My Library panel is usually docked & collapsed so ocassionally I use Crtl-L to expand it. Now, when I do that, the previous 2 extra Library panels also appear & I have 3 Library panels on the screen - 1 docked & 2 extra floating ones! How do I get rid of the other 2 for good?

View 2 Replies

Flash - AS3 CPU Performance With 100 MovieClip Copies

Aug 16, 2010

I have a movieclip wich has a simple movement of a simple shape. This movieclip is copied many times to create a graphical effect. As the number of copies, or the complexity of the movieclip increases, CPU usage goes up. As from 90 copies, when I keep moving the mouse over the swf movie in a circle, playback stops (hangs). When the mouse movement stops, the swf continues again at the right position, as if calculation has continued, but updating the display has not. Now this is a quadcore pc, and we're 2010. I can't believe or accept that 100 mc's is the maximum number of movieclips that can be rendered. The obvious question is what can be done to optimize CPU performance ?

I'm using AS3, flash player 9.
Movieclip is a simple rectangle shape which moves along 1 axis.
var myLinkage:Class = Class(getDefinitionByName(getQualifiedClassName(McToRepeat)));
var newMC:MovieClip = new myLinkage();
containerMC.addChild( newMC );

View 1 Replies

Get Number Of Copies During Print In Flex?

Sep 7, 2011

Am working on the flex application with print option.

I need to check the print count[code]...

I attained the print count but unfortunately I can't get the

no of copies during print. When the user increases the no of

copies i need increment the PrintCount.

View 1 Replies

Flash :: Pro SC5 Creates Multiple Copies Of Images?

Feb 11, 2011

I load images into my .xfl project and use them amond movie clips - everything is ok at beginning. But after a some moment (which is absolutely undefined) Flash Professional CS5 starts duplicating all of them at saving and new copies names with "Copy 1", "Copy 2" and so one, or just with blank string. Because Flash duplicates them EACH saving, so after a several savings Flash refuse to save at all (shows "Too big project ..." error).

View 7 Replies

Flash :: Dynamically Instantiate Multiple Copies Of A MC?

Jan 18, 2011

I made a Post-It note movie clip that is draggable. I want to create a whole pad of notes, or at least simulate this. I thought the best way to do this would be to add another Post-It whenever the startDrag() is triggered.

I first tried creating the Post-It with symbols but didn't think I could dynamically create new ones this way. I then created a class and added it to the stage[code]...

View 4 Replies

ActionScript 2.0 :: Duplicate Drag + Drop Copies

Sep 10, 2009

I know very basic AS and ran into a small problem. I have a movie clip that I would like to be duplicated when the user clicks on it and then they can drag and drop it anywhere while the original stays in its place. Right now I have that working, the user can drag as many copies as they want, however when you release the clip you are unable to drag it anymore. "x" is my movie clip.

[Code].....

View 6 Replies

ActionScript 2.0 :: Way To Make Multiple Copies Of Same Image?

Apr 17, 2011

I have multiple images in flash, all on the same frame. What actionscript do I need to use to be able to print just the one image and not everything on the screen? Also, is there a way to make multiple copies of the same image?[code]

View 2 Replies

ActionScript 2.0 :: SWF Contains Multiple Copies Of A Sound Item?

Jun 11, 2006

i try to stream a sound i get this message on my output screen "SWF contains multiple copies of a sound item". The sound still plays, but some popping noises are added here and there throughout the recording

View 3 Replies

ActionScript 3.0 :: Way To Handle Multiple Movieclip Copies?

Mar 29, 2009

I currently have one movieclip in my library, but 4 instances of it on the stage. I was wondering what the best way to animate them so they can do things 'separately'- I'm not sure if Actionscript is the answer, but it's worth a try. I just don't want all of them to move when I move one of them (when I try to animate them inside their movieclip).Possible solutions: I already have one that isn't very... resource friendly. For every individual instance I can turn it into it's own Movieclip, so it isn't affected by the rest... but if I were to have many, many movieclips on the stage, that would quickly overflow my library. If that's the only way fine, but I'm sure there's a work around.

View 3 Replies

ActionScript 3.0 :: Creating Copies Of A Dynamic Class?

Aug 13, 2009

I'm working on a particle emitter, and I want to be able to pass in custom sprites (one for smoke, one for fire, et cetera). They are instanced on in the library as separate classes, but I want to be able to call a function like, "ParticleEmitter.SetSprite(Smoke)", then have it start creating instances of the smoke class.

The problem is, I don't know how to pass in a class name as an argument or how to use it to create copies. Is there any way to do this, or would it be best if I just put all my different particles inside a MovieClip and set the frame for each one it created?

View 6 Replies

ActionScript 1/2 :: Adressing Multiple Copies Of Movieclips With Same Instance Name

Jun 13, 2009

Is it possible to iterate through MV copies with the same instance name? It would be very useful for my project.

View 5 Replies

ActionScript 3.0 :: Create Multiple Copies Of A Variable In A Loop?

Mar 11, 2009

I wished to create multiple copies of a variable in a loop.such as:

var pots:String = thisString [i]

and then i wish to reference one of these loop generated variables.Now how would you set it up so you could have all those variables of "pots" had their own names so one could reference say: "pots1" "pots2" or "pots17" ? This kind of situation would bee seen in a situation where I would be bringing in many array values and assigning certain parts of them to the variables. such as array[i][name]

View 2 Replies

Professional :: Exe Projector Running Slow While Swf Running Fine?

Mar 19, 2012

I have a strange problem. When I run an exe projector that I exported from flash cs5.5, and on few of my client's computers it running very slow in full screen.When I running an swf file (not exe projector), also in full screen, it running well!I checked my clients computer hardware, and it match the system requirements of flash player.

View 3 Replies

IDE :: Site Is Running Inside The Dreamweaver But When I Publish, It Is Not Running?

May 11, 2009

I have a problem in Flash Site uploading.That is, i have created a flash site & in the dreamweaver i inserted the flash site as insert -> media -> Shockwave.The site is running inside the dreamweaver but when i publish it, flashsite is not running.

View 2 Replies

Flex - Displaying Multiple Copies Of Same External Movie Clip?

Aug 29, 2011

It's easy to share bitmap data between multiple Images: // target and source are instances of the mx.controls.Image class var content_copy:Bitmap = new Bitmap((source.content as Bitmap).bitmapData);target.load(content_copy);

But how to do the same thing for movie clips with vector grapics? The only way I've found is to load movie clip using byte data of another movie clip as the source.

target.load(source.content.loaderInfo.bytes); But it actually duplicates the content.

View 1 Replies

ActionScript 2.0 :: [Flash8] Use Many Copies Of One Instance To Build The Visible Part Of Maze?

Aug 1, 2006

I am writing a maze program for school. I am using a 2d array to represent to location of walls for the maze. The background (for figuring out where a player can move) is not the problem.I am using this algorithm for places the images...

for (i = 0; i < 22; i++) {for (j = 0; j < 16; j++) {if (maze[i][j] == 1) {instanceName = "wall" add i add j; //for multiple names for each instance
duplicateMovieClip("wall", newname = "instanceName", 1);
setProperty("instanceName", _x, (25*i+13));

[code]....

What needs to be done to use many copies of one instance to build the visible part of my maze? I want to be able to have all pieces anmed "wall" instead of "wall1", "wall2", etc...which isn't working anyway.

View 5 Replies

ActionScript 2.0 :: Flash Button That Copies Text From A Text Field?

Mar 8, 2007

whats the code

on (release) {
nextImage.text.copy();???
}

i dont know if im in the correct area

View 2 Replies

ActionScript 3.0 :: Toggle_window - Window Opens And Closes Not By Clicking On The Button But On The Window Itself?

Jun 12, 2009

i would like that my window opens and closes (opens: scale out; closes: scale in) not by clicking on the button but on the window itself.here are 3 applications of mine (schuifwindow, scroll and fotoalbum).
 
Grtz,Jan the man
 
here are 3 applications of mine (schuifwindow, scroll and fotoalbum).
schuifwindow www.truevision.be/other/btn_home.flascroll www.truevision.be/other/scroll.flafotoalbum www.truevision.be/other/foto_album.fla only picture one (left up corner) has a X button (i dont want to use this button)

View 5 Replies

ActionScript 3.0 :: Creating Flash DVD - Put Video Window Playing Certain Amount Of Time Then Repeats Itself In Main Window?

Oct 20, 2011

I am preparing a presentation DVD... DVD will contain wmv video, user manual and another flash exe file... So DVD interface will contain three elements; user manual, a flash exe file and video.. Flash video window will be short-time video, playing like 5-10 seconds then repeats itself... My question is, how could I accomplish to put video window playing certain amount of time then repeats itself, in main window? I need as3 fla example, which could be so useful for me..

View 1 Replies

Flex :: Placing Popup Window In The Middle Of The Main Window

Mar 16, 2010

I'm trying to place a popup window (TitleWindow) in the middle of the main application window. how do i set the coordinates of my popup window to be of the main application window? i tried the localToGlobal function but with no luck, I just can't get the main window x and y.

View 3 Replies

Actionscript 3 :: Detect Clicks Outside Of A Window For A Multi-window AIR App In Flex?

Mar 13, 2011

So I have this AIR app coded in flex where I have several floating native windows and what I want is to detect when a user clicks outside of a window so that I can close it. (I don't want to use the PopupManager Class and would want to use the native windows).

My question is, is there a way to detect a click outside of a spark window, or alternativley is there some root container/object which is a parent to all the native windows so that a click inside any native window would bubble up to it? (Apparently the stage object of the root windowed application is not that object since each window is not a child of the stage for the root application).

View 1 Replies

Flex :: Reload Main Window's Variable In Popup Window?

Aug 12, 2011

How to access main window's variable from popup window.

I create a popup window in the main window, and pass variable "content" to this popup window as following [code]...

View 2 Replies

Flash :: POST To Opened Javascript Window And Have Close The Window

Nov 30, 2011

I created a Flash application that reads POST data from a form. A user clicks the button, and the data gets posted to the flash app in a new window (_blank). Now takes the data and then spins a wheel to give users a prize. If they don't win a message pops up letting them know they didn't win. If they don't win, clicking the OK button needs to close the browser window.

I've tried a number of solutions and it seems that the only way to get this done is to launch the window with javascript and then use ExternalInterface.call('window.close'); to close the window from within the Flash actionscript (3) because otherwise the window won't close (I've tried just using window.close and window.close() with no luck)

I understand how to launch a new window with javascript, but I don't know how to simultaneously launch and POST data to that window (the Flash application has to have the POST data. Is this the best solution? Is there a way to close a browser window easier than what I'm describing?[URL]

View 1 Replies

ActionScript 2.0 :: Close Pop-up Window -> Trigger Action In Parent Window?

Sep 25, 2009

I'm trying to create a pop up window in Flash which also fades the background window to 75% black. When the user closes the pop up window, I'd like for the parent window to un-fade back to normal. Is this possible? I can do the first half of it and make the background window fade to 75% black. The difficult thing is making it fade back to normal when the user closes the pop up window.My thoughts are that I need to attach some code to the browser's built in close window button. It might require some javascript or a fscommand. I'm not sure.

View 9 Replies

ActionScript 3.0 :: Resize Mess - Block The Window From Being Bigger Window

Mar 15, 2012

The problem is: i have a flash movie (*.swf) 1280w x 640h,, and & want to remove the resize function, i mean block the window from being bigger window. i actually set a noscale function that is working on content, but the problem is with the window..... my code for nonscale is now:

[Code]....

View 4 Replies

ActionScript 2.0 :: Flash Reload Parent Window + Close Window?

Mar 4, 2006

I have an asp page that will open a new asp page in a new window that contains a swf file with a button.hen the user clicks the button i want to close that window and reload the parent window.

View 9 Replies

ActionScript 2.0 :: New (controllable) Window - Put A Link In Movie That Will Close The Window?

Feb 6, 2003

ACTUALLY i just thought of another one so now i have two. sorry. hope you don't mind. i get sidetracked rather easily. before i start, a quick nota bene. i'm a complete newcomer to flash so my questions are very simpleminded. not much of a challenge i'm afraid.

1. can i put a link in my movie that will close the window?

2. can i put a link in my movie that will open a new window of a specific size, and without the menu-buttons of explorer?

View 10 Replies

ActionScript 2.0 :: Resizing The Window - Photos Will Popup In A Fullscreen Window

Apr 25, 2008

Go to [URL]. Click on "The Photos". It will pop up in a fullscreen window. Try resizing the window and you'll notice that the background is vector and it looks like the scale mode is set to "showAll". BUT, the photos look like they have a separate scale mode set to "noScale". They don't resize.

View 2 Replies

ActionScript 3.0 :: Link To Rather Open Up A Download Window Instead Of Just A New Browser Window?

Oct 30, 2009

i have a flash site that links to PDF's with the navigateToURL function which works etc But now i would like Link to rather open up a download window instead of just a new browser window?

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved