Forums  

Go Back   Forums > Talk > General FPP Discussion

Reply
 
Thread Tools Display Modes
  #31  
Old 10-30-2007, 10:19 PM
myp3ilka myp3ilka is offline
Junior Member
 
Join Date: Jan 2007
Posts: 22
Downloads: 0
Uploads: 0
Default

this is what i see in IE (top and left yellow border)


and this is what i see in Opera (top and left yellow border and white bg)


and whis is fragment of code
Code:
	external.tooltip.default_color=0x000000
	external.tooltip.default_font=Arial
	external.tooltip.default_size=16	
	external.tooltip.default_border=true
	external.tooltip.default_opaqueBackground=0xFFFFE1
where is error?
Reply With Quote
  #32  
Old 10-30-2007, 11:02 PM
zleifr's Avatar
zleifr zleifr is offline
Senior Member
 
Join Date: May 2007
Posts: 609
Downloads: 0
Uploads: 0
Default

@myp3ilka: I don't see any error. It may be an Opera/Flash problem. Such problems are not impossible. For example: Safari does not receive mouse events when it is fullscreen, unlike all the other browsers. Your test panorama does not display in Safari at all (I believe it is related to the stripes transition), but it displays fine in IE and Firefox.

I wish I had a better answer.
Reply With Quote
  #33  
Old 10-30-2007, 11:08 PM
myp3ilka myp3ilka is offline
Junior Member
 
Join Date: Jan 2007
Posts: 22
Downloads: 0
Uploads: 0
Default

and what about borders (top and left) outside black border. is it ok?
Reply With Quote
  #34  
Old 10-30-2007, 11:46 PM
zleifr's Avatar
zleifr zleifr is offline
Senior Member
 
Join Date: May 2007
Posts: 609
Downloads: 0
Uploads: 0
Default

That is simply how Flash draws a border around a text box, with a strip of background showing on the top and left, so if it is going to be changed, we would have to figure out another way to put a border around the text....
Reply With Quote
  #35  
Old 11-02-2007, 11:58 PM
zleifr's Avatar
zleifr zleifr is offline
Senior Member
 
Join Date: May 2007
Posts: 609
Downloads: 0
Uploads: 0
Default New jerk-free version

I updated toolTip.swf again. The tooltip should be less jerky now. It uses a motion tween and so that it effectively chases the mouse movement now. Slow mouse movements should look almost identical. Large, quick mouse movements will show the difference as the tooltip accelerates to catch up, instead of jumping each frame to catch up. It uses the Regular.easyOut tween, so, theoretically you could make it use any of the other tweens, for whatever that might be worth.

I had a bug that I think is fixed with the tooltip's motion suddenly becoming extremely lethargic after a random amount of time, usually 5-25 seconds. But I think I resolved it. Let me know if it happens to you, please.
Attached Files
File Type: zip tooltip_1-8.zip (12.0 KB, 40 views)
Reply With Quote
  #36  
Old 11-14-2007, 08:17 PM
cheathamlane cheathamlane is offline
Senior Member
 
Join Date: Mar 2007
Location: California, USA
Posts: 773
Downloads: 0
Uploads: 0
Default

Very cool zleifr -- having fun making it a go. Kudos!

Question: What part of the Tween code can I alter so that the tooltip doesn't fly in from off screen? I have twiddled quite a bit, but can't seem to get rid of that function. I don't want to remove the tween entirely, just modify it so that the movement is slight.

FWIW, I added the code below so I could use a drop shadow rather than an opaque background.

Code:
	// added to startToolTip()
	// Makes the filter available to use in the Movie.
	import flash.filters.DropShadowFilter;
	// Creates a variable with info about the Filter settings
	var myDropShadowFilter = new DropShadowFilter (2,45,0x000000,1,2,2,1,3,false,false,false);
	//Distance, Angle, Color, Alpha, Blur X, Blur Y, Strength, Quality, Inner Shadow, Knockout & Hide Object.
	// Applies the filter to the object named myObject
	toolTip.filters = [myDropShadowFilter];
	//
__________________
Patrick
http://patrickcheatham.com
Reply With Quote
  #37  
Old 11-14-2007, 10:12 PM
zleifr's Avatar
zleifr zleifr is offline
Senior Member
 
Join Date: May 2007
Posts: 609
Downloads: 0
Uploads: 0
Default New Version with Drop Shadows!

Hi Patrick,

I am glad you like it! The drop shadow looks so good I worked it into the plugin for you!
external.tooltip.applyShadow=true
external.tooltip.shadowColor=0xFFFFFF

external.tooltip.default_applyShadow=true
external.tooltip.default_shadowColor=0xFFFFFF

Use default_ in the onStart event to set the default settings for ALL spots
Use the properties to set or override defaults for a single spot.

And I fixed the tweens so the tool tips don't jump in from where the mouse is, they should appear right where they belong, and then smoothly follow the mouse.

Zephyr
Reply With Quote
  #38  
Old 11-14-2007, 10:14 PM
zleifr's Avatar
zleifr zleifr is offline
Senior Member
 
Join Date: May 2007
Posts: 609
Downloads: 0
Uploads: 0
Default

Forgot to attach the .zip
Attached Files
File Type: zip toolTip_1-8-1.zip (16.3 KB, 53 views)
Reply With Quote
  #39  
Old 11-15-2007, 12:09 AM
cheathamlane cheathamlane is offline
Senior Member
 
Join Date: Mar 2007
Location: California, USA
Posts: 773
Downloads: 0
Uploads: 0
Default

Very cool!

I'm pretty well versed in AS2, but I'm having to give myself a crash course in AS3. :P

I'm downloading the file now -- many thanks for such a quick (and fruitful!) response.

And to think you said a few pages ago in this thread that you were done developing the tooltips... Boy, do I know how that goes.

Cheers,
__________________
Patrick
http://patrickcheatham.com
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 01:04 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.