ActionScript 3.0 :: Flash Magnify DisplacementMapFilter Won't Letting To Use Button Interactivity
Apr 19, 2012
I followed this tutorial below: active[dot]tutsplus[dot]com/tutorials/effects/create-an-impressive-magnifying-effect-with-actionscript-30/ to get a magnify lens effect which works wonderfully, unfortunately the problem I'm having is I cannot click on buttons underneath the magnify lens. Is there a work around to this that I can implement? I tried mouseEnabled = false, to no avail. I'm kind of not sure what else to do.
View 2 Replies
Similar Posts:
Sep 8, 2009
I want to magnify stage onMouseWheelUP and de-magnify onMuseWheelOut how to do this using AS3 any ideas also i want to drag the stage on MouseDown,
View 5 Replies
Jan 29, 2009
i have an annoying problem. I have a mc that i use as a button. I have an external class that controls the button and adds interactivity to it, here's part of the code:
Code:
package
{
import flash.display.*;
import flash.text.*;
[Code]...
The problem is, i want the btn that, when clicked, remain inactive.That's why I remove all the listeners in the class. HOWEVER, it still functions as a button, I mean the functions haven't been removed at all after I click it. What's wrong here?? Why are the functions still there, if I have removed them when clicked at the btn?
View 4 Replies
Oct 25, 2008
I'm trying to set a common task, wich is activate/desactivate interactivity (clickability) of a button. (sometimes clickable, sometimes not). The button is a blue bowl. I use the stopPropagation() of event metod to stop propagation, then my blue bowl is not clickable anymore. (if you erase "stopPropagation()", it becomes clickable) It works.
But I want to change this statut. I've designed a ON/OFF switcher, who set the blue bowl clickability ON/OFF. And it doesn't work. I've tried everything : removeEventListener, an "if" who write "stopPropagation()" or not, but it fails, it stay on the beggining statut. Here's the very simple .fla to show you : [URL] What should be my "ON/OFF switcher" code ?
View 11 Replies
Aug 13, 2009
Im using CS4 trying to make a tween where I transform a rectangle to go from 2 pixels to about 500 pixels so I can create a transition effect, but its only letting me transform it to around 200 pixels.Am I not doing it the way Flash wants me? How should I transform a rectangle to be a lot wider or taller for a tween?
View 2 Replies
Dec 10, 2009
This problem is happening is both IE8 and IE7. I have a small swf compiled with flex. It's basically just a wrapper around audio streaming functionality. All the controls and such are in html with javascript. I load the swf using swfobject's "static" method. This works great in Firefox and Chrome. In IE, the swf loads correctly, but as soon as I try to stream any audio with it, I get an error. EDIT: I've reduced the code quite a bit to try and find the problem. You can see the new version running here. Here is the error, html and flex files for my reduced version:
[Code]...
View 2 Replies
Jan 25, 2007
(AS3) im trying to dynamically use the DisplacementMapFilter but when i use it the whole bitmap square gets the effect even though the displacementmap im using is a circle with transparent BG. is there a way to mask the displacementmapfilter so it effects only a specified spherical portion?
heres some code...
Code:
mapPoint = new Point(500, 300);
componentX = 4;
componentY = 4;
[code].....
View 5 Replies
Apr 30, 2010
if its more or less taxing when drawing movieClips to bitmapdata rather than letting flash normally render them.
View 8 Replies
Jun 12, 2011
After a displacementmapfilter is applied to a bitmap/bitmapdata, it can be undone by removing the filter.
Is there a way to permanently flatten the filter so the distortion is applied to the pixels in the bitmapdata permanently?
My issue is that im copying new data to my filtered bitmap and that new data is getting a distortion applied to it that is unwanted.
View 2 Replies
Jan 13, 2009
Few days ago I uploaded my flash face morphing application and now I'm thinking of writing an article about creature process.URL... anyone curious about how I made it?
View 5 Replies
Dec 23, 2011
I have the content of a scrollpane that, when clicked, show a tooltip movieclip with attachMovieClip; the problem is that the attached movie clip, for the first rows, goes under the border of the ScrollPane and is partially invisible.
Is there a way to solve this problem (without changing the position of the attached movie clip?)
View 1 Replies
May 19, 2009
just finished a postgrad in web design and multimedia and want to start working on a few sites for a portfoilio, think it would help with jobs etc
I have a site at the mo with a banner in flash but i know that there are sites out there that use flash more in depth. ive seen pretty much whole sites done with flash before but have no idea how to do it! I could get something interatctive with buttons etc in flash cs3 but would have no idea how to display it all in a webpage, create a link from flash to the html or whatever so when a button was clicked it'd take the user to a different page...etc
View 2 Replies
Jun 23, 2010
I have been trying to convert my swf files to flv.
I've tried a whole bunch of converters and I can't find one that will preserve the interactivity of my file.
View 2 Replies
Jul 20, 2009
I've just spend some time on our friend Google trying to find a decent Flash Video interactivity tutorial but I couldn't find one.
I'm trying to add icons in an FLV. Each icon would then link to a certain page of the website.
View 5 Replies
Apr 10, 2009
I found this cool class
[URL]
View 2 Replies
Feb 18, 2010
There are 9 movie clips in each square (object) and the color in each movie clip can be changed by mouse click. However, if I want to magnify one of the squares by clicking on that, then I can click on each movie clips to change the color. How can I do it?? Can I create another movie clip and cover the square for clicking to magnify?
View 5 Replies
Aug 24, 2010
I have an AS3 Flash 10 app that uses the mouse to dynamically update the perspective center of the the Flash stage using the Flash's native 3D. An issue exists when I dynamically load in an external SWF into a container that exists as a 3D movieclip (this is done by simply setting the z axis of the container to 1). When the dynamically loaded SWF is loaded the buttons in that SWF stop working. If I go back to the host program (the program loading in the swf) and 'remove transform' on the container where the dynamic SWF to reside. The dynamically loaded SWF works as expected. Have you ever heard of this issue? Do you know of any solution or workaround to this while keeping the SWF external?
FYI... there are actually a few pixels on the stage that DO in fact trigger the action of the button but the location of this trigger is completely unrelated to the visual location of the button itself. This reaction to the dynamically loaded native 3D element seems very unusual.
View 2 Replies
Jan 4, 2001
is it possible to embed flash movies into mac versions of powerpoint, while retaining interactivity?so far i have only been able to import them as linked quicktime files.
View 12 Replies
Aug 2, 2005
I overheard some watercooler talk the other day and the subject was using the mic as a means to control the interactivity of a flash site.Example: Every sound that the user's mic "hears" results in an event much like clicking on a button to reveal a dropdown menu.
Or: The more you scream, the more popups appear on the site.
View 4 Replies
Jan 21, 2010
I'm trying to create a magnify glass tool.I am familiar with copypixels() function for Bitmaps so i've had no problem making a magnify glass on a regular bitmap image, the problem is i want to magnify a movieclip full of other movieclips, layers, videos, active links etc....is there an efficient way to do this? i really dont want to load the whole thing into another movieclip just bigger....?
The idea is that the user can scan over the content and read, view, watch in a slightly bigger view.I have a zoom function when the user goes to full screen mode but this isn't an option in this case.
View 2 Replies
Mar 27, 2010
The enclosed image is a snapshot of part of my web page portfolio. At the moment it is placed jpgs into Dreamweaver. When you click on a work example it opens up a new browser window with the work example enlarged (old fashioned way). This is not really a problem but I was wondering if I put my work examples into flash CS4 how do I go about creating the effect of a work example instantly being magnified the moment someone clicks it? Like what happens when you click the enclosed image.
Is this an actionscript job or can this effect be produced without any complex scripting work? Perhaps someone knows a tutorial somewhere for a similar effect in Flash CS4. I would like the work examples to magnify quite large though. My thinking behind this was so people can't steal your work example JPGs so easily (flash portfolios seem to not allow saving of the content)
View 5 Replies
May 11, 2009
I am using a magnifying glass effect in flash, but because my content and rollover buttons sit "inside" the magnifying glass, so they appear magnified, the rollovers dont work when you mouse over them because technically you aren't mousing over them, if that makes sense.
View 13 Replies
Dec 13, 2005
Let's say i'm developing a chessgame, that evaluates moves in a while loop. I want the user to stop the game from looping, and give the move she's come up with so far. Just to stop the waiting for the user. I came up with this (the enterframe is there to let it compile):
Code:
firstTime = true;
this.onEnterFrame = function() {
[code]......
View 3 Replies
Apr 21, 2005
is it possible to control a MC by letting it know if a sound is playing or not?
i was thinking of this:
quote:
if (_root.firstSound == "true") {
_root.audioButton.gotoAndPlay(3);
}
[Code]....
View 2 Replies
Dec 4, 2011
I'm working on an 8-user app that runs over a wi-fi network using an XML socket. All of the hardware is located inside a medium sized room in a school building.At the start of the app, each user can select 1 role from a pool of 8. However, the socket connection runs at less than realtime, probably because of latency from the wi-fi, so it's possible for two users to make the same selection at the same time. How would I prevent this?
View 1 Replies
Mar 2, 2009
what I'm trying to do is allow the user to pick a section of the stage, click, and have the region defined be copied and show up on the other side of the stage. It may be better explained to think of it like a camera game. The player has cross hairs, can move the square (which tracks the mouse) around the stage, and click to capture that square's pixel information, store it to a new movieclip and display it on another area of the stage.
I've found many resources online about capturing BitmapData, including capturing from embedded FLV videos, but I haven't seem to be able to find anyone who has created something like this which captures from a moving region. However, I have seen it done before in a game that is no longer online from PBSkids.org.
Here is what I have so far. Right now, when I click the movieclip loads all white pixel data and I'm not sure why.
[flash=]import flash.display.BitmapData;
import flash.geom.Rectangle;
import flash.geom.Point;
stop();
[Code].....
View 1 Replies
Apr 15, 2011
Right now I have it so that the user draws a line and I capture the points at which they begin and end the line. Then I delete that line (it is too sqiggly) and draw a straight line between those 2 points.What I would like to do is let the user draw lines as needed (ie arond other objects on stage) and then somehow smooth them out
View 1 Replies
Dec 28, 2010
I am making my first game and it's my first time using actionscript. I am making a sniper game themed with the L96A1 sniper rifle from COD: Black Ops and the map nuketown. I'm in cs5 with ac3 and on my stage I have two movie clips that I'm working with. I'm not really sure if they're supposed to be movie clips though. Anyways, one is the gun, and the other is the zoomed in scope overlay thingy.
For now, I'm trying get the zooming in to work. I haven't done anything else though except collect graphics for enemies, the landscape, the gun, and the scope. I want to make it so that you zoom in and out by holding and letting go of the space bar. Also,I want to make it so that when you are not zoomed in, the gun moves horizontally at the bottom of the screen (aligned vertically with the cursor). And when you are zoomed in, the scope crosshair is the cursor.So my idea was to set the gun as the cursor and make it only move horizontally at the bottom of the stage and then make an event listener that listens to when the spacebar is pressed and when it is, disables the gun as the cursor (and makes it transparent to get it off the screen) and makes the scope the cursor [was transparent, now opaque and unrestricted(vertical movement also)].
I got as far as making the gun move horizontally at the bottom with the cursor. I cant get the event listener working because I don't really know how to go about changing the opacity of each movie clip and how to switch cursors. So I am asking how do I change the opacity and switch the cursors when the spacebar is held and then reverse those changes when the spacebar is released? Here's my code on an "actions" layer [I haven't done any animations yet, so everything is on frame 1. Also, I used a couple preset code snippets since I have no previous experience with actionscript (I can understand most of it though)]:
Code:
import flash.events.KeyboardEvent;
// make gun cursor
stage.addChild(gun);[code]..........
Here's a link to a zip archive with all the files used so far (I hope this google docs link works): link
View 2 Replies
Aug 14, 2009
I am creating an online banner where I want movie 3 movies clips to move to different parts of the banner when a button is rolled over. the 3 movie clips move independently of each other. When I roll off the button I want the clips to move back to where they started. I have achieved this fine, but the problem is when i roll over a different button on the banner the file automatically plays the commands for that button of course. What I need to do is have each movie clip finish before the next button plays it's commands. The coding I have for the buttons is just simple.
PHP Code:
on (rollOver) {
cta1.gotoAndPlay(11);
[code]......
View 0 Replies
Apr 11, 2006
I have an ad banner that the client says the clickTag layer must be the top most layer. The problem is I have movies below that layer that animate on rollOver:
Code:
on (rollOver) {
this.gotoAndPlay("bounce");
}
These do not work unless they are above the clickTag layer. Is their a way I can adjust the rollOver code to acomodate for this? Both the clickTag and the movies are on the main time line but the rollOver animation is in its own movie.
View 1 Replies