ActionScript 2.0 :: SWFs Loaded Into Holder - MovieClip Slightly Distorted

Jul 2, 2009

I've created a holder on my site into which I'm loading individual .swf movies using a separate 'interface' at the side. Each swf is a slideshow of jpeg images, but for some reason they are becoming slightly stretched/distorted (maybe a single line of pixels is repeated) when they appear in the holder. The holder size is 1000x600, each swf has the same size, same dimensions for each jpeg too.

An example code for a button to load the swf into the holder is:
on (release) {
_parent.holder_mc.loadMovie("interface_7_movie.swf ");
}
Is there anything I need to add to prevent the weird distortion?

View 1 Replies


Similar Posts:


Professional :: Button Text Slightly Distorted When Viewed In Browser?

Mar 21, 2010

My first time making anything in flash, so go easy on me. I made a set of navigation buttons for a website I'm building for a friend of mine.
 
When I make it in Flash, everything looks perfect. When I save it as a movie and run on my computer (in Flash Player 6), it still looks perfect. But when I put it on my website, the "M" in "HOME" gets distorted (on all browsers). See here: [URL]
 
Using Flash MX, can't afford the upgrade to CS right now!

View 1 Replies

ActionScript 2.0 :: Attach MovieClip Inside Loaded One From Library Of Holder

Jan 18, 2007

I've used MovieClipLoader to load a movieclip into my holder. Everything works out fine, the mc loads and it's all good. But then, inside the loaded mc I use attachMovie to attach a movieclip from the library of the holder. It won't attach, but it will attach if I re-create the specific mc in the loaded mc's library. Does anyone know how to get around this?

View 1 Replies

ActionScript 3.0 :: Loaded SWF Into A Simple "holder" Empty Movieclip - TypeError: Error #1009

Jun 16, 2009

I have a loaded SWF into a simple "holder" empty movieclip I have on the root stage. Inside that SWF I have two variables that have "stage.stageHeight" and "stage.stageWidth" in them. If I leave them on the code and test the root movie I get this error: TypeError: Error #1009: Cannot access a property or method of a null object reference. So basically I can't seem to get the variables to get the parent stage.

View 1 Replies

ActionScript 3.0 :: Find A Slightly Darker And Slightly Lighter Colour Based On A Particular Value?

Dec 30, 2010

I was wondering if there is a way to find a slightly darker and slightly lighter colour based on a particular value?

I have a MovieClip with 2 nested MovieClips inside. The background movie I set to a certain colour using ColorTransform and the other movie is sort of shading.

What I'm trying to do is make sure that I transform the shadings colour to be a darker shade of the background movie's colour.

I was also thinking could I then have a mid point where if the background colour is really dark have the shading start to be a certain shade lighter?

View 1 Replies

ActionScript 2.0 :: CS3 Buttons In Loaded Swfs Loading Other External Swfs Into The Main Timeline?

Sep 11, 2009

I have a main fla file which loads an external swf into an empty movieclip on the main timeline which works fine but I want a button in the external swf to load another external swf into another empty movie clip on the main timeline.eg. start.swf loads UKEIAMap.swf into (empty movie clip within start.swf) MapLoader_mc then a button havant_b within UKEIAMap.swf needs to load HavantProjectSheet.swf into (empty movie clip within start.swf) ProjectSheetLoader_mc without unloading UKEIAMap.swf

View 3 Replies

ActionScript 2.0 :: Check The Currentframe Or Totalframes Of A Movie Loaded Into A 'holder Clip' On The Main Stage?

Feb 7, 2006

Is there any way to check the currentframe or totalframes of a movie loaded into a 'holder clip' on the main stage? Everything i try just comes back with 1 frame despite there being more than that?

View 3 Replies

ActionScript 2.0 :: Loading External Swf Into Movieclip Holder?

Jan 6, 2011

note I have to change some file names and urls for company privacy.I am working on an online banner ad which tight size requirements. In order to stay under the file size, I want to load an external swf housed on our server into an empty movie clip on a button press. I have this working with the following code on a button:

on (release) {
loader_mc.loadMovie("location where swf file is housed");
}

I then want to unload this movie if a different button is pressed. However I am receiving the following error.

*** Security Sandbox Violation ***
Connection to file: XXXXXXXX halted - not permitted from "location where swf file is housed"
-- Remote SWFs may not access local files.

How can I unload this external swf file from my move? Again the external swf file is housed on our sever and the main swf file will be housed with the place we are advertising.

View 0 Replies

ActionScript 3.0 :: Button Swap Image In Holder Movieclip?

Dec 4, 2008

what I'm tryingto do is have a row of buttons that when clicked change the imageheld within a holder movieclip. I have a button with instance name"adept" and a holder movieclip with instance name "holder". this isthe code i have so far, i have barely started:

adept.addEventListener(MouseEvent.CLICK, Click);
function Click(event:MouseEvent):void {
eventNotice.text = "MOUSE CLICKED";

[code]........

View 3 Replies

ActionScript 2.0 :: Loading Other Swfs From Loaded Swfs?

Aug 2, 2006

Flash - 8 : Above is an example of what I would like to do/have done. I've gotten as far as loading the "loaded.swf" into the "start.swf" but my problem is I'd love to use that little loading action I made earlier without copying and pasting into the new movie the same actions for a different link. So, how do I load "loaded2.swf" into "loaded.swf" via the link in "loaded.swf"?

View 1 Replies

ActionScript 3.0 :: Load Swf From A Child MovieClip Button Into A Holder On Parent Stage

Apr 10, 2011

I am trying to load a swf into a holder movie clip from the child movieclip.It's parent has a holder that i want to load a swf into.I am navigating from within a child clip.It would be nice to have the swfs load from an external xml file but it isn't mandatory.

View 3 Replies

ActionScript 3.0 :: Comunicating Between Loaded Child Movieclips And Parent Holder Movieclips?

Aug 6, 2010

I m trying to make sense of how to load a swf into a parent MovieClip and allow them to communicate.I ve attached two zip files � one which works fine and the other doesn�t. Unfortunately (for me), the one which doesn�t work is closer to my current project.I need to load movieclips into the parent movieclip. The parent movieclip has controls which rely on values parsed from the child movieclip.In the parent movieclips I wait until the loading is complete and so the values should be passed. However, the values aren�t passed unless I use a button (or timer), to pass the values (see the working exampes).The code which doesn�t work is:

Parent movieclip:

ActionScript Code:
stop();
var myLoader:Loader = new Loader();[code].............

View 5 Replies

ActionScript 3.0 :: Loaded Swfs Not Working When Loaded Through Xml?

Jun 10, 2010

I have a "photo" gallery that loads numerous SWFs through xml, one by one on click. All works fine. All my SWF work fine stand alone. But when I load them into the player, many swf dont work properly.in example, I have textinput textfields in many of the swfs, which work fine on their own but not when loaded into the player. Then I have a word search game that works fine when alone, not when in player. I can see there is something as my mouse cursor changes into the "button finger", but nothing visual.

All drag and drop assigments work fine etc. I have no idea whats up. I have receantly switched to as3 and in as2 there was _lockroot declaration that solved similar problems, but now in as3 (where it supposedly should be automatic) it doesnt work. As it seems that it cannot recognise it own stage value, or selection_focus when loadedinside another swf through xml.Using cs4, as3.

View 4 Replies

ActionScript 3.0 :: Dynamically Load A SWF Into A Blank MovieClip Called "holder"?

Jun 3, 2009

I'm trying to dynamically load a SWF into a blank movieClip called "holder" and control it by instance name on MOUSE_DOWN. I'm sure this is easier than I'm making it but the SWF just has a bunch of frames and i want to use one script to scrub through the frames but i can't figure out how ot get the instance name (or whatever) of the movieClip.

// Load movieClip into "holder" movieClip
var loader = new Loader();
holder.addChild(loader);
loader.load(new URLRequest(btn_SWFname));

[code]....

View 1 Replies

ActionScript 3.0 :: Using New() On Loaded Swfs?

Aug 7, 2010

Usually when I want to create multiples instances of a same movieclip (that's already in the main .fla library) I use new mcClassName()but what if the clip is external, for example Ball.fla, Ball.as and Ball.swf? I've loaded Ball.swf into the main .fla and I don't know what to do now

View 4 Replies

ActionScript 1/2 :: Loaded Swfs Distorting?

May 5, 2009

I've made a simple portfolio web site which loads a swf file containing the navigation at the top and then the navigation loads individual swf files containing full page images.The problem is the full page images are distorting very slightly when they are loaded in. I've attached two images, the first image (picture2.png) is how looks when I just open the image's swf file, and the second image (picture3.png) is how it looks after its loaded in by the navigation.

View 2 Replies

ActionScript 3.0 :: Unloading Xml Loaded Swfs?

Sep 29, 2008

how to unload the swfs in as3 once you click a button to load a new one.

My file works great, with the exception of the videos playing over each other. slight bummer.

I have five buttons that each pull an external swf that is controlled by an xml file. If there were not sound it would not be an issue, but the sound overlaps if you click to the next link before the first video finishes playing.

I uploaded all the files here, including two test flv files. the files were too big to upload to the kirupa forum.

[URL]

View 3 Replies

ActionScript 2.0 :: Two SWFs Loaded - Possible To Control One With Another

Nov 22, 2009

I m loading 2 .swf in one flash file and want to control one with another. The first contain small animation and other has play and stop button. Now I want to control that animation with these 2 button.
Files details:
test1.swf: It has the animation
test2.swf: It has the 2 buttons
test3.swf: It is the main file, in which I m loading the 2 files i.e. test1.swf and test2.swf

View 1 Replies

ActionScript 3.0 :: Keep Menu On Top Of Loaded Swfs?

Jan 9, 2011

This may seem a stupid question but I just started learning AS3, Is it possible to keep my menu on top of externally loaded swfs? My menu is sitting on the main timeline as movieclip and the externally loaded swf overlap my main timeline completely completely covering my menu.[code]....

View 5 Replies

ActionScript 3.0 :: Scope Of Loaded SWFs

May 5, 2011

I recently changed the setup of my project from only having one SWF, to loading in my main SWF through a preloader. I'm facing a problem of scope. My old code for targeting things no longer works. This is it.

ActionScript Code:
if (this.parent.contains(Credits)) {
Credits.gotoAndPlay(120); CreditsText1.gotoAndPlay(120);
}

What would I change this code to in order to target the exact same spot in my loaded SWF? I should add that all my code is in an external .as file, which is set as the DocumentClass for the loaded SWF. I've tried both "this.parent.parent.contains" and "this.contains" Neither worked.

View 5 Replies

ActionScript 3.0 :: How To Keep A Menu On Top Of Loaded Swfs

Jan 8, 2011

Is it possible to keep my menu on top of externally loaded swfs? I believe it should be but I just cannot figure out how to do it. I have searched around and I believe I should use something like addChildAt but when I try to use it in the main menu actionscript my external swfs do not load anymore.. My menu is sitting on the main timeline as movieclip and the externally loaded swf overlap my main timeline completely completely covering my menu...

View 3 Replies

ActionScript 2.0 :: Possible To Controlling Loaded Swfs?

Apr 21, 2004

What I'm trying to do is create buttons in one swf that load another swf and also give instructions to begin playing from a certain frame in that swf. The target swf has a preloader on frame 1 and then a movie clip that contains a video in frame 2. Depending on which button the user presses the video will be cued up ready to play at different frames. think it may need an if statement ie if x=34 then goto frame 34, but I can't seem to pass the variables to the loaded swf.In the zip file is an example of what I'm trying to do.

View 10 Replies

ActionScript 3.0 :: Accessing Variables In Loaded SWFs

Oct 12, 2009

If I load an SWF file, is it possible for the pre-loader to access and change a string variable inside the loaded swf? Is there any special way to do this or would it be a simple case of loadedMC.variable = "new value"

View 3 Replies

ActionScript 3.0 :: Make Transitions Between Loaded Swfs?

Oct 13, 2009

I am trying to make transitions between loaded swfs. Below is my code. I know I need to add to one of the functions to make it play the "out" transition before the new swf is loaded. Each swf has a timeline with a stop frame and a frame labeled "out". The below script allows me to press buttons and load the coresponding swf to the stage.

Code:

package
{
import flash.display.MovieClip;
import flash.display.SimpleButton;

[code]....

View 21 Replies

ActionScript 3.0 :: Accessing Variables In Loaded SWFs?

Mar 16, 2011

If I load an SWF file, is it possible for the pre-loader to access and change a string variable inside the loaded swf? Is there any special way to do this or would it be a simple case of loadedMC.variable = "new value"

View 2 Replies

ActionScript 3.0 :: Loaded External Swfs With Transitions

Oct 26, 2009

I need help getting my loaded swf files to play the "out" transition before the next movie loads. I have a main swf with 5 buttons (movie clips) that load external swf onto the stage.[code]The loaded swf has a stop() an intro animation and on the last frame have.dispatchEvent(new Event("removeMe", true));

View 6 Replies

ActionScript 1/2 :: OnLoadInit - Go To Frame When All The SWFs Are Loaded?

Apr 28, 2010

This code is not functioning! How do I amend this code to go to frame 5 when all the SWFs are loaded?

[Code]...

View 2 Replies

AS3 :: Xml - Space Externally Loaded Swfs With Different Heights?

Feb 17, 2011

I'm loading in swf files into a holder swf and want to position each loaded swf underneath eachother with a 10px margin.

This is what I have so far, Its pulling in all the data correctly now just want to position the loaded swfs.

import flash.display.LoaderInfo;
var swfLoader:Loader;
var xml:XML;

[Code]....

View 1 Replies

ActionScript 3.0 :: Removing Unnecessary Loaded SWFs Already Seen?

Jan 28, 2009

I'm loading 31 SWFs in total. For example, the first one shows and it has a 'Next' button. When Next is clicked, then it loads the second SWF; and so on until reach a total of 31 SWFs.

No problem here, but thing is that while more SWFs I'm loading, heavier gets the file and little by little it's being taking longer to load. Because when I reach the 31 SWFs, I got a total of 31 childs loaded one after another.

I've been thinking in the posibility of removing the SWFs once they are no longer seen but can't find how to do it...

This is what I'm doing:

ActionScript Code:
import flash.events.MouseEvent;
import flash.display.Loader;
import flash.net.URLRequest;

[Code]....

It basically does this in every one of the 31 FLAs, so, as you can see, it goes loading and loading SWFs. Problem, as I said, while bigger the amount of SWFs loaded, slower the process gets. I'm using e.target.parent.addChild because all this is inside a MovieClip called mc.

How to remove the ones I'm no longer using?

View 4 Replies

ActionScript 3.0 :: Removing Loaded SWFs Into MC On Stage

Oct 10, 2009

I am loading external swfs into a MC on the stage. I noticed they are stacking up and not being removed or replaced. How can Iremove the previous loaded swf?

Code:
package {
import flash.display.MovieClip;
import flash.display.SimpleButton;
import flash.display.Loader;
import flash.net.URLRequest;
import flash.events.MouseEvent;
[Code] .....

View 3 Replies







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