Flash :: Interactive Slider For Scaling A Silhouette
May 17, 2011
I am trying to build a interactive slider,in which when user drag the slider up the height of silhouette increases by some fix amount n when user drag the slider down the height of silhouette decreases by some fix amount.the problem i am facing is that when i drag the slider slowly than everything works fine but when i drag the slider faster than the height dont increase or decrease properly.i mean the increment or decrement in the height of silhouette is depending on speed of slider,which i dnt want.[code]
View 1 Replies
Similar Posts:
May 18, 2011
I am trying to build a interactive slider,in which when user drag the slider up the height of silhouette increases by some fix amount n when user drag the slider down the height of silhouette decreases by some fix amount.the problem i am facing is that when i drag the slider slowly than everything works fine but when i drag the slider faster than the height dont increase or decrease properly.i mean the increment or decrement in the height of silhouette is depending on speed of slider,which i dnt want.
here is the code-
Code:
var bounds:Rectangle = new Rectangle(499.65,260,0,240);
slider.addEventListener(MouseEvent.MOUSE_DOWN, moveSlider);
stage.addEventListener(MouseEvent.MOUSE_UP, stopSlider);
[code]....
View 1 Replies
Sep 28, 2009
I've been trying to find a straightforward use of CV for extracting a person's silhouette via webcam using AS3. I know this is achievable through either motion detection or background subtraction; I'm not versed enough on this to really start from scratch. I don't need examples referring only on motion detection or background subtraction, I need to know how to achieve a simple silhouette extraction from a neutral & binary background.
View 2 Replies
Nov 27, 2009
I'm trying to create an interactive slider that the user will slide an icon left to right, in order to select a numeric value. This numeric value will then be output to a dynamic text box to capture the data. see the example on the link below...
[URL]
View 4 Replies
Jun 17, 2009
I have a swf file that loads into my main movie, and within that swf there is a masked image that i would like to scale using zoom in and out buttons and also by using a slider bar.However i cant find any tutorials that will allow me to combine the two.I have used the following code for the buttons. Which seems to work ok but i would like it to be a little smoother. (using speed or some sort of easing??)
ActionScript Code:
zoomPlus.onRelease = function(zoomIn) {
if (test_shirt.shirt._xscale == 400 && test_shirt.shirt._yscale == 400) {[code]....
but for this code it keeps shrinking my initial object down to 10 pixels by 10 pixels..
View 0 Replies
Jan 10, 2012
I'd like to build image slider like Nivo slider with Adobe Flash Builder.
i'd like to have image controls, image titles displayed above the image(like layers in flash). i'd like to read the data from xml.
i'd like to have nice transitions between images.
mayebe u can provide tutorial or source code.
View 1 Replies
Mar 11, 2008
I've search through all the threads with "scaling" and "resizing" and can't find the solution.
Basically I have a GUI element on a gallery that I don't want to scale, while the rest of the page is free to resize/scale.
I think I need to add a listener of some sort to the stage, but I'm not sure how to do this.
View 2 Replies
Feb 23, 2009
I'm building some navigation that extends all the way from left to right across my SWF. When the window resizes, I'd like the nav buttons to get wider but not have the text on the buttons get wider.
The buttons themselves are rectangles with a vertical gradient and a stroke around the outside. I'm using 9-slice scaling so the stroke doesn't scale, but the middle (gradient) gets wider or narrower.What'd be great is to be able to select an object or layer and say "don't scale, even if the rest of this movie clip scales". Is there a way to do that, or will I have to do it via actionscript?
View 1 Replies
Mar 25, 2010
What I have is a map that you can click on points and it will zoom in, you can also click on a "plus/minus" buttons to zoom in and out (I even have the mouse wheel zooming in and out). The client wanted me to add a "zoom slider bar" to it so you know you could move it up and down to scale it. Everything is working except the slider, I can't seem to get it to work with the position of the slider. All of the zoom functionality is there but the slider is killing me.
I am putting up the fla file since there is a lot of code in there and I didn't want to put it all in the forum. if you look in the fla in frame ten on line 726 you can find the function that is supposed to handle the zooming when you move the slider. Up on line 74 you can find the slider onPress and onRelease functions, but those I believe should be fine.
View 2 Replies
May 20, 2010
i have a diagonal movieclip that I am trying to scale along with the background video. The background video scales perfect, I am attaching the diagonal movieclip (br in the code as bottomright) with addChild
Instead of scaling with the window, it seems to repeat such as the image is displaying. this is the main section of the code that is doing the scaling
var br:mc_bottomright = new mc_bottomright();
addChild(br);
//proportional scale
if ((stage.stageWidth / stage.stageHeight)> (owidth/oheight))
[code]....
View 4 Replies
Apr 10, 2009
I am trying to achieve an effect of scaling a movie clip on click...very similar to [URL] When the user clicks on See, Hear, Play and Shop boxes, the boxes expand. I have created a box movieclip that has a bar on top. This bar is a movie clip inside the box movieclip. When i try to scale the main box movieclip, the internal bar movie clip scales as well. How to stop this?
View 2 Replies
Dec 1, 2009
I am trying to create a basic timeline, similar to the timeline we all use in flash (see attached).
I have a playhead slider, which when dragged, just drags within its startDrag() limits.
I also have horizontal window scroller which also when dragged, just drags within its startDrag() limits.
I am trying to work out how to get the horizontal window scroller to scroll when the playhead slider hits the left or right edge. I am using hittest for this collision.
I have the playHeadSlider scrolling along the top. When playHeadSlider collides with hittestThing I want mcContents to then move.
It kind of works.. mcContents moves when the playHeadSlider is in collision with the hittestThing.. but it just moves rather than 'drags' across. I have it set up so that mcContents is twice the width (approx) of mcScrollWindow.
I need to somehow update what I have so that if the playHeadSlider collides with hittestThing on the right, mcContents only moves to the right and if playHeadSlider collides with hittestThing2 on the left, mcContents only moves to the left.
View 0 Replies
Apr 18, 2004
really sorry to bring this one up again. I've managed to create quite good working gallery. What I'm trying to now is create a menu that is attached to the scaling part but does not scale it self - in other words just changes position. here's an example of what I mean: galleru #1
View 14 Replies
Apr 18, 2004
What I'm trying to now is create a menu that is attached to the scaling part but does not scale it self - in other words just changes position. here's an example of what I mean: galleru #1
View 13 Replies
Jul 3, 2009
I'd like to make a circle slide ( Slider that on the shape of circle instead of vertical and horizontal Slider) like this one:
[URL]
Is there a ready Component on the web.
View 0 Replies
Sep 8, 2009
Where the site visitor would upload an image on my site and be able to add(drag and drop) images i provide in flash to edit the image.
View 3 Replies
May 21, 2010
I've just started a new job, and I have the opportunity to do some work with Flash CS5 - I've never used Flash before and I'm excited to be learning new stuff! I have been tasked with creating an interactive thing... well, how 'bout I just show you
I've built it in Photoshop, but I need to make it come to life. The user should be able to grab the slider and drag it left or right and for the numbers to change appropriately. I don't even know enough about Flash to know what keywords to search to find a tutorial that'll show me how to do something similar!
View 5 Replies
Jul 30, 2010
any software that can be used to create interactive CDROMs? we have a possible job whereby an interactive CD ROM with basic animation is required. Company information is to be placed in various "Pages", and if possible some kind of "catalogue system" for a lot of PDFs would be available.
I've seen some existing CD ROM makers but they all look really cheap and unprofessional (like cheesy banners and colours etc) - what would you recommend?
View 1 Replies
Sep 15, 2010
I'm creating an interactive gauge in Flash. The gauge has two needles and these needles need to be controlled by two text input boxes. That way, whenever a number is typed into the box, the needles respond accordingly.
var degree = (360/intRange)*Number(strValue);
var hist = (360/intRange)*Number(strHist);
var mneedle = needle_mc._rotation
var mpointer = pointer_mc._rotation
if (mneedle < 0){
mneedle = 360 + mneedle;
[Code] ......
View 2 Replies
Sep 14, 2009
I have been asked to create an interactive flash project where the user would be able to click on a main image and depending on what part of the image they click on, a movie clip plays, then goes back to the main image.
I am sure this is basic, but I have been researching, watching tutorials, etc for a week now and can't seem to get it to work. I am by no means a Flash expert and have really never worked in it. I do more Photoshop and Illustrator-type work. So Actionscript is new to me and really the whole interface is as well.
Would you all be kind enough to help me out? I am going to need some detailed explaination.
View 7 Replies
Nov 17, 2009
We have used Enliven before to create interactive 3d apps for the web. Enliven uses the Viewpoint Media Player to work. We would like to be able to get the same results using Flash.
Is there a 3rd Party software out there that allows you to create interactive 3d objects and animations in Flash?
Here's a sample of something our company created using Enliven. HHI 3d Viewer
View 3 Replies
Sep 14, 2010
I have made a panorama in PS CS5. Is it possible to export it to Flash in order to make an interactive Flash panorama, where I can pan around?
View 1 Replies
Oct 26, 2010
We would like to create a training module for our client that shows them how to use a device like a cell phone. We'd like to be able to use a 3d model (preferably created in 3ds Max, since we own that) and bring it into Flash, where they could click on various buttons and get feedback.I found something similar to what we're looking for on Newegg's site:
http:[url]...Just click on the "3d View" down below in the Overview section.What should we get to achieve this?
View 3 Replies
Apr 1, 2011
Creating a touch screen kiosk and need the gui to time-out to a movie clip (screen saver). Any tips on getting this started? I want the movie to stop when display is touched. I know it sounds like a screen saver but within the interactive using Flash exe (no web).
View 2 Replies
Oct 31, 2011
I would like to make some kind of interactive 3D model in flash.
In the image below you see a 3D model. It's just an example to explain what I have in mind. You see a red disc 1, a blue disc 2 and a pushbutton. The idea is that the blue disc rotates (for example 45 degrees) compared to the red disc when you push the button. Is that possible in a 3D model that you also can turn around with your mouse?
I can make the models in Rhinoceros 4.0, that's no problem. Importing the model into flash is also no problem (papervision). But how can I add some interactives to the 3D model like a pushbutton and a slidecard?
View 1 Replies
Nov 18, 2011
I'm currently having an issue creating a set of buttons that are supposed to turn individual layers on and off. The layers I have are: fishing spots, facilities, trails, map elements, an aerial photo, and parking lots. It is giving error #s 1119 and 1120. Could anyone explain possible reasons I'm getting these errors.It might be worth mentioning that I used a tutorial made with Flash CS4, but I'm writing the code in CS5. Here is the exact code I'm using:
spots._visible = false;
facilities._visible = false;
parking._visible = false;
elements._visible = true;
[code]....
View 4 Replies
Jan 4, 2010
Would it be possible to have a video (MP4, FLV, F4V, or some other popular format) contain a table of contents that the user can click to seek to different sections of the movie?
View 2 Replies
Jul 15, 2010
what my practical options are for publishing interactive 3D models on the web? I would think either Flash or Silverlight would be the way to go, but even if this is the case, perhaps there are some frameworks already available based on theseDetails:Fairly simple modelsMust support 'bones' and joints etc.Some level of user interaction requiredSome animation required.
View 9 Replies
May 23, 2011
I've been tasked with building an interactive map of all the states in the US and just wondering what the best way is to go about this? I know I could build this fairly easily in Flash but one of the requirements is for it to work on an iPhone so obviously that rules Flash out!
Requirements:
Must work across all browsers and handheld devices.
Must be updatable via Wordpress.
Must include a small info box that pops up when each state is hovered.
The look of the map will be designed by us (we'd want complete control of this as we're graphic designers!) so this also rules out a custom Google map.
I've done a search on here and found two examples, the first is exactly the kind of thing we want but is done in flash - example I don't think I'll be able to create popup bubbles when hovering over each state. An example I like is - Transmit's feature section. How was this built and how could I recreate something like that?
View 1 Replies
Jul 20, 2011
I'm searching a (free or commercial) Flash component that can display 3D diagrams (three axes) and allow the user to interactively rotate the diagram.The kind of diagram I'm talking about looks like this:The component would be used to display various three-dimensional arrays served either from a server or JavaScript.I think I could write such a component myself, but really want to avoid to reinvent the wheel...
Any .swf available that does this?
View 1 Replies