Pixel2Life Forum: help - Adobe Flash - Pixel2Life Forum

Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

help

Array

#1 User is offline   Spy 

  • Young Padawan
  • Pip
  • Group: Members
  • posts 83
  • Joined: 21-July 05

Posted 24 July 2005 - 07:09 AM

hey. I'm trying to add news box into my flash site with code:


System.useCodepage = true;
content.html = true;
myLoadVar = new LoadVars();
myLoadVar . load("content/homecontent.txt");
myLoadVar . onLoad = function(success){
if (success == true){
content.htmlText = myLoadVar.content;
}
};

and when i'm testing my movie, i see

_level0.content

btw. i made that homecontent.txt file
0

#2 User is offline   dEcade 

  • P2L Staff
  • PipPipPipPip
  • Group: P2L Staff
  • posts 1,850
  • Joined: 13-February 05
  • Gender:Male
  • Location:Saskatoon, Saskatchewan
  • Interests:Guitar, Programming, Storm Chasing, Games (Designing and playing), Hockey, Photography

Posted 24 July 2005 - 10:04 AM

This is action script... shouldn't it go into the flash forum?

dEcade
0

#3 User is offline   funkysoul 

  • The Funky Stuff
  • PipPipPipPip
  • Group: Publishing Betazoids
  • posts 2,307
  • Joined: 21-February 05
  • Gender:Male
  • Location:Zurich, Switzerland
  • Interests:Music: HIM, HIM, HIM, Cafe del Mar, Linkin Park, Fort Minor, Coldplay, Eric Jordan<br />Sports: Snowboarding, KiteSurfing, Extreme Sports<br />Computer: Flash, After Effects, Actionscript

Posted 24 July 2005 - 10:13 AM

This should be moved to flash forum :lol:
and that error happens, because you didn't assigned a variable name to your textbox :D
0

#4 User is offline   Spy 

  • Young Padawan
  • Pip
  • Group: Members
  • posts 83
  • Joined: 21-July 05

Posted 24 July 2005 - 04:12 PM

ok, thanks. Now i have another problem :s. My buttons're not working. When i click "Info" button it do... nothing :S. here's code:

on(release)  {
	unloadMovie(_root.content);
	loadMovie("info.swf", _root.content);
}



edit:

OK, fixed :D

Edited by Spy, 24 July 2005 - 05:01 PM.

0

Share this topic:


  • You cannot start a new topic
  • You cannot reply to this topic

0 user(s) are reading this topic
members, guests, anonymous users