5 Replies - 949 Views - Last Post: 28 April 2009 - 06:46 PM

#1 newn  Icon User is offline

  • D.I.C Head

Reputation: 2
  • View blog
  • Posts: 121
  • Joined: 22-April 09

How to do that in this script? Read inside. THanks.

Post icon  Posted 22 April 2009 - 03:55 PM

Hi all,
i would like to customize this script: http://www.tutoriali...ript-code/41514. How can i do like one texts shows up then after like two seconds another word shows up and when exat words are show then the again button appears. Too i would like to ad d that to my header (withaut background), so how can i do that? Thanks if you answer.

Is This A Good Question/Topic? 0
  • +

Replies To: How to do that in this script? Read inside. THanks.

#2 newn  Icon User is offline

  • D.I.C Head

Reputation: 2
  • View blog
  • Posts: 121
  • Joined: 22-April 09

Re: How to do that in this script? Read inside. THanks.

Posted 23 April 2009 - 09:02 AM

bump.
Was This Post Helpful? 0
  • +
  • -

#3 Dorito_125  Icon User is offline

  • D.I.C Head

Reputation: 8
  • View blog
  • Posts: 88
  • Joined: 13-December 08

Re: How to do that in this script? Read inside. THanks.

Posted 23 April 2009 - 09:09 PM

View Postnewn, on 23 Apr, 2009 - 08:02 AM, said:

bump.


Do you have any code to show us?

Sounds like this would be easier to do in a movie clip then in script.
Was This Post Helpful? 0
  • +
  • -

#4 newn  Icon User is offline

  • D.I.C Head

Reputation: 2
  • View blog
  • Posts: 121
  • Joined: 22-April 09

Re: How to do that in this script? Read inside. THanks.

Posted 24 April 2009 - 12:25 AM

No, i don't have. That was done in movie clip. Well, but how to do it? By the way. i'v tryed to copy this movie clip to my header and when i did it my header turned to white color, like there is white background or something.
Was This Post Helpful? 0
  • +
  • -

#5 blake912  Icon User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 18
  • Joined: 15-April 09

Re: How to do that in this script? Read inside. THanks.

Posted 27 April 2009 - 12:31 PM

Well there are a couple of ways you could do this. Honestly, you weren't the most clear. Here's my best shot.
option 1) You use the timeline and just change it after a certain amount of time.
2) you use actionscript (3.0) to do it which you would want a timer event' and a loop so that you could have have the text appear and then show a fade out...then in with the new text. you can also use the transitions built into actionscript 3.0 to do this as well. Try looking up TransitionManager in flash help. if you look up the timer event as well. you will be able to make this work really well!

1 - use function to activate a transitional fade-in effect on load. also have this function hit a timer event.
2 - have the timer event fire a 3rd function after the amount of time you want the first text to stay up there.
3 - have the 3rd function (mentioned in the 2nd step) change out the text.

Note: the step three... you should have a string array or xml document feeding the next text because you can have more manageable code. basically the 3rd function would loop through all items in the array (or xml file) and change the text to them after each timer event. Once you got to the end of the list you could have it start over, or display the button you were talking about. or both.
Was This Post Helpful? 0
  • +
  • -

#6 Maxx  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 18
  • Joined: 16-September 06

Re: How to do that in this script? Read inside. THanks.

Posted 28 April 2009 - 06:46 PM

do this for the timmer and create 3 movie clips with the door opening and tween the text

function setTimer(max)
{
	t = 0;
	this.onEnterFrame = function ()
	{
		++t;
		if (t >= max)
		{
			this.onEnterFrame = null;
			gotoAndStop("door_1_tag");
			_door1.gotoAndPlay(2);
			_door2.gotoAndStop(1);
			_door3.gotoAndStop(1);
		} // end if
	};
} // End of the function
var t;
_door1.gotoAndPlay("door1open");
_door2.gotoAndPlay("door2open");
_door3.gotoAndPlay("door3open");
setTimer(10);
stop ();

Was This Post Helpful? 0
  • +
  • -

Page 1 of 1