Web Design and Development Forums

dynamic text field inside movieclip

This is a discussion on "dynamic text field inside movieclip" within the Flash & Multimedia Forum section. This forum, and the thread "dynamic text field inside movieclip are both part of the Design Your Website category.


Go Back   Webforumz.com > Design Your Website > Flash & Multimedia Forum

Welcome to Webforumz.com.
Register Now Register now!

Reply
 
LinkBack Thread Tools Rate Thread
Old May 1st, 2008, 13:47   #1 (permalink)
New Member
 
Join Date: Apr 2008
Location: Sydney
Posts: 2
dynamic text field inside movieclip

Hi,

Having a problem displaying a dynamic text field inside a movieclip - when I test / publish the movie, the text field is empty
I'm using AS2 in Flash CS3 (Newbie)..

my movie clip has the instance name: contentMain
The dynamic text field (Inside the movie clip) has the instance name: myText
The text field reads a html file, which contains text and images..

I believe my problem is something to do with the root - But I'm a newbie and are uncertain as to how I should change the following code:

(I should add that I know my html file works, because I can test the dynamic text field scene in flash and see the content, but not when I test the entire movie)

Code: Select all
//stylesheet stuff
var ss = new TextField.StyleSheet();
ss.load("stuff.css");
contentMain.myText.styleSheet = ss;
/***************************************************/
//xml stuff
about = new XML();
about.load("stuff.html");
about.onLoad = function () {    
    contentMain.myText.text = about;
}
shan is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
making text field text disapear Phixon JavaScript Forum 4 Feb 2nd, 2008 07:49
Text position inside DIV element. Monie CSS Forum 6 Sep 13th, 2007 13:14
Links in a txt file not showing in dynamic text field Darren600 Flash & Multimedia Forum 8 May 9th, 2007 15:48
Picture wrap around text? (more info inside) KOinMotion HTML Forum 1 Nov 13th, 2006 09:59
validate text field to db field jtesolin ASP Forum 1 Jul 18th, 2006 17:48



Latest Updates

All Points SEO Security Advisory - CHECK YOUR SITE NOW!

Creative Coding :: February 2008

Webforumz is sponsored by: WESH UK Web Hosting
All times are GMT. The time now is 19:19.

Sleep Study Scoring :: Free Bet :: Website Templates :: Online Betting :: Bookmakers :: Funny Quotes :: Internet Recruitment Software :: Microsoft CRM Experts :: Online Casino :: Decorated Christmas Trees :: Midwife Forums :: Football Betting :: Ecommerce Software :: Web Hosting :: Football Stats :: Dry Cleaning Collection :: xtreme wales - extreme clothing :: Apuestas :: Sharepoint Consultants :: Website Optimisation :: Office Clearance London :: Sharepoint Experts :: Sports Betting :: Casino :: Website Templates :: Web Design Development India :: Online Gambling

Powered by: vBulletin Version 3.7, Copyright ©2000 - 2008, Jelsoft Enterprises Limited.
© 2003-2008 Webforumz.com : All Rights Reserved
Search Engine Friendly URLs by vBSEO 3.2.0 RC6


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59