Jump to content


Photo

! another problem !


  • Please log in to reply
16 replies to this topic

#1 Teodor

Teodor

    Young Padawan

  • Members
  • Pip
  • 16 posts
  • Gender:Male
  • Location:nowhereland

Posted 10 July 2007 - 05:44 AM

hi,
how can I do that if a movie clip's alpha will be zero, the movie will go to the next frame?
Tnx

#2 Pax

Pax

    P2L Jedi

  • Members
  • PipPipPip
  • 911 posts
  • Gender:Male
  • Location:Windsor, ON, Canada

Posted 10 July 2007 - 11:08 AM

Just stick this inside the movieclip. Replace the frame number or label you want it to play.
this.onEnterFrame = function(){
if(this._alpha == 0){
this.gotoAndPlay(put_frame_number_here);
delete this.onEnterFrame;
}
}


#3 Teodor

Teodor

    Young Padawan

  • Members
  • Pip
  • 16 posts
  • Gender:Male
  • Location:nowhereland

Posted 10 July 2007 - 11:33 PM

I don't work :bashhead: :bashhead: . This is a flash game, there r a gun, a wall & some spiders that r moving toward the wall, if the spider touch the wall, it wil diseappear a little bit. I want that if the wall's alpha is 0, the movie will go to another frame, can u help??

Edited by Teodor, 10 July 2007 - 11:58 PM.


#4 Pax

Pax

    P2L Jedi

  • Members
  • PipPipPip
  • 911 posts
  • Gender:Male
  • Location:Windsor, ON, Canada

Posted 11 July 2007 - 09:30 PM

Just put that code in the wall movie clip. When the alpha reaches 0, itll goto and play whatever frame you tell it to.

#5 Teodor

Teodor

    Young Padawan

  • Members
  • Pip
  • 16 posts
  • Gender:Male
  • Location:nowhereland

Posted 12 July 2007 - 01:19 PM

it don't work :bashhead: :bashhead: :rolleyes: :rolleyes: :) ;) :(

#6 Pax

Pax

    P2L Jedi

  • Members
  • PipPipPip
  • 911 posts
  • Gender:Male
  • Location:Windsor, ON, Canada

Posted 12 July 2007 - 03:59 PM

Change the == to <=

Your probably having the alpha go below 0.

#7 Teodor

Teodor

    Young Padawan

  • Members
  • Pip
  • 16 posts
  • Gender:Male
  • Location:nowhereland

Posted 13 July 2007 - 06:00 AM

AHHHHHHH !!! I DONT WORK !!! :huh: :angry: :angry: :( :( :wacko: :bashhead: :bashhead: :bashhead: :beat: :P ;) :( :angry2:

#8 Pax

Pax

    P2L Jedi

  • Members
  • PipPipPip
  • 911 posts
  • Gender:Male
  • Location:Windsor, ON, Canada

Posted 13 July 2007 - 07:54 AM

If you post your .fla I can probably take a look at it.

#9 Teodor

Teodor

    Young Padawan

  • Members
  • Pip
  • 16 posts
  • Gender:Male
  • Location:nowhereland

Posted 14 July 2007 - 06:58 AM

here gun.fla - 0.08MB

#10 Teodor

Teodor

    Young Padawan

  • Members
  • Pip
  • 16 posts
  • Gender:Male
  • Location:nowhereland

Posted 16 July 2007 - 05:32 AM

can someone help plz?

#11 Pax

Pax

    P2L Jedi

  • Members
  • PipPipPip
  • 911 posts
  • Gender:Male
  • Location:Windsor, ON, Canada

Posted 16 July 2007 - 08:11 AM

My install of Flash 9 buggered up my system (I was uninstalling Flash 9 Alpha and Flash 8 at the same time....I don't think it liked that) So I'll try to fix it tonight if I have time and then take a look at your file.

#12 Teodor

Teodor

    Young Padawan

  • Members
  • Pip
  • 16 posts
  • Gender:Male
  • Location:nowhereland

Posted 16 July 2007 - 09:18 AM

ok, tnx..

#13 Teodor

Teodor

    Young Padawan

  • Members
  • Pip
  • 16 posts
  • Gender:Male
  • Location:nowhereland

Posted 25 July 2007 - 01:34 AM

ARE SOME1 GOING 2 HELP ME, OR NOT ????? :dance: :bashhead:

Edited by Teodor, 29 July 2007 - 02:03 AM.


#14 knedl

knedl

    Young Padawan

  • Members
  • Pip
  • 243 posts
  • Gender:Male
  • Location:Slovenia
  • Interests:Designing and programing

Posted 25 July 2007 - 04:08 AM

Patience is the key..

#15 Pax

Pax

    P2L Jedi

  • Members
  • PipPipPip
  • 911 posts
  • Gender:Male
  • Location:Windsor, ON, Canada

Posted 25 July 2007 - 08:08 AM

Finally got my version of Flash fixed yesterday, so hopefully I'll get a chance to take a look at it soon.

And yes, patience is key. I'd suggest not complaining like you were. People are taking their time to help you.

Edited by Pax, 25 July 2007 - 08:09 AM.


#16 Teodor

Teodor

    Young Padawan

  • Members
  • Pip
  • 16 posts
  • Gender:Male
  • Location:nowhereland

Posted 25 July 2007 - 10:59 AM

ok :mellow:

#17 Teodor

Teodor

    Young Padawan

  • Members
  • Pip
  • 16 posts
  • Gender:Male
  • Location:nowhereland

Posted 08 August 2007 - 04:09 AM

ANYONE GONNA HELP ME???




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users