-
[RESOLVED] img src not working in flash
I am loading a .txt file in to flash with the following:
var myLV:LoadVars = new LoadVars ();
myLV.load("bio3.txt");
myLV.onLoad = function(success) {
if(success) {
main_txt.htmlText = myLV.main_txt;
}
}
There is also AS within this movie clip:
txtBox.autoSize = "left"
myVars = new LoadVars()
myVars.onData = function(data){
txt = data
trace(data)
}
myVars.load("bio3.txt")
First, do I need both AS to load this .txt file?
Second, images will not load using this tag within the .txt:
<img src="astoria-5.gif"/>
Please advise your thoughts, and thank you in advance.
Site: http://www.brucecanafax.com (problem is in third page of Biography section)
-
Ryan Thomson
change
<img src="astoria-5.gif"/>
to
<img src='astoria-5.gif'/>
might work now, double-quotes will mess with flash if used inline like that.
good luck!
-
problems with textarea component
How did you do that?
I have problems with textarea component.
The scroll bar does not reach until the below arrow.
Look at this sample...
http://imasumaq.webcindario.com/pp/scroll.html
thanks!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|