ActionScript 3.0 :: Dim Background Under Loaded .swf

Mar 16, 2012

I'm creating a photo gallery, and I have a .swf loading when I click my gallery button..it loads on the same page. I would like to have the background image dim when the .swf loads, as it is a bit distracting under the .swf at full alpha.

View 9 Replies


Similar Posts:


Change The Background Color In Loaded .swf

Aug 19, 2009

I created a flash application which loads in many other little flash applications (.swf files) based on menu selections. When I change one of the little applications the changes are viewable except when I change the background color.

After the first time I view the application, the background color changes do not carry over to the main app. I run the little ones stand alone and they show the new color, then I run the main app and any other changes I have made are there but not the color change. When I remove the file and the load fails, the old backround color still displays in the container movie clip the .swf was previously loaded into.

I have tried several different options and the only thing that worked was renaming and copying and deleting and making a big mess. There has to be a way to force a refresh of this mysteriously saved color. doesn't there?

View 3 Replies

Flash :: Get The Background Color Of A Loaded Swf File?

Nov 16, 2009

I'm loading an swf file into my main application using URLLoader, I want to get the background color of the loaded swf file. ( I heard that one solution wold be reading the byte code of the loaded swf )

View 2 Replies

ActionScript 3.0 :: XML Loaded Gallery As Background For Webpage

Oct 21, 2009

Basically what I've got is a XML loaded gallery as a background for a web page. Now the problem I can't seem to work out is, I want to be able to define which pictures in the gallery show up in different sections of the website. For example -
homepage - images 1.jpg, 2.jpg and 3.jpg are accessible.
About Us - images 4.jpg, 5.jpg and 6.jpg are accessible.
and so on.
Similar to what happens on [URL] but without the gallery popping up. It's relay bugging me now.

View 6 Replies

Fadein A Background With A Alpha Tween After It's Loaded In By An UILoader

Apr 14, 2010

I want to fade in a background with a alpha tween after it's loaded in by an UILoader. Everything seems to be working great when I do a Test Movie (in Flash) or view it in IE. However, I encounter a problem when viewing in Firefox. Somehow the alpha does'nt come up to 1(100%). Sometimes my background image is barely visable and sometimes it's at ~90%. It seems to be completely random.

Quote:

//load random background (1 to 10)
var randomNumber:Number=Math.ceil(Math.random()*10);
trace(randomNumber);

[code]....

I've tried increasing the final value (Regular.easeOut,0,1,2,true) and this will change something but doesn't solve the problem. I've also tried instead of fading in the background to fade out a overlaying vectorshape, but same result.Is it possible it has something to do with other script/my background img size/??.

View 2 Replies

ActionScript 3.0 :: Does Loaded Content Get Choppy While Loading In Background

Apr 27, 2010

I have some preloader (timeline-based) content and some FLV's that I want the user to see while other content is loading in the background. The preloaded content and the FLV's are very choppy while the content is loading and run fine afterward. I initially thought this might be a RAM issue, but my other apps are running fine at the same time (YouTube, etc.) so I think it's an issue within my code or Flash Player. How do the really nice preloaders (animation on timeline OR FLV's) run so smoothly while background content is loaded? For example, are they independent SWF's? internalized classes exported for Actionscript? some other option I'm not privy to? Mine, for example, are internal classes in the main library that I have exported for AS.

View 6 Replies

ActionScript 3.0 :: Getting A Black Background In My XML Loaded Text Field

Apr 28, 2009

I am loading in text from an XML file, and it loads in fine but I am getting a black box behind each of my letters in my text field. I tried to cancel it out by write the background = false; but it is not working. Does anyone know why this is happening? I have loaded in hundreds of .txt files and this has never happened, but this is my first time loading in XML txt, so I am not sure what to do?

View 3 Replies

Actionscript 3.0 :: Make The Background Dark When External Swf Is Loaded?

Mar 1, 2009

I have a main stage (its a background image + buttons) and when I click a button, an external swf is loaded in the middle of the page, on the main stage.

I would like the main stage to become inactive, dark and blurry... (you know what I mean?)...every time I click a button and the the external swf appears. Then when I click on the blurry area (main Stage), the external swf disappears and the main Stage becomes normal and active again.

How could I do all that in AS 3?

All I have now is the code for the button, to open the external swf file:

Code: Select allcontacts.addEventListener(MouseEvent.CLICK, Contacts);
function Contacts(e:MouseEvent):void {
var loader:Loader = new Loader();

[Code]....

View 7 Replies

ActionScript 2.0 :: Make A Puzzle With An Externally Loaded Background?

Oct 7, 2007

I am trying to make a jigsaw puzzle where you can upload an image of a set size.Right now the only way I can think to do that would involve loading the same image for each piece, which I don't want to do for performance reasons.Is there a way I can make an instance of a movieClip the same as the instance of a different movieClip?

View 1 Replies

ActionScript 2.0 :: Dynamically Loaded JPEG For Tiled Background?

Oct 15, 2007

Is it possible to dynamically load a JPEG image and use it as a tiled background for a fullscreen flash movie?Everything I see online is for bitmaps already loaded in the library.

View 1 Replies

ActionScript 2.0 :: Code Which Can Check To See If The Background Swf Is Already Loaded Into Its Container?

Jan 9, 2008

I am creating a site where there is a portfolio section with icons for each piece of artwork.Regardless of which icon 1-10 is clicked, for the first time ONLY, I want to load a swf which "draws in" a portfolio "background", and another swf on a higher level which corresponds to the icon clicked (lets say a sample artwork).

However, if the user has previously clicked another portfolio icon and is currently viewing one of the portfolio pages, there is no need to load the "background" swf again (it would be tedious watching the drawing in animation over again).

I've designated a target container movieclip for each.The icons swf file with the buttons is another swf on the timeline.Is there some code which can check to see if the background swf is already loaded into its container? And in which swf would I attach the code?

View 3 Replies

ActionScript 2.0 :: Disable / Cover Background When External Page Loaded

May 3, 2011

I have a full screen webpage with an elastic bg that is created mostly through AS, XML, and external .swf's. The main menu links to pages (other external .swf's with dynamically loaded content) that look sort of like popups over the graphic content of the main background (img2). There are two problems, 1) there are other buttons on the main page that the user can click when viewing a page and 2) the popups come down directly on the content and make the whole site look rather flat.

I am trying to create a background for each of the pages that has the same elastic qualities as the main page (so that no matter what it will cover the user's entire screen) and will disable all of the buttons beneath it. I tried adding a rectangle beneath the pages other layers, however any script I write for that mc (such as the onResize _mc.width and _mc.height or ._x and ._y) is completely ignored in the main timeline and the rectangle messes with the popup page position -- img3. Also the buttons beneath the rectangle are still active.

View 2 Replies

ActionScript 2.0 :: Loading Background Images (Externally Loaded) & Timer

Aug 1, 2011

I have a few questions... All of which have to do with this website: [URL] 1) First off, is there any way to pre-load externally loaded .jpg's so that there is no time delay between each background image? (You can see what I mean by clicking the "-" and "+" buttons on the bottom left corner. Here is the code that I'm using for the background images/buttons:

[Code]...

View 4 Replies

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

ActionScript 3.0 :: Loaded Swf Tell The Parent Loader To Unload Itself After The Loaded Swf Finishes Playing?

Sep 23, 2010

I have a shell swf that is loading a swf. How do you have the loaded swf tell the parent loader to unload itself after the loaded swf finishes playing?

View 4 Replies

Flash :: Loaded Font Doesn't Show Up When Parent Swf Creates TextField In Loaded Child Swf

Jun 14, 2011

Im working on a project that has a main swf file associated with the document class. It loads XML that provides the text content for the project, then it loads a swf that contains a font in its library, then it loads the first of several content module swfs. When the font swf has inited, I'm registering its library font with Font.registerFont(), and using it in a TextFormat object. After everything is done, I can add code to the document class to create a text field on the stage of the main swf and format it successfully with the TextFormat object, but when I try to do the same thing inside the loaded content module swf, the text doesn't show up there at all.

View 1 Replies

ActionScript 3.0 :: Loaded Font Doesn't Show Up / When Parent Swf Creates TextField In Loaded Child Swf

Jun 15, 2011

I'm working on a project that has a main swf file associated with the document class. It loads XML that provides the text content for the project, then it loads a swf that contains a font in its library, then it loads the first of several content module swfs. When the font swf has inited, I'm registering its library font with Font.registerFont(), and using it in a TextFormat object. After everything is done, I can add code to the document class to create a text field on the stage of the main swf and format it successfully with the TextFormat object, but when I try to do the same thing inside the loaded content module swf, the text doesn't show up there at all.

View 7 Replies

ActionScript 2.0 :: Preloading Flashvars - Ensure That All The Content Being Loaded Externally Is Loaded Before The Transition Plays?

Aug 30, 2005

I am in the process of building a site for an Architect... Jamie Fobert Architects (projects) I am useing transitions between the projects and am loading details/text and images externally through flashvars, php and a mySQL database. Within my transitions I have a a preloader on the forst 2 frames the code is as follows (taken from a Voetsjoeba tutorial):

[Code]....

This works pretty well if the content is within the .swf, but when it is loaded externally it doesnt preload it at all. Does anyone know how I can adapt/improve this preloader? or somehow ensure that all the content being loaded externally is loaded before the transition plays?

View 2 Replies

ActionScript 3.0 :: External XML Works Loaded Offline Not Loaded Online?

Apr 15, 2009

Code:
var slideNo:Number;
slideNo = 0;
var xmlLoader:URLLoader = new URLLoader();
xmlLoader.addEventListener(Event.COMPLETE, showXML);

[code]....

View 3 Replies

Actionscript 3.0 :: Loaded Sound Doesn't Stop / When A New One Is Loaded

May 8, 2009

I have three btns on stage, clicking on each one i want them to load an external mp3.The problem is the previous loaded sound doesn't stop when a new one is loaded so I have all sounds playing at the same time

View 3 Replies

ActionScript 3.0 :: Kill Button On A Loaded Swf That Removes Itself (loaded Swf)?

Jan 21, 2009

I have a swf loading another swf. The loaded swf has a button (mc) whose purpose is to unload (kill) itself (the swf).

View 3 Replies







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