[Flashcoders] Overlay problem
Hi, I want to create an effect like http://www.limoosoft.com/Limoosoft-En.html When user clicks on zoom image, large image loads in a movie, and all links, rollver effects/actions are disabled by a semi-transparent image. How to create such layer, which can disable all links? -- Regards Rajiv Seth Ph: 09839157388 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Overlay problem
if you add a boolean to your script that states whether the movie is operational or not, then you can add an if statement to your links / buttons that ask if the boolean is true so: var bMovieEnabled:Boolean = true; myLink.onRelease = Delegate.create(this, linkOnRelease); function linkOnRelease():Void { if (bMovieEnabled) { bMovieEnabled = false; //do stuff } } and on the close button for the panel add bMovieEnabled = true; best a On Mon, Jul 14, 2008 at 12:37 PM, Rajiv Seth (Pixelated) [EMAIL PROTECTED] wrote: Hi, I want to create an effect like http://www.limoosoft.com/Limoosoft-En.html When user clicks on zoom image, large image loads in a movie, and all links, rollver effects/actions are disabled by a semi-transparent image. How to create such layer, which can disable all links? -- Regards Rajiv Seth Ph: 09839157388 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Overlay problem
Do you want to use AS2 or AS3? Piers On 14 Jul 2008, at 12:37, Rajiv Seth (Pixelated) wrote: Hi, I want to create an effect like http://www.limoosoft.com/Limoosoft-En.html When user clicks on zoom image, large image loads in a movie, and all links, rollver effects/actions are disabled by a semi-transparent image. How to create such layer, which can disable all links? -- Regards Rajiv Seth Ph: 09839157388 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders [EMAIL PROTECTED] 0207 631 3278 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Overlay problem
ps where _parent refers to the layer you want to disable clicks for etc On Mon, Jul 14, 2008 at 1:56 PM, Hans Wichman [EMAIL PROTECTED] wrote: Hmm not entirely sure what you mean, but normally a : _parent.onPress = function(){} _parent.useHandcursor = false; does the trick. greetz JC On Mon, Jul 14, 2008 at 1:37 PM, Rajiv Seth (Pixelated) [EMAIL PROTECTED] wrote: Hi, I want to create an effect like http://www.limoosoft.com/Limoosoft-En.html When user clicks on zoom image, large image loads in a movie, and all links, rollver effects/actions are disabled by a semi-transparent image. How to create such layer, which can disable all links? -- Regards Rajiv Seth Ph: 09839157388 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Overlay problem
simplest is to stick a mouse enabled layer (sprite/mc) on top. it should override everything under it. 2008/7/14 Rajiv Seth (Pixelated) [EMAIL PROTECTED]: Hi, I want to create an effect like http://www.limoosoft.com/Limoosoft-En.html When user clicks on zoom image, large image loads in a movie, and all links, rollver effects/actions are disabled by a semi-transparent image. How to create such layer, which can disable all links? -- Regards Rajiv Seth Ph: 09839157388 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Yet another Random Lines More usable than ever! www.therandomlines.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Overlay problem
An easier way of doing it is just to place a movieclip over the top of your content and give it an empty onRelease function (in AS2) or just make sure it's mouseEnabled in AS3. Piers [EMAIL PROTECTED] On 14 Jul 2008, at 12:51, allandt bik-elliott (thefieldcomic.com) wrote: if you add a boolean to your script that states whether the movie is operational or not, then you can add an if statement to your links / buttons that ask if the boolean is true so: var bMovieEnabled:Boolean = true; myLink.onRelease = Delegate.create(this, linkOnRelease); function linkOnRelease():Void { if (bMovieEnabled) { bMovieEnabled = false; //do stuff } } and on the close button for the panel add bMovieEnabled = true; best a On Mon, Jul 14, 2008 at 12:37 PM, Rajiv Seth (Pixelated) [EMAIL PROTECTED] wrote: Hi, I want to create an effect like http://www.limoosoft.com/Limoosoft-En.html When user clicks on zoom image, large image loads in a movie, and all links, rollver effects/actions are disabled by a semi-transparent image. How to create such layer, which can disable all links? -- Regards Rajiv Seth Ph: 09839157388 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders [EMAIL PROTECTED] 0207 631 3278 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Overlay problem
Thanks Piers Ashim, An empty onRelease function solved the problem. Thanks A LOT. Rajiv On Mon, Jul 14, 2008 at 5:31 PM, Piers Cowburn [EMAIL PROTECTED] wrote: An easier way of doing it is just to place a movieclip over the top of your content and give it an empty onRelease function (in AS2) or just make sure it's mouseEnabled in AS3. Piers [EMAIL PROTECTED] On 14 Jul 2008, at 12:51, allandt bik-elliott (thefieldcomic.com) wrote: if you add a boolean to your script that states whether the movie is operational or not, then you can add an if statement to your links / buttons that ask if the boolean is true so: var bMovieEnabled:Boolean = true; myLink.onRelease = Delegate.create(this, linkOnRelease); function linkOnRelease():Void { if (bMovieEnabled) { bMovieEnabled = false; //do stuff } } and on the close button for the panel add bMovieEnabled = true; best a On Mon, Jul 14, 2008 at 12:37 PM, Rajiv Seth (Pixelated) [EMAIL PROTECTED] wrote: Hi, I want to create an effect like http://www.limoosoft.com/Limoosoft-En.html When user clicks on zoom image, large image loads in a movie, and all links, rollver effects/actions are disabled by a semi-transparent image. How to create such layer, which can disable all links? -- Regards Rajiv Seth Ph: 09839157388 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders [EMAIL PROTECTED] 0207 631 3278 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Regards Rajiv Seth Ph: 09839157388 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Overlay problem
Hmm not entirely sure what you mean, but normally a : _parent.onPress = function(){} _parent.useHandcursor = false; does the trick. greetz JC On Mon, Jul 14, 2008 at 1:37 PM, Rajiv Seth (Pixelated) [EMAIL PROTECTED] wrote: Hi, I want to create an effect like http://www.limoosoft.com/Limoosoft-En.html When user clicks on zoom image, large image loads in a movie, and all links, rollver effects/actions are disabled by a semi-transparent image. How to create such layer, which can disable all links? -- Regards Rajiv Seth Ph: 09839157388 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Overlay problem
To disable all underlying links, you can stick a large movie clip on a layer, make it invisible, or semi-transparent like in the example, and give it an empty onRelease: blockerClip.onRelease = function(){} You can do: delete blockerClip.onRelease; to allow underlying links to function again. Dave - www.offroadfire.com Head Developer http://www.blurredistinction.com Adobe Community Expert http://www.adobe.com/communities/experts/ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders