ActionScript 3.0 :: Invisible Loaded External Swf?

Apr 16, 2009

my AS loading my external is this

Code:
stop();
import flash.net.URLRequest;
import flash.display.Loader;
import flash.events.Event;

[code]....

View 10 Replies


Similar Posts:


ActionScript 3.0 :: Dynamic Text In External Swf Invisible When Loaded Into Parent?

Apr 18, 2010

My website is coming along nicely, just starting to add some content and to make it nice and easy for my client to edit their own content i thought I'd make all the text external.

Works fine in the external swf, when I publish that file alone the text shows up perfectly. But when I load this same swf into the parent movieclip (the main website) the text is invisible. I've put in a trace function and the parent MC can output what is in the dynamic box, but it's invisible in the player.

View 9 Replies

ActionScript 2.0 :: Make A Loaded .swf Invisible With A Button?

Mar 4, 2011

I Want to load an external .swf in a movieclip which is my container "contenedor_somos" when i click on a button. What i want to do next is to make that .swf to dissappear or unload or whatever when i click another button.

View 3 Replies

ActionScript 2.0 :: Visible And Invisible Loaded Images?

May 26, 2008

I have got some images that i have loaded flash from another website.

i have used the tween function to make it move about. i would like to know if there is a way to have many images in the same symbol and change there visiblility so that you can only see one at a time. when i use

Code:
_root.images.image1._visible = false
_root.images.images2._visible = true

[Code].....

View 1 Replies

ActionScript 3.0 :: Invisible Button Doesn't Work In Loaded Swf

Aug 12, 2009

i have a main loader swf file called loader.swf and it loads 10 swf files inside a container. the 10 swf files have invisible buttons and when i test the 10 swf files alone the invBtn-s are work fine, but when i load them with the loader.swf the invBtn-s simply don't work or react the mouse or anything...

View 1 Replies

ActionScript 2.0 :: Dynamic TextFields' Text Becomes Invisible When Loaded Into Another MC?

Feb 23, 2010

I have inherited a huge application (several thousand lines of code spanning roughly 40 files) to which I must add some functionalities. Now I haven't even started on modifying the code yet because of a problem when loading the Flash file. The Flash files represent a whole website "creator" or "manager" depending on how you see it. It allows end-users to add buttons, images, text fields, etc. inside which other buttons/images/texts can be added. Basically, it's some kind of WYSIWYG editor. I did not create this but I agreed to work on it for some time if I can get it working.

There is a main file, aptly named index.swf, which loads other files (the website file, or the text editor file, etc.) according to what the user is trying to do. If a user is simply viewing the website, then it displays the website. If a user is modifying the website (after authentication), it displays the website AND a management interface, which allows the user to add, modify or remove controls on the site.My problem is that all TextFields display their content (the text) properly when the website is displayed but they display nothing when the management interface is displayed. In other words, a user viewing the website will see all texts in it; a user modifying it will not.

The way this works is that the main SWF (index.swf) creates an empty movieclip for the website and loads the website (another SWF) inside it. Then it creates other movie clips and loads other SWFs inside them for the management interface.The TextFields inside the website SWF contain the appropriate text and have an appropriate font set up (I am able to display it using Alert.show) but their textHeight and textWidth properties are 0, which to me is not normal.

View 4 Replies

ActionScript 2.0 :: Dynamic Text Invisible When Swf Loaded Into Main Movie?

Sep 8, 2009

I bought some flash templates and have a big problem. When using some flash movie with dynamic text when I run it standalone - its working 100%. If loaded into main movie then static text,graphic, actionscript is working fine but all dynamic text is not visible. Something in main movie is making dynamic text invisible. Please guys some help will be great - I spend already 3 months trying to figure out problem but with no luck.

clientarea.fla is the main movie client area, praguese are XML config files for main movie -rename from txt to xml movieloader - is loader which have to be used to load swf to main movie

View 4 Replies

Professional :: Immediate Need Is To Take External Swf / Add Invisible Button Overlay / Click To URL

May 14, 2010

I am trying to close on as I am attempting to get this incorporated into my website. It came with the recommendation to try the CS5 today to see if this will meet the requirement at the moment.There is a desire to take custom SWF files (I think there is something called Swish files too?) from various sponsors for advertisement purposes and place them on my website.The implementation was straight-forward to make them work through the webserver.I tried a custom example of making a button that upon mouse click would open up a new webpage in CS5 which did work for me.My problem is since the SWF files are finalized, there is no way to put URL information into those files.After doing a lot of searching around today, it appears that the best way to redirect a user upon click of a video is to:
 
1) Open up a new Flash
2) Import the SWF video file into the project
3) Create a Invisible Button over top the SWF video so when the user clicks, they are redirected to a specific URL.
 
But for some reason, when I tried to overlay it with a sample SWF file I imported, there was all this flickering going on to where both were made transparent to one another on the screen not to mention the video wasn't even visible at all.My hope was that the SWF video could be seen clearly while the button remained invisbile to handle the click on the video.Is there someone on the forum that is able to guide me fairly quickly with a fast-path procedure so that I can try this?

View 16 Replies

ActionScript 2.0 :: Multi Mc At Once - Create A Invisible Mc With In 2 Other Invisible Mc's

Aug 27, 2004

Is it possible to create a invisible mc with in 2 other invisible mc's and if so would there be any complications. Im trying to do something similar and it gets to the second layer but then doesnt want to load the third inv-mc. Like loading an external swf to a container mc then in that same mc have another external load and then another.

View 3 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 :: Unloading A Loaded External SWF With A Close Button On The External SWF To Unload?

Aug 15, 2011

[URL]I have: main.swf (a menu) and I have module.swf (content)If you navigate to Subsea Wellhead Systems/SS-15 BigBore II and click on that I have it load an external swf which covers most of the parent. So far so good. My problem is unloading the loaded 'Child' swf with the button provided on the loaded 'Child' swf.below is the code I used to load the file but I cant, for the life of me, find a way to unload it. 
 
var bigboreLoader:Loader = new Loader();btnbb2.addEventListener(MouseEvent.MOUSE_UP, bigborecontent);
function bigborecontent(event:MouseEvent):void{var bigboreRequest:URLRequest = new URLRequest("moduletemplate.swf"); bigboreLoader.load(bigboreRequest); stage.addChild(bigboreLoader);
 
I am certain it requires the Child to communicate with the parent somehow but I am at a loss. If I could get a bit of advice or a link to something deal with this, it would be a big help. I just need to have my links load my modules and the remove them when the close buttong is hit on the loaded swf. I promise I have done searches and I admit I have found asnwers but still they are not working. I found the code below:
 
Main FLA: 
function removeF() {
removeChild(bigboreLoader);
}

[code]....

View 10 Replies

Flash :: Loading / Unloading External SWF Using Buttons From Loaded External Files

Feb 23, 2011

I spent almost a week trying to figure out how to unload a currently loaded swf using its button and loading a new swf... I have three files, a main.fla, file1.fla and file2.fla. In my main.fla, I have a code which loads the other two files. If i will click the "unload" button in the file1.swf, I would like the main.fla to unload the file1.swf and load the other file, file2.swf. Here is the code to load the file1.swf:

[Code]....

View 1 Replies

ActionScript 1/2 :: Load An External Xml In An External Loaded .swf

Jul 24, 2009

I've got a small (more than 100 hours of thinkwork up till now!) problem I can't seem to solve:

I want to populate an external loaded swf with an dynamicly loaded xml fil (loaded from my config.xml).

[Code].....

how do I get the external xml into the external swf as a variable for the actionscript in the external loaded swf (So I just want to put the path in the script in my external swf...).

View 5 Replies

Actionscript 3 :: Stopping An Externally Loaded Swf From "playing" When Another External Swf Is Loaded?

Nov 8, 2011

I have a homepage with five "links" to each swf. Now the first swf I have a custom cursor that hides the mouse. When I click on that link it plays and when I quickly go to the homepage again it hides the mouse there when it's not supposed to do it.

Same with every other link. When I was busy with the first swf and want to go to the last swf of the five, my mouse just disappears! It is almost as if it keeps on "playing" without seeing the swf...

Here is the code that I have so far!

var currentpage:uint = 0;
//one loader object per project:
var loadingobject1:Loader = new Loader();
loadingobject1.x = 445;

[Code]....

View 1 Replies

ActionScript 3.0 :: Text Is Loaded From External Text Files And Styled With An External Css File?

Jun 7, 2009

I've managed to piece together a flash website with my limited as3 knowledge. The text is loaded from external text files and styled with an external css file.

It's working perfectly in Firefox and Explorer but it only works SOME of the time in Safari (on my mac).It's hit and miss. Sometimes it styles the text sometimes it doesn't.

[Code]...

View 1 Replies

JavaScript :: How To Know If External SWF Loaded

Mar 20, 2012

I have javascript that loads external swf, appending tags "object" and "embed" when page has been loaded. I need to handle event when swf is completely load.

View 1 Replies

Actionscript 3.0 :: Loaded External SWF?

Jun 11, 2009

Can an external SWF, loaded using the Loader class, pass info to the host SWF?I am loading an external video player into an interface(host) and would like for the video player to tell the host that the video is done playing so that it can move on to the next one.

View 5 Replies

ActionScript 2.0 :: Being Loaded As An External Swf?

Mar 8, 2006

I'm having issues with my flash based contact form that uses PHP. My site is set up with a main movie and each page is loaded into that main movie as external swf's. The contact form loads in fine, it allows me to type my name, email, and message and then send. It even responds saying that the function worked and takes me to my success frame label. The email sends but when I open it up in my inbox none of the information is there. My labels are there from the PHP file but none of the information I entered into the form shows up. However, when I reset the paths in the actionscript and just view the swf online directly (not loading it into the parent movie) it works just like above but I can see the information I entered into the contact form, in the email. it works perfectly. so somewhere my actionscript is wrong when it's being loaded as an external swf.

[code]...

View 1 Replies

ActionScript 2.0 :: External SWF Not Being Loaded Where It Should Be

Jun 14, 2006

I am trying to load an external swf-movie into my main swf, thou the swf loaded isn't being placed where I want it. So I created a main swf and in that swf I made a new layer and made a rectangle called holder, which holds the different movies being loaded. And then I created a layer made a smaller rectangle called loader which is suppose to load the external swf, but the loaded movie isn't being loaded into the loader-rectangle, it's being placed somewhere else in the main swf, I don't understand why.

However, here comes the code:
var mcl:MovieClipLoader = new MovieClipLoader();
var mclL:Object = new Object();
mclL.onLoadProgress = function(target,loaded,total) {
loader.percent.text = Math.round((loaded/total) * 100) + "%";
} mclL.onLoadInit = function() {
loader._visible = true;
loader.percent.text = "";
} mcl.addListener(mclL);
mcl.loadClip("news.swf",loader);

View 5 Replies

ActionScript 3.0 :: Accessing Loaded External Swf?

Mar 30, 2009

I am using a zoom component which i purchased recently to load different external swfs on different button clicks. But instead of loading separate external swfs I would like to load a single swf and go to frame labels - "one", "two", etc. - I've been reading about casting the external swf as a movie clip, but I am confused how this would work with the code I have at the moment.

var image:String="introlocal.swf";
function loadContent () {
var myLoader:Loader = new Loader();

[code].....

View 1 Replies

ActionScript 2.0 :: F8 Unloading An External Swf Once Loaded

Mar 31, 2009

I have a main movie menu which has sub movies loaded into levels 1 then section 2 into level 2. I have the subs loading on button but i cant get the subs to unload levels 1 and 2 once they have played.

View 7 Replies

Preloader Will Not Show / When External Swf Is Loaded

Jun 1, 2009

I have my main movie, and from there an external movie is loaded which has a scrollpane on it. Problem is the preloader will not show when the external swf is loaded...when the button is clicked, nothing happens for about 3 seconds and then eventually the scrollpane comes up. I have the preloader on Scene 2, and it works for all my other external swfs so I know its the scrollpane issue.[code]I have tried have the "export to first" frame linkage thing but that doesnt work... does anyone know how best to do this?

View 2 Replies

Doesn't Work When Loaded Into External Swf?

Aug 30, 2011

I've only been working with flash for about 3 weeks and I'm fairly new to programming soI'm using Flash CS5 with AS3 btw.

Code:
///////////////////////////
// Custom Mouse Controls

[code]....

View 2 Replies

Professional :: Check An External Swf Is Loaded?

May 31, 2010

I'm loading an external .swf via typing the swf name into an input text field and hitting a submit button.

The swf loads fine, but I'm trying to incorporate updating a status text field on a successful load or if there is an error during loading.

I can't find my mistake in the code - to me it should be making load_status_txt display "ok", but the swf just loads with no status update. All the text fileds are fine, because if I code load_status_txt.text = "hello" straight after addChild(loader); - load_status_txt displays "hello"[code]...

View 3 Replies

ActionScript 3.0 :: Communication With External Swf Loaded Into Mc?

Sep 6, 2011

wf which loads an swf into a movieclip called content_mc here is the code located in the blank swf
 
startLoad ("startPage")
var loadedSWF:Loader
var content_mc:MovieClip=new MovieClip();
function startLoad (SWFname:String){
loadedSWF = new Loader ();

[Code]...

View 12 Replies

ActionScript 3.0 :: External File Is Loaded Or Not?

Sep 27, 2011

I have one text file which i am loading externally from my local machine. I am trying to read some variables from this file.
 
my problem: if the text file somehow fails to load in flash then it should load variables from HTML file from which my swf is running. But i am not able to check if this text file is loaded or not.
 
my code: (working if text file is present)
 
///Local Variables Loading//////
var myLoader:URLLoader = new URLLoader();
myLoader.dataFormat = URLLoaderDataFormat.VARIABLES;

[Code].....

View 2 Replies

ActionScript 3.0 :: External Swf Classes Loaded?

Mar 5, 2012

I have external swf (ext.swf) that is loaded in my FlashDevelop as3 project.When I make check (objectsList[0] is Class1) I am getting false even though the objectsList[0] element is Class1. The Class1 is in the ext.swfBut when I write command like (objectListInExternalSwf[0] is Class1) in external swf and then use that swf in my project and make check (objectsList[0] is Class1)My question is: do I have to use all the classes in my external swf so the compile

View 1 Replies

Actionscript 3 :: External Swf Classes Loaded?

Mar 5, 2012

I have external swf (ext.swf) that is loaded in my FlashDevelop as3 project.When I make check (objectsList[0] is Class1) I am getting false even thoughthe objectsList[0] element is Class1. The Class1 is in the ext.swfBut when I write command like (objectListInExternalSwf[0] is Class1) in externalswf and then use that swf in my project and make check (objectsList[0] is Class1)I get true. My question is: do I have to use all the classes in my external swf so the compilerhave to put them in the swf so they can be used in other projects where the swf is loaded as external?

View 1 Replies

ActionScript 2.0 :: External Loaded Swf Can't Read It

Jan 16, 2009

My problem is that all the action script contained in the musicplayer.swf seems not to work when I load the whole musicplayer.swf in the main movie.[code]...

View 9 Replies

ActionScript 3.0 :: Instance Name Of Loaded External Swf?

Jun 24, 2009

I have successfully loaded an external swf. When load is complete, I add the loader target content to a movieclip but I've got problem accessign it after.

ActionScript Code:
// siteLoaderComplete
function siteLoaderComplete(e:Event)
{

[Code].....

The only problem is that it that right now, it add a child with a instance name of 'instance5' in site. But how can I change 'instance5' for another term like 'myContent'??

I need to be able to access content from the loaded swf.

View 1 Replies







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