
Welcome Guest
|
#1
|
|||
|
|||
|
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]) + "'> <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 |
«
Previous Thread
|
Next Thread
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
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 |





