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


Similar Posts:


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 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

Professional :: Cannot Dynamic Text On Movie Clip In Main Scene?

Sep 7, 2010

I am using Flash MX and am a complete novice to Actionscript. I created a movie clip with a dynamic text box that works fine when I test the movieClip scene.  I brought that onto the main movie time line and when I go to test the movie, the dynamic text no longer works. I have tried different actionsript options on the main time line and on the movie timeline but cannot figure out where I am going wrong. Could someone give me a very basic walkthrough as to what I need to do to get this to work?

View 9 Replies

IDE :: Make Dynamic Text Invisible

Feb 11, 2010

I'm running my head against a wall here and I'm not sure how to tackle this problem. Background I'm making some sort of movie player with subtitles overlayed on it. I'm using the root timeline for my movie timeline because this greatly increases development speed. The subtitles are created with the texttool, and I make them dynamic textboxes because I need to reference them in AS3. I cannot wrap them into a movieclip because they need to be in sync with the root timeline

The user should be able to enable or disable (effectively showing or hiding) the subtitles. The way I did this is by adding an event listener that listens to Event.Enter_Frame on the root timeline and a global boolean to indicate whether subs should be shown. In the enter frame event listener I search for the textfield by root.getChildByName (the name is the same each time) and show or hide the textfield accordingly.

[Code]...

View 1 Replies

Dynamic Text Loaded From .txt Controlling Movie Clip?

Aug 26, 2009

Basically when loading dynamic text... the .txt will have a simple yes or no inside of it... nothing more nothing less.I've been trying all morning to get a movie clip to begin playing if the value is "yes", and to NOT play if the value is "no"

Basically i have a movie clip on the main time line named WHM. and im loading a dynamic text file into a dynamic text field named player1whm.

I want to be able to change the text file to yes or no on a whim, and if the value is equal to yes... i want the movie clip to begin playing as soon as it loads that value into the box. If it says no then i want that movie clip to continue doing nothing.I have already been successful at getting yes or no to load into the dynamic text box... i just cant seem to get it to control the movie clip.

View 7 Replies

IDE :: Make A DYNAMIC TEXT Invisible At The Beginning And Toggle The View Accordingly?

Jul 25, 2009

How to make a DYNAMIC TEXT invinsible at the begining and toggle the view accordingly.The Important thing is - I need the text to be invinsible at the begining. The main thing behind my need is WHEN the user GO FORWARD and BACKWARD in the main timeline the visibility of the text box should be unchanged unless the user decide to change it's visibility by clicking "chk_tbtn1" button.

In the code below every time the user go backward in timeline, it makes the txt box invinsible.

_root.my_Dyn_Txt1._visible = false
this.chk_tbtn1.onRelease = function() {
_root.my_Dyn_Txt1._visible = !_root.my_Dyn_Txt1._visible;
};

View 1 Replies

ActionScript 3.0 :: Dynamic Text Field To Be Invisible On Rollover And When Move Mouse Off It

Sep 28, 2010

Basically I need a dynamic text field to be invisible on rollover and when you move your mouse off it, it becomes visible again. I have it working (see code below) however when the cursor is over the field and the cursor moves slightly over the area (still keeping it invisible) the cursor flickers between the normal arrow pointer and the text cursor. Is there a way I can stop this? Is there a better way to do this rollover that would prevent it?

[Code]...

View 4 Replies

ActionScript 3.0 :: Paragraphs Spacing - Line Space Flash Creates When A Dynamic Text Is Loaded In A Dynamic Text Field

Jun 8, 2009

i have a problem with the line space flash creates when a dynamic text is loaded in a dynamic text field on the stage i put a dynamic textFild with istance name "profile_text". then im loadin in it a text. my text is written in the Notepad like this

[Code]...

i already set a Textformat to my dynamic text with i tryied to play with the "Leading".. but i think it something dealing with paragraph. how i can decrease spacing between paragraphs??

View 4 Replies

ActionScript 2.0 :: Add One To The File That Is Loaded Into The Main Movie Main Movie That Is Loading The File?

Aug 3, 2003

using the command:

loadMovie(_root.section, _root.content);how would i work in a preloader bar?? add one to the file that is loaded into the main movie or on my main movie that is loading the file?

View 1 Replies

ActionScript 2.0 :: Target A Loaded Movie Within The Main Timeline And Stop Sounds In That Particular Movie Only?

Apr 14, 2004

Is it possible to target a loaded movie within the main timeline and stop sounds in that particular movie only?

View 4 Replies

ActionScript 2.0 :: Resize External Loaded Movie To Main Movie

Jan 9, 2010

my problem is that i need to make a reisze, cause the screen resolution for other users. My main and news movie works perfect, but the others movies re-scale everything bigger. The problem of the external loaded movie is: this movie needs the funktion:

Stage.scaleMode = "noScale";
Stage.align = "TL";

If i dont have this code inside the movie is not going to resize fullscreen into the main movie. Inside this movie im scalling photos and some mc's You can take a look what i mean under: [URL]

If you take a look to the bar where the Number of pictures (30) are you will see that the lower bar and the pictures is not going to scale to fill the full screen if i delete the this code;

Stage.scaleMode = "noScale";
Stage.align = "TL";

View 3 Replies

IDE :: Have 4 Dynamic Text Boxes Which Duplicates The Text From A Main Input Text Box?

Jan 27, 2009

I have 4 dynamic text boxes which duplicates the text from a main input text box. How do I write a code to make visible only the dynamic text box I want when clicked it's check box.What is the CODE to make each "DYNAMIC TEXTBOX" visible when clicked on it's checkbox?

View 6 Replies

Action Script :: Swf Is Loaded Into Main Movie?

Apr 29, 2008

My site consists of a main swf file ('home.swf') which then has other swfs loaded into it via an empty movie clip.I have created one such swf. file (news.swf) which features 2 simple scrolling text buttons (one to move text down, and the other to move it up).http:[url].....

Everything works fine when I preview the news.swf on its own, but when I preview the home.swf and view the news.swf loaded into it, the button which should move the text up doesn't work.I think it's something to do with using the term _root. but i don't know what to replace it with.This is the script I have on the button that doesn't work:

//Events during mouse click
on(press) {
_root.controller.gotoAndPlay (2);[code]........

Is it just a case of changing the _root. term, and if so what should I change it to, or is it trickier than that.

View 9 Replies

ActionScript 2.0 :: Text Won't Scroll When Loaded In Main?

May 28, 2005

I have an externally loaded text file (example1.txt) and scroller set up the way I want, and everything seems to load and scroll just fine when playing the movie (resume.swf) by itself... however, when I have that movie (resume.swf) loaded into my main movie (main.swf) I can't get it to scroll at all.

View 2 Replies

Form Loaded Into Main Movie Doesn't Work?

Mar 31, 2007

I have created a main swf file which holds a movie container which other swf's load into. One of the sections has a form in it. When I preview this section on its own the form works, but when I preview through the main swf file (or online) the text fields cannot be typed into. How can I fix this? Files can be downloaded from;[url]....

View 6 Replies

ActionScript 3.0 :: Passing Variable From Main Movie To Loaded Swf?

Sep 4, 2008

i am using flash cs3,i have a main movie that load many swf using a document class..i need to pass "userid" variable from the main movie to loaded swf so they can change their content dynamically.

View 7 Replies

ActionScript 3.0 :: Swf Loaded Via Loader Class Tell The Main Movie?

Jun 10, 2009

If I load an external swf:
 
my_loader.load(new URLRequest("abc.swf"));
addChild(my_loader);
 
abc.swf starts playing - how do I get it to tell the main movie that it reached the end of its timeline and finished playing?  Added bonus: the loaded swf is AS1 and the main movie is AS3.  I'm not sure if I could convert the loaded swf to AS3.

View 2 Replies

ActionScript 2.0 :: Caching Of Swf Fiels Loaded Into Main Movie?

Apr 28, 2005

In my main movie I am loading external swf files. The proplem is that these files are cached so when they load the updates aren't shown. I've read some stuff about loading vars or xml with a random function to prevent it from caching, can that work with swf files? Maybe something like:loadMovie ("news.swf?="+random(1000),_root.dropPage_mc);'ve placed the meta tags in the main html to stop that from caching; which doesn't really work. Could the same be applied in the html? Or maybe a php function when loading the main flash movie?

View 2 Replies

ActionScript 3.0 :: Unable To Align The Loaded Swf Exactly On Top Of The Main Movie?

Jan 4, 2011

I cannot align the loaded swf exactly on top of the main movie? To see it online check here.Note only the about button works for now...also note how the top menu moves when about button is clicked! why is that?? Follow this link to download the FLAs and the other image folders I am using...

View 12 Replies

ActionScript 2.0 :: Target A Loaded Movie Within The Main Timeline?

Apr 14, 2004

Is it possible to target a loaded movie within the main timeline and stop sounds in that particular movie only?

View 4 Replies

ActionScript 2.0 :: Caching Of Swf Files Loaded Into Main Movie?

Apr 28, 2005

In my main movie I am loading external swf files. The proplem is that these files are cached so when they load the updates aren't shown. I've read some stuff about loading vars or xml with a random function to prevent it from caching, can that work with swf files? Maybe something like:

loadMovie ("news.swf?="+random(1000),_root.dropPage_mc);

I've placed the meta tags in the main html to stop that from caching; which doesn't really work. Could the same be applied in the html? Or maybe a php function when loading the main flash movie?

The files that are loaded are only a few kb so I'm not worried about the user having to load the files everytime.

View 3 Replies

ActionScript 2.0 :: Combo Box Text Disappears When Loaded Into Main.swf

Oct 22, 2003

Is there any known issue with combo boxes that are dynamically created and styled, where they work and style fine when testing in the authoring environment, but just display what appears to be a blank background with no menu text when its an swf loaded into a main movie?

View 3 Replies

ActionScript 2.0 :: Combo Box Text Disappears When Loaded Into Main.swf?

Oct 22, 2003

Is there any known issue with combo boxes that are dynamically created and styled, where they work and style fine when testing in the authoring environment, but just display what appears to be a blank background with no menu text when its an swf loaded into a main movie?

View 3 Replies

AS3 :: Flash - Accessing And Editing Loaded Swf Movieclip From Main Movie?

Jun 23, 2010

import com.hydrotik.queueloader.*;
.................
public class Main extends MovieClip
{

[code].....

I need to get access to loaded STRATTransitions.swf from the main movie and remove some text from it. There is no source code available for the swf.

View 1 Replies

ActionScript 2.0 :: Movie Is Not Loaded When Script Is Moved To Out Of Main Timeline?

Jun 7, 2010

i have a script to slideshow images dynamically reading xml. The script is written in the main time line. when the scripts are moved inside any movie clip it did not work.

script goes here:

Code:
import mx.transitions.Tween;
import mx.transitions.easing.*;
var myShowXML = new XML();

[code]....

View 1 Replies

ActionScript 2.0 :: Passing Variables From A Loaded Movie Clip To Main?

Mar 2, 2007

I can't seem to load a movie clip, and then pass some variables from that loaded movie clip back to through stage_mc it is loading into - to the SubClip.

The structure is as follows:

Main
>SubClip
>>Stage_mc

Where the new movie clip is loading into stage.

I need to pass two variables from the loaded clip into the SubClip. Simple vars to fill some dynamic text in SubClip.

I've done the whole _root.myvar thing, _parent, and _global.

View 5 Replies

ActionScript 3.0 :: Loaded Movie Calls Function In Main Interface?

Jan 25, 2009

I have an interface that contains audio controls in the Library (class: AudioControls)When a movie is loaded into the interface, and it happens to contain a sound (class: Audio_1), this loaded movie calls an interface function to show the audio controls:

Code:
if (Interface._ui != null) {
Interface._ui.playCurrentAudio();
}

The problem is, the playCurrentAudio() func in the interface contains some code that refers to nested MCs:

Code:
public function showAudioControls():void {
audioControls.x = 710;
audioControls.y = 583;
//

[code]....

That would be the speaker, rewind_btn, playPause_btn, etc. Referring to the parent clip, "audioControls", is no problem of course. But I get an error when I publish the loaded movie:

1119: Access of possibly undefined property speaker through a reference with static type AudioControls.
1119: Access of possibly undefined property rewind_btn through a reference with static type AudioControls.
1119: Access of possibly undefined property playPause_btn through a reference with static type AudioControls.

View 1 Replies

ActionScript 2.0 :: Text Disappear When It's Loaded As An External Swf Into The Main File?

Nov 30, 2003

I am using the transition preloader on url]... to load in external swfs (http:url...). I have Spark's calendar component on one of the external swfs. All text appears fine when testing the calendar page itself but the text seems to disappear when it's loaded as an external swf into the main file. Is this a path issue?

View 3 Replies

ActionScript 2.0 :: Load An External Swf And Dynamically Attach The Mc's In The Loaded Swf To The Main Movie?

Nov 20, 2010

I want to load an external swf and dynamically attach the mc's in the loaded swf to the main movie. Is it possible to reference the linkage properties of the externally loaded swf in this way?

View 1 Replies







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