LOADING
Loading
Hi , welcome back.
LogoutLOGOUT
 
  Lost password?  
Hi
 




 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 01-19-2005, 07:10 PM
bearslife bearslife is offline
Registered User
 
Join Date: Jan 2005
Posts: 2
Rep Power: 0
bearslife is on a distinguished road
Exclamation Problems with dynamic text display...

Hi I have a flash movie that has a file system working with it. I got it online...

I had to switch some things around a bit in order for it to work with my movie and cusomize to my needs.

I successfully did this, BUT, now something doesn't fully work.

It starts out like this...

You click on a letter and it displays dynamically, a manufacturer name into a dynamic text field in flash, the database records queried.
You then , from those queried records, click on the the "manufacturer" name that you want to see information for and it displays, BUT, it displays in the content box instead of a big dynamic box.. I only see

"balluff is a major manufacturer of components servicing a global market."
When I should be viewing a little more text. This is obviously because the dynamic text field is too small, okay. I changed the size of this dynamic text field and thought that it would priint the information in its entirety... well, I was wrong. I think the parameter function is not needed ,

Actionscript:
function showjpg(paramString) {
 // get the individual parameters:
 // params[0] = picture file name
 // params[1] = caption
 var params = paramString.split("#");
 picHolder.loadMovie(params[0]);
 caption.text = unescape(params[1]);
}
function showContent() {
 var i;  
 content.htmlText = "";
 for (i=0; i < this.n; i++) {
  if (this["manufact"+i] != "") {
   content.htmlText += "<a href='asfunction:showjpg," + this["manufact"+i] + "#" + escape(this["words"+i]) + "'>&nbsp;&nbsp;<font color='#ffffff'>" + this["manufact"+i] + "</font></a><br>";
  } else {
   content.htmlText += "<b>" + this["manufact"+i] + "</b><br>";
  }
  }
}


Okay, now, how would I display this in just one dynamic text field, taking out the """" function showjpg(paramString) """" and altering the """" function showContent() so that when you click on a manufacturer name from the database, it displays in one "multiline" dynamic text field....

Please Help me out, thanks

Last edited by Scottae : 01-19-2005 at 07:55 PM Reason: Format with AS tags
Reply With Quote
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Text viewing problems with dynamic textfields on levels triaz Flash MX ActionScript 0 01-05-2007 03:55 PM
Dynamic Text - change text box variable on click kenisswell Flash MX ActionScript 10 11-01-2005 09:20 PM
Scroll bar - Dynamic text field problems PUP100 Flash MX ActionScript 0 01-28-2005 10:40 AM
Creting input textfield denizci2000 Flash MX 5 12-15-2004 08:58 PM
Problems with dynamic style sheet text in flash player 6 d60eba Flash MX 2 11-09-2004 10:54 AM




All times are GMT. The time now is 07:02 AM.