Re: [Flashcoders] setInterval creates tooltip, then kills it
The issue is not the interval but the rollOver. when you move your mouse, the tooltip MC is not immediately moved and you roll over it (so you got the I-beam cursor) when it is moved the rollOver function is called again and the interval is launched again. You only have to put _root.tooltip.onMouseMove instead of _root.tooltip.onEnterFrame and it will be ok (until the user don't move the mouse too fast) Mendelsohn, Michael a écrit : Hi list... //Happy new year! I have a tooltip function that makes a tooltip MC follow the mouse over when rolling over another MC, but it gets blown out after two frames, and the mouse turns to an I-beam cursor. I can't figure out why. I *don't* think it's a setInterval issue, but I might be wrong. Curiously, the onEnterFrame function works only when I *don't* set the _x property of the tooltip MC. Any feedback is appreciated. - Michael M. class toolbarFunctions extends MovieClip { private var tipID:Number; function toolbarFunctions() { } function onRollOver():Void { this.tipID = setInterval(this, displayTip, 1000); } function displayTip():Void { // create text container... _root.createEmptyMovieClip(tooltip, 20); _root.tooltip.createTextField(tip, 1, 0, 0, 100, 100); _root.tooltip.tip.text = tooltip; // make text follow mouse... _root.tooltip.onEnterFrame = function():Void { var coord:Object = {xx:_root._xmouse, yy:_root._ymouse}; this._x = coord.xx; this._y = coord.yy; //this._x = _root._xmouse; //this._y = _root._ymouse; //_root.tooltip._x = _root._xmouse; }; clearInterval(this.tipID); } } ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com _ Live.com: le nouveau moteur de recherche par Messenger! http://www.windowslive.fr/livecom/ ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] which tool to 3d rotate image?
Matthew Pease a écrit : This sounds like a request to Santa Claus. Heh. and i was a good boy this year too. Did you say that all this has to be acomplished dynamicly? So nothing has to be pre-rendered? Right. In that case have you considered just creating a box on the fly something like this: http://www.flashloaded.com/flashcomponents/3dbox/example3.html This looks close. But i'd like to use my own image. Probably the front of the postcard will be higher resolution than the image that actually gets rotated, to speed the rotation. How about those other tools i mentioned? i would love it if i could buy a tool that would just do this, or pay someone to do this for me. Anyone out there good at AS 3d Flash (or just image distorting) need a little extra money? Thank you - Matt You can have some code to distort an image with four controls points at this adress: http://sandy.media-box.net/blog/distordimage-the-way-to-distord-bitmaps-by-code.html But I think that even with this it won't be easy to have different images on the front and the back... _ Les révélations de la starac 6 commentées par Jérémy! http://starac2006.spaces.live.com/ ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] which tool to 3d rotate image?
Helmut Granda a écrit : another more extended explanation by senocular: http://www.senocular.com/flash/tutorials/transformmatrix/ On 12/28/06, Matthew Pease [EMAIL PROTECTED] wrote: This sounds like a request to Santa Claus. Heh. and i was a good boy this year too. Did you say that all this has to be acomplished dynamicly? So nothing has to be pre-rendered? Right. In that case have you considered just creating a box on the fly something like this: http://www.flashloaded.com/flashcomponents/3dbox/example3.html This looks close. But i'd like to use my own image. Probably the front of the postcard will be higher resolution than the image that actually gets rotated, to speed the rotation. How about those other tools i mentioned? i would love it if i could buy a tool that would just do this, or pay someone to do this for me. Anyone out there good at AS 3d Flash (or just image distorting) need a little extra money? Thank you - Matt ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com The DistortImage class uses BitmapData so I'm not sure that it can be exported for flash 7... Transformations described on Senocular can be a solution but the effect won't be the same. The best solution to have the same effect for F7 is to use masks but it's not very clean... _ Les révélations de la starac 6 commentées par Jérémy! http://starac2006.spaces.live.com/ ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] AS to convert bitmap - vector?
With Actionscript you can't convert a bitmap into a verctor graphic. You can only do this in flash with modifybitmaptrace bitmap so it won't be dynamic... Matthew Pease a écrit : Hey Flashcoders - It struck me that what I'm trying to do could possibly be better accomplished via first changing the bitmap into a vector graphic. I'm wondering, is it possible to convert a bitmap - a vector programmatically using Actionscript? That way I can convert the image into a vector then flip that. The result will look more cartoonish, but that is OK. Thank you- Matt ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com _ Découvrez le blog Eragon sur Windows Live Spaces! http://eragon-heroic-fantasy.spaces.live.com/ ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com