This is Interesting: Free Magazines for Graphics designers and webmasters
Home > Archive > Flash Site Design > May 2005 > Site check please
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
| gw630 2005-05-19, 11:25 pm |
| http://dev.sbhomeshow.com
Can anyone assist me on the home page? I have this actionscript to load two
external text files in the same frame, sometimes I'll get an error message in
one of the text box, "undefined." How can I fix this problem so they load
properly every single time?
Here is the actionscript.
------------------------------------------------------------------------------
_root.createEmptyMovieClip("holderMC",1);
_root.exhibitor.html = true;
_root.attendee.html = true;
holderMC.loadVariables("exhibitors.txt","");
holderMC.loadVariables("attendee.txt","");
holderMC.onData=function(){
_root.exhibitor.htmlText=this.var_exhibitor;
_root.attendee.htmlText=this.var_attendee;
}
stop();
------------------------------------------------------------------------------
Thank you!
| |
| Joi Crawley 2005-05-19, 11:25 pm |
| I'm a newbie at flash. Question: Did you construct your site using all
ActionScript? Also, I love the color scheme and layout of your home page,
however, I think that the pictures on your slideshow are changing too fast
for the brain to really enjoy them. Just my point of view.
--
Joi L. Crawley, CEO
Joiful EXP Web Designs
www.joifulexpwebdesigns.com
"gw630" <webforumsuser@macromedia.com> wrote in message
news:d6j5j0$9h2$1@forums.macromedia.com...
> http://dev.sbhomeshow.com
>
> Can anyone assist me on the home page? I have this actionscript to load
> two
> external text files in the same frame, sometimes I'll get an error message
> in
> one of the text box, "undefined." How can I fix this problem so they load
> properly every single time?
>
> Here is the actionscript.
> ------------------------------------------------------------------------------
> _root.createEmptyMovieClip("holderMC",1);
> _root.exhibitor.html = true;
> _root.attendee.html = true;
> holderMC.loadVariables("exhibitors.txt","");
> holderMC.loadVariables("attendee.txt","");
> holderMC.onData=function(){
> _root.exhibitor.htmlText=this.var_exhibitor;
> _root.attendee.htmlText=this.var_attendee;
> }
>
> stop();
>
> ------------------------------------------------------------------------------
> Thank you!
>
| |
|
| Thanks all.
Peter - Can you explain it in the simple term since I'm not very advanced in
actionscript?
Joi - Thanks for your comment. The site was not constructed with actionscript,
mostly symbol tweens and MCs. I'm still trying to learn actionscript. I was
comfortable with MX, but now I upgraded to MX 2004 pro, I'm totally lost.
| |
| Keehunthebeginner 2005-05-23, 11:35 pm |
| I recommend that the text in the Exhibits and ETC are white on red.
| |
| Keehunthebeginner 2005-05-23, 11:35 pm |
| sorry, ETC meant ,etc
| |
| gw630 2005-05-23, 11:35 pm |
| I've tried using white text. It made the text looks out of place on the page because it's only white element on the page. Thanks for your suggestions though.
|
|
|
| | Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |
|