[BNM] Flash help!

Sebastian von Bischopink lists at allaboutseb.com
Wed Apr 5 18:44:53 BST 2006


James, thanks for the tip.

tried putting the trace into the functions and the functions are  
being called,
just not the first 2 lines...

>> _root.menu.contact_menu.contact_top.alphaTo(60, 0.3, "easeInSine");
>> 	_root.menu.contact_menu.slideTo(465, -50, 0.5, "easeOutSine", 0,
>> _root.showCLinks);

Any ideas? Or maybe i should set this up differently?

thanks,

Seb
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Sebastian von Bischopink              Email:  seb at allaboutseb.com
AllAboutSeb, Graphic & Sound Design   Skype:  allaboutseb
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -


On 5 Apr 2006, at 20:44, James Marsden wrote:

> My first guess is that because you're calling this on every frame,  
> it is
> working, but it's retriggering the tweens so fast you don't see  
> them do
> anything..?
>
> Try putting a trace into the actual functions you're calling to make
> sure they're being called...
>
> HTH,
>
> J
>
>
>
>
>
> Sebastian von Bischopink wrote:
>
>> Hi BNM,
>>
>> i am having a strange problem with some actionscript that i did for
>> a rollOver menu.
>>
>> i have the following code attached to one of my menu movie clips:
>>
>> onClipEvent (enterFrame) {
>> 	if (this._y == 0 && this.hitTest(_root._xmouse, _root._ymouse)) {
>> 		trace ("hit");
>> 		_root.showContact();
>> 	} else {	
>> 		if (! this.hitTest(_root._xmouse, _root._ymouse)) {
>> 		_root.hideContact();
>> 		trace ("not_hit");
>> 		}
>> 	}
>> }
>>
>> i am getting the trace messages so the hitTest is successful, but the
>> _root.showContact();_root.hideContact(); functions aren't working.
>>
>> The weirdest thing is that if I change onClipEvent to (mouseMove)
>> everything works as it should (the response isn't great).
>>
>> The code i am using for _root.showContact(); :
>>
>> function showContact() {
>> 	_root.menu.contact_menu.contact_top.alphaTo(60, 0.3, "easeInSine");
>> 	_root.menu.contact_menu.slideTo(465, -50, 0.5, "easeOutSine", 0,
>> _root.showCLinks);
>> 	}	
>>
>> What to do? Appreciate any help,
>>
>> Seb
>>
>>
>>
>>
>
>
> -- 
>
> BNM info/subscription/archives: http://www.brightonnewmedia.org/
>
> BNM archive search: http://www.roddis.org/bnm/search.php
> BNM Del.icio.us tag: http://del.icio.us/tag/bnm/
> BNM Flickr group: http://www.flickr.com/groups/bnm/
>
> BNM powered by http://www.screen-play.net/



More information about the BNMList mailing list
BNMList is hosted by Screenlists, a Screen-Play.net service