ActionScript 2.0 :: Loadmovie With Its Background?

Feb 15, 2009

I am using loadmovie AS2 function PHP Code:

stop ();blankmov.loadMovie("newmovie.swf") to load external movie in my main flash file and it works fine, except one problem which is the new movie that loads in the main movie becomes transparent so there is no background displaying in this new external movie. Is there a way to use loadmovie function so that new movie holds its background and it does not become transparent?

View 1 Replies


Similar Posts:


Javascript :: Video With Transparent Background On Page Above Image Background?

May 2, 2010

I want to embed some video into my HTML page. As background I want to use big picture. And above it I want to insert loop video with (i.e.) walking man.So, can I embed video (without flash and any player controls) in page?Can I decode video with transparent background? Is there any codecs which support transparent background (alpha-channel)?

View 1 Replies

Flex :: After Importing A PNG With Transparent Background It Shows Up With White Background

Dec 28, 2010

As the title already states i have a (big) problem importing a PNG in a Flex 4 application.Created a PNG file in Photoshop with transparent background. Loaded in Flex application using this code:[code]So when the complete event fires the data has been loaded and it is possible to assign the data loaded to the image component named Thumbnail:[code]Unitls now everything works as expected!But when i try to send the Thumbnail component's data to a WCF service i receive a photo with white background:[code]

View 2 Replies

CS3 - Make Background Flash Background Transparent In Dreamweaver?

Apr 10, 2009

I've designed a Flash site in CS3 using Action Script 2.0 that has a main flash movie sorta floating in space over a gradient background. I want the gradient background to re-size with the browser, so I thought that the easiest way to do this would be to delete the gradient background in Flash and instead recreate the background in Dreamweaver using the repeat background option and then make the Flash movie's background transparent. (I hope I'm making some amount of sense here).

I've found a few tutorials on how to do this, but so far I just get a white background instead of transparent. I've tried choosing "Transparent - Windowless" under Window Mode on the HTML tab in Publish Settings. And I've tried selecting the movie from within DW and clicking the parameter button and adding a "wmode" parameter with "transparent" as its value.

View 2 Replies

ActionScript 3.0 :: Printing A MC With White Background, Not Stage Background?

Dec 10, 2008

trying to print a movieclip with a white backgroundwhile keeping the stage background black.The movieclip,printResults_mc has a white rectangle in the bottom layer, 850pixels x 1100 pixels. The following function scales printResults_mcto the printers printable area but because isimpossible to predict the aspect ratio of the printable area someblack background always leaks out. I tried making the whitebackground 20 pixels larger than I need (870 x 1120) and thensetting a crop rectangle in addPage of (10,10,850,1100), no luck,the black stage background just fills in the area outside the crop.A simple solution would be to temporarily set the stage backgroundcolor property to white, print, then set it back to black, but I

View 1 Replies

ActionScript 3.0 :: Background Caches And Flashes On New Uploaded SWF As Background

Aug 2, 2010

When I click on the next button that loads a another swf the background from the previous swf flicks on the screen.click on the attached link URL..[code]I would like the "current_ plan.swf" to load so that the over lays (no so much on the views but more in the LIVING MASTER.We are creating this for both touchscreen and web(the link is the working touchscreen version hence the files being large).[code]

View 7 Replies

Professional :: Background Scrolling - Attach The Trees To The Background?

Nov 19, 2010

I have converted a large background image (much larger than the stage) into a Movie Clip.  I did this so I can make it scroll as the player traverses to the edge of the scene.This appears to make the player free to roam the entire background image.I have a tree symbol with a class attached to it that blocks player movement.Here is my problem:

When I drag and drop instances of the tree symbol onto the background, the trees are stationary and do not scroll with the background.I do not want to have to implement code to make the trees scroll when the background does.I was wondering if there was a way to simply attach the trees to the background so that if the background moves, the trees move with it and appear to be part of the background as if they were drawn into it.It is convenient for me to be able to drag and drop as many trees as i need to block certain routes on the background from the player.I tried writing code to make the trees move but it was only working for the very last tree that I added to the scene.

View 8 Replies

Scaling Background / Whole SWF Object Without Tiling Background

May 15, 2009

I really don't know much about flash or swf files but in updating my portfolio I came across Polaroid gallery. I have managed to update the background jpeg with my own picture and remove the fade effect. However in the original program the background was tileable so when seen in a full screen browser looked fine. As my picture is not tileable I would like to know if it is possible to scale the background or the whole swf object without tiling the background.

View 1 Replies

Image As Background / Resizing / Scalable Background

Jul 24, 2009

I am relatively new to Flash CS3 and i have been learning Action-script 3 over the past week. I have come quite a long way and i have made a site in flash but i just have a question.I have been using an image as my background and i am happy with the way flash automatically scales all the objects in my file but the background image does not scale. Is there a way to do this? I have found out things online which show me how to add auto-resizing to the background but this knocks off the flash auto scaling/resizing for everything else.

View 4 Replies

Background Controlled By Navigation (Dynamic Background)?

May 26, 2009

create an effect that loads a fullscreen background image that changes according to the navigation selection. The background will be replaced everytime the navigation is activated

View 1 Replies

ActionScript 2.0 :: Corresponding Background MC Come To The Top Of The Pile Background?

Dec 11, 2007

I have a series of background MCs, all different coloured gradients (pretty!), and a series of corresponding buttons elsewhere on the stage. On a press of each button I would like the corresponding background MC to come to the top of the pile of backgrounds, then fade in above the previous background. The background that was previously on top, needs to stay next-to-top.If the corresponding background is already at the top of the pile, then nothing needs to happen.

At the moment I am using swapDepths(1) which brings the target to the top no problem, but it may also send the previous top layer MC way down the pile.This is what I'm doing at the moment:

on (release) {
if (_root.BG.colour2.getDepth()<=0) {
_root.BG.colour2._alpha = 0;[code].....

View 14 Replies

LoadMovie And Preloader - CS3?

Jul 23, 2009

I am really stuck with a loadmovie action that I cannot find the solution to. I have a website that I had to split up as the loading time was too long. I have used a loadMovie function and it loads the external movie but the problem is that the external movie requiring a little bit of time to load I want a preloader to come first.

I have attached screenshots of this (wssmain liks to the arch_mc1) . The problem is that the movie loads but the preloader doesn't play. Anybody has any ideas why?

The first screenshot shows the wssmain whereas the second (preloader2) shows the arch_mc1. If the fla files are required I will make them available for download.

[Code]...

View 2 Replies

LoadMovie Mc Keeps Unloading

May 2, 2011

I load my external image into emptymc which is inside mc_container:loadMovie("myimage.jpg", mc_container.emptymc); //placed on main timeline.This works fine. However when I go to a different frame within mc_container(specifically a frame without an instance of "emptymc") emptymc gets unloaded. As soon as I go back to a frame containing "emptymc" it no longer has the jpg.Is there a way I can keep the jpg loaded in emptymc without having to load it again?

View 2 Replies

Can't Get Swf To LoadMovie When On Server

Jul 2, 2009

I am very new to Flash and have been going around in circles for days trying to figure this out.I can't get swf to loadMovie when on server. I understand I need to use the path relative to the html page.[code]

View 1 Replies

Flash Loadmovie Into A Fla-cs3

Jan 18, 2010

I've been trying to load a simple .swf (home.swf) and have it play automatically on my existing fla project (as2). These are the steps I have taken.. 1) create MC, named "holder" 2) within first frame of MC, entered in.. loadMovie("home.swf","holder"); Nothing is showing, I'm not sure what I'm doing wrong. If you can help, I can send you the files I'm working with.

View 2 Replies

IDE :: LoadMovie Is Being Resized?

Jan 30, 2009

I am working on my first flash website and have been working on loadMovie & unloadMovie. The commands have been working for me and it will load & unload the external .swf in a contentHolderMC. The problem that I am encountering is the loaded .swf width is correct but the height is being reduced, I would guess to about 75%. Is there a way to maintain the external .swf's size? Even if I need to put the code into the external .swf.

I have tried creating a mask inside the contentHolderMC to match the size of the external .swf. When I have looked around for clues to the resizing, I am finding tutorials on how to resize the external .swf into a smaller Movie Clip. That's not what I am trying to do.

View 2 Replies

IDE :: Set Size Of Swf Using LoadMovie?

Feb 11, 2009

I have this problem: in my swf on frame 100 is a code:

Code:
loadMovie("second.swf", _root.clip1);

I have mc with isntance name: clip1 The movie second.swf loads into the position of clip1 but it's originally very big and I want it to make it smaller so it will fit to my site, if possible i would also like it not to be resizeable (so when someone will have smaller browser window it wouldnt move)

View 4 Replies

ActionScript 2.0 :: LoadMovie Over Top Of One Another?

Oct 1, 2003

I need to be able to load the movies over the top of one another so that you can still see the movie under it....Can this be done ?????

View 8 Replies

ActionScript 2.0 :: Using LoadMovie In Advance?

Aug 18, 2009

I'm making a game where every level is a separate swf. The problem is, when each level starts, it doesn't load entirely before displaying on the screen, and gives me unpredictable results. I also don't want load waits between each level.Is there some way to do all my loadMovie's at the start, loading them into some place where they wont actually be on the stage, and then calling them out one by one as you play each level of the game?

View 3 Replies

ActionScript 2.0 :: LoadMovie .swf From Another Folder?

Dec 4, 2009

I'm having a problem loading a external.swf from another folder outside of my main.swf. This external.swf is being loaded into a empty.swf movie clip. It works when the external.swf and the main.swf are in the same folder, but when i place the external.swf into a images/folder and change the action toloadMovie ("images/external.swf", "main"); it no longer works. Did i target it wrong?

View 1 Replies

ActionScript 3.0 :: LoadMovie From Php Data

Jul 20, 2010

I'm not much of a flash programmer, and am a bit lost. What I want to do is the following. I'll have a SWF with two layers, which is being called from a PHP page on my site. The top layer is just an invisible button, and I'd like it to link to a URL that I provide from the PHP page. The bottom layer I would like to load a separate SWF file, whose path I can also provide from the PHP page. I have the URL and the SWF path working just fine in PHP, but I don't know how to pass those values to flash, or how to get loadMovie to work like I want it. Can anyone provide some guidance?

View 7 Replies

ActionScript 2.0 :: Preloader For LoadMovie?

Jun 4, 2011

First things first, please don't recommend I change to AS3 for this. I know, but It's far too late for that and not my project to be dictating..So I'm loading some external swfs in with the loadMovie command, in the normal manner with a button:

Code:
on (release) {
loadMovie("swfs/example-1.swf", _root.container);
}

But what I need, is to wedge a preloader in there somehow. As the swfs are around 1mb each.I'm already using the following as a preloader for the main file, so an adaptation of it would be very welcome so I can co-ordinate the graphics.With this on frame 1:

Code:
var amountLoaded:Number = _root.getBytesLoaded() / _root.getBytesTotal();
preloaderText.text = Math.round(amountLoaded * 100) + "%";
And this on frame 2:[code].....

View 1 Replies

ActionScript 1/2 :: LoadMovie Without Container Mc

Oct 9, 2009

Im using AS2. Now, i got this trouble: when i load an external movie into the main one, i had some errors if i put it into a containter mc, with this code: Code: loadMovie ("movie.swf", containter_mc); The scroll bar not only move the movie.swf object, but the container_mc too... So, i just load the movie without using a container, with this code: Code: loadMovie ("movie.swf", 2); And suprise! now the scroll bar works just fine. But... How can i position the movie into the main one? Like: movie._x = 200; movie._y = 200; How can i do that in the right way? (Sorry, but my english its not good enough ha! )

View 2 Replies

ActionScript 1/2 :: LoadMovie - How To Know Which Is Loaded

Feb 16, 2011

I'm loading many movies in a moan movie into mc instance name "movieHolder" I need something to happen only IF the first movie is not loaded. How can I check WHAT movie is currently loaded in movieHolder?

View 14 Replies

ActionScript 2.0 :: CreateEmptyMovieClip + LoadMovie?

Jun 22, 2011

The "scroll_right" image shows up, but in Debug, _root.win_Main.scroll_right.bar does not exist after this code is called. However, _root.win_Main.scroll_right DOES exist.

Code:
var win:Object = _root.win_Main;
win.createEmptyMovieClip( "scroll_right", win.getNextHighestDepth() );

[code].....

View 5 Replies

LoadMovie Won't Work On Second Jpg Load?

Mar 10, 2011

I have a flash movie that loads an external image into a movieclip with the following code:

Code:
//Load image
loadMovie("myimage.jpg",_root.moviebox.picturebox);

[code].....

View 1 Replies

ActionScript 2.0 :: Loading 2 Swf With LoadMovie?

Feb 24, 2009

I want is it load an external swf on the click of a button, then unload it to load another swf on the click of another button. heres a sample code of what did.

Code:
stop();
//loading first movie
container.loadMovie("movie.swf");

[Code]....

View 0 Replies

ActionScript 2.0 :: LoadMovie Without Using Container MC

Oct 9, 2009

I am using AS2 to create the whole movie. Now, I got this trouble: when I load an external movie into the main one, I had some errors if I put it into a containter mc, with this code:

Code:
loadMovie ("movie.swf", containter_mc);
The scroll bar not only move de movie.swf object, but the container_mc too...

So, I just load the movie without using a container, with this code:
Code:
loadMovie ("movie.swf", 2);
And surprise! now the scroll bar works just fine.

But, How can I position the movie into the main one?
Like :
movie._x = 200;
movie._y = 200;

View 1 Replies

ActionScript 2.0 :: Output To LoadMovie?

Oct 23, 2009

Im working on a site with influences from this tutorial[URL]..It is basically a tutorial how you can make a 3D rotating carousel witch picturens from an external xml-file.

Although in the tutorial he makes the "buttons/pictures" go to an "output". I whould like it to go to another movie (loadMovie)

[Code]...

View 9 Replies

ActionScript 2.0 :: Resize Through LoadMovie?

Jan 13, 2010

I am using the folling to load a game into my flash site

ActionScript Code:
var container:MovieClip = this.createEmptyMovieClip("container", this.getNextHighestDepth());
container._lockroot = true;
container.loadMovie("Mobile2.swf");

It works fine but I have another game which is too big in its raw state. Is it possible to scale it using actionscript so when it loads it loads with requested dimensions?

View 3 Replies







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