ActionScript 3.0 :: Image Controls In Flash?
Jul 11, 2011
What i need to do, is to be able to scale and distort and image's shape in the swf file.
So built-in to the SWF file would be a photo of whatever, and i want the user to be able to grab the corners of the image and change it's dimensions. I want it to work the same way that the 'Distort' function works in Photoshop.
For those of you who don't know, i'll try to explaim it briefly. So your photo has 4 sides and 4 corners, you grab a corner and drag it, it keeps a straight line between the sides, but all it does and change the perspective pretty much, as though you were looking at it from a different angle.
Just like that, so it's still a 4 sided shape but you move the corners... and it changes the shape of the image... is this possible to do? So i don't want to do this inside of Flash but in the SWF output, so anyone who goes to the site can do it.
View 3 Replies
Similar Posts:
Nov 6, 2007
I've found this xml driven banner rotator here on Kirupa from Mr. Daytripper.It's great (with preloader, xml controlled transitions, speed, urls) but I need to be able to add additional control with a 1 - 2 - 3 - 4 buttons that would jump to image 1, 2, 3 or 4 and maybe pause/play.I've added the buttons but don't have any idea how to control the arrays/variables.
I'm attempting to make it like a standard banner rotator like you might see on the homepage of Target.com, Bestbuy.com, but honestly the code is a beyond me.
View 7 Replies
Nov 20, 2009
I have an image in flash, actually, I want to put zoom in and zoom out controls over that big image on click events.
View 2 Replies
Jul 3, 2010
i need script for ZOOM / PAN CONTROLS - With Dynamic Image & Settings use as.2
View 0 Replies
Nov 13, 2005
i have the controls for car number 1 that would be the arrow keys if [code]but how can i make controls for car 2.i wann use wasd but i cant figure out how the key.a doesnt work.
View 1 Replies
Jan 29, 2010
Does anyone have a link to a tutorial that will show me how to make an image gallery that has an automatic slideshow with manual controls, a multi-page thumbnail bank with manual controls, and a preloading system that would be good for about 160 images at about 1024x680? I don't really know any useful actionscript, and I've managed to find a hodge-podge of tutorials but I don't know how to tie in all the parts to make what I want.[url]...
View 2 Replies
Jan 14, 2010
While the question may seem fairly basic I seem to be at a loss to actually find anything that fits my needs, which are:
Skinnable (although not 100% required) Controllable through javascript (start, stop, change track)Event triggers for custom functions (on track finish mainly) Actual documentation - rather that 'it can do this, but we wont tell you how' I've tried many of the free and quite a few demo's of the pay for ones. Wimpy Wasp seemed to be the closest to what I need but there is an obsession there with using a custom Windows app to set it up which is impossible as the files are provided dynamically by the sites users and it doesn't look like they want you to be able to create the code yourself.
View 2 Replies
Mar 17, 2011
I've been looking at opensource tools, but turns out my roommate has an old version of flash. All the webcam tuts I've seen don't work in this, i'm wondering if webcam controls even exist in as2 and if someone could possibly provide a simple explanation on how to make them work?
I have wowza media server running on my host and I want to be able to broadcast my webcam on a website using it.
View 1 Replies
Apr 26, 2011
I have a TextArea control, and sliding the scrollbar all the way down always doesn't show all the text.I think it has something to do with me changing the typeface, because I noticed that when I do the setStyle to change the textFormat style, the textHeight value doesn't change.Has anyone ran into something like this? can I at least access the TextArea sources so I can fix this? Or is there a way to don't know, subclass it and fix it kinda easily?you can check it here: http:/[url].... if you see the scrolling texts, you can try scrolling all the way down, and then selecting the text and pulling farther down, sometimes it'll show more text. Sorry about the spanish.This is an example of a text that usually fails to scroll all the way down[code]..........
View 2 Replies
Aug 5, 2011
I know the title may be funny for you but I am actually facing it. My page has a checkbox and textbox. I have a flash control (not developed by and so I don't have it's code) and a button inside that control. When the button is clicked inside flash control it causes redirection(or may be postback) to the same page but the values typed the user in textbox and checkbox are no longer available. They are lost! How can I handle this stuff? I am pulling my hair apart. I don't even the source code of that control
View 3 Replies
Nov 8, 2011
I would like to know how do we test Flash elements using Watin. I have file uploader in flash.
View 2 Replies
Jun 1, 2010
I'm a .Net developer who is trying to mend my evil ways and learn the Adobe development cycle--so if this a really obtuse question--please forgive me. I was once a graphic artist and I am very familiar with some Adobe products. I am having trouble understanding the workflow as it pertains to creating custom controls, or even reskinning controls and then using them in Flash builder. I haven't really dug into Catalyst, but I am comfortable in Flash Professional and I would like to believe I could take designs from my employers graphic artists, created in Illustrator, and bring the artwork into Flash professional and create custom components, or more likely skinned components, in Flash and export them for use in Flash Builder.
Our goal is to allow designers to create vector graphics skins for controls and applications in Illustrator (or possibly Fireworks) and to be able to apply those skins to controls and custom components in Flash Builder for deployment to the web or the desktop in an Adobe Air application. Ideally the designer would be able to update the designs easily at a later point.
Flash allows for skinning to be done fairly easily within the Flash application, but I have had some problems exporting controls or even implimenting them in Flash builder. The only "video" on that workflow used a movie clip from Flash and set it's "isButton" property to true in Flash Builder...so if a designer built a simple button and designed the states in Flash, I would have to convert it to a movieclip?
If I start with a Flex ready component from the "AeonGraphical" library, and apply a new skin, how do I successfully import that into Flash Builder?
- MX skins can be created in Illustrator and Fireworks and imported into Flash Builder however the format is obsolete and the designs rasterizes and are unacceptable even before scaling.
- Illustrator files can be saved in FXG format and dropped into an assets package in Flash Builder. These images can then be easily used in FB; however mapping them to a control requires each state to be a separate image and to be manually wired to the states of a skin. This is method of skinning is feasible but not ideal...Am I missing a step or improperly importing the files?
- Illustrator files can be saved as an FXG file and imported into Catalyst. In catalyst the artwork can be associated with a control type and the states of the control can be edited in using illustrator. The catalyst file (FXP) can then be imported into Flash Builder as a project which will provide a skin for that type of control. Remaining problems include scaling (skin doesn't stretch) and referencing the skin outside the project.
So that leaves me with Flash Professional as the seemingly most competent tool for creating & skinning custom controls. Using the very detailed and helpful online documentation on customizing controls (found here) I can create custom skins and have no problems implementing artwork from Illustrator--for an application authored in Flash Professional (not so much for Flash Builder).Catalyst can let you create "one off" costum controls easily, but creating one custom skin for several buttons (for example) is not so intuative and pulling it into Flash builder yeilds mixed results...
Flash is in and of itself a rich IDE and could be used to create an event driven application for AIR, but its not really geared to that user triggered, event-driven development model. I have been able to adjust my mindset to create successful prototypes of form based/even driven application that take advantage of Flash's powerful features, but some of my coworkers are having trouble adjusting their Microsoft Mindset (despite exposure to the remarkably "derivitaive" Expression studio) and strongly prefer the Flash builder coding environment.
Are there any resources; web pages with examples or step by step walk throughs, or videos which follow a process of taking a design from a grapjics application and using it to create a custom skin--and applying it in Flash Builder? The process is fairly straitforwards in Flash Professional--but my team and I are having less success in Flash Builder.
As a longtime user of Adobe products, I have by nature of that association become the inhouse Adobe Evangelist and not only have I taken the position seriously--I have managed to convince upper management to abandon WPF and Pyxus (for mobile applications) and develop AIR applications which will span platforms and lend elements to mobile AIR applications. They have even initiated a program which will likely result in our delivering Andriod based tablets to our dealer networks preloaded with AIR applications for business.
While I know know this is all "do-able" I am working double overtime to become competent enough to make this happen...but the workflow between Flash Builder and Flash is only sparringly covered online and the information lacks details...I have found that browsing the online videos sometimes turns up better results than searching (doing "Google Gymnastics")--for example Flash Downunder series has great stuff that doesn't always show up when searching Google...And we joined Lynda.com, and while they have lots of great stuff, they need to develop more stuff on CS5 specifically...
Where can I find information on creating/applying custom skins from Ai to Flash Builder and all points between? (I'll buy any recommended books as well...) Of course we have agressive deadlines and unfortunately there is no experienced Flex/Air developer on our staff (yet)...The "Classroom in a Book" series on Flash and Catalyst have only just started shipping...is that where I should look? Are there any online resources that address both skinning and creating custom components for AIR applications in Flash and/or Catalyst?
View 1 Replies
Jun 17, 2009
Is there a way to hide the controls on a flash video (flv) until the user scrolls over the video? So the page opens, the video starts playing (still no controls visable) and then when a user scrolls over the video, you then see the controls for the first time. I have searched high and low.
View 7 Replies
Jun 18, 2010
Can anyone recommend some BASIC tutorials in the use of ActionScript 3 controls in Flash CS5?
View 1 Replies
Feb 23, 2012
To make it, I attached the audio clip to the frame, and used Actionscript 2 to set the frame to stop the audio and manually advance to the next frame. Is there an easy way to show a progressive bar showing the time remaining for the audio playback, and have rewind, stop, start/pause and fast forward?
View 1 Replies
Mar 10, 2012
I have started creating a movie trailer in Flash Professional cs5.5. I need to add player controls that will show up when I publish the file. I do not want to have to convert to an FLV file in order to use FLVPlayer Component. My published SWF file now is 3mbs - converting to FLV turns it into 100mbs!
View 1 Replies
Mar 11, 2012
I must be missing something obvious, but I've done a couple of hours of searching and haven't found the answer. I'm using Flash Pro CS 5.5, and have created a Main class that is set in the Document's class property.
In the ActionScript editor, it lists a whole bunch of ActionScript 3.0 packages and classes. In particular, it has one called fl.controls. When I try to add this to my import, though, the compiler tells me that the definition for fl.controls.Button (for example) cannot be found. Is there some additional steps (libraries to be linked, paths to be set) that would allow me to use these?
View 3 Replies
Feb 3, 2009
I have an FLV Playback component in a website that I'm working on and for some odd reason the controls do not work. The video loads and plays fine and the controls appear but you cant click on anything like you can when you assign the skin in the parameters. It is a default Flash skin. At first I thought it was due to the video layer being under a mask, so I moved it on top and it didnt change anything.
View 1 Replies
Jan 28, 2010
How would one go about adding fl.controls.* to AS3 projects developed under Linux?
Apparently it is not part of Flex 3SDK for Linux (which is what I am using to compile) or maybe it is and I am not importing it correctly..I downloaded this SDK last March, maybe time for update?
Looking at Adobe Official Docs for fl.controls does not mention that this library is somehow restricted.
In particular, I was looking for fl.controls.UIScrollBar type of functionality
I am using MiniBuilder to edit.
View 1 Replies
Aug 21, 2010
how to create zoom and pan controls in Flash -- I'd like to create controls with functionality similar to that you see in Google Maps, GigaPan.org, etc. Does anyone have suggestions for where I might find a tutorial or instructions for how to create these controls using ActionScript? I browsed some threads in this forum on zoom and pan controls, but I'm not seeing anything that really explains how to write the code.
View 2 Replies
Jul 14, 2010
I followed a tutorial on youtube on how to make a custom flash player but the guy never uploaded continuing videos. Here's the link to the video: [URL]...So all I have now is a 3.0 Action Script file with a layer that has this code in it:
//Vars
var video:Video;
var netCon:NetConnection;
var stream:NetStream;
[Code]...
View 3 Replies
Jun 16, 2005
how to disable the Flash Player controls (right click controls) for an animation I have made; but the problem is that I cannot find a tutorial on this subject.
View 3 Replies
Dec 8, 2009
Can Flex objects be referenced and used in AS3 in Flash? I tried to make a Button from the fl.controls but it said Button nolonger exists and I need to use SimpleButton, and that it didn't recognize the package I was refering to, fl.controls. I tried again with the Colorpicker since I thought part of the problem might have been the button, and I thought I had referenced fl.controls incorrectly since I tried to use fl.* the first time, similar to using flash.display.* and flash.events.* It had the same problem, though, and now I'm wondering if it's even possible to use the flex controls directly. I can't imagine why, though; they're a part of the FlashPlayer runtime, so if I'm calling them from Flash or Flex it shouldn't matter, right?
View 4 Replies
Jun 30, 2010
i started my project on Flash CS3 now i opened my project on flash CS5 and when i compile the project it shows the following error.
[Code]...
View 1 Replies
Apr 4, 2007
I have a puzzle. I have some test movie clips that areoperated (played) by pressing a thumbnail. All works ok in theresultinmg html and flash file that is produced, but when I importthe flash movi into DW, the controls disappear, but the movieplays...if you look at the link below you can see the flash moviecontrols in operation OK[URL](press thumbnail 2 to play the test movie)
View 4 Replies
Aug 12, 2010
I need to access and stream flash video stored on a US server. I do so from one of three PCs - all running Windows 7, all with same updates and same version of Flash. Two of them show a given video fine. The third runs the same video but it is clearly truncated on the right and bottom - that is, only part (top left two thirds?) of the video is visible. And two show timecode and the third...doesn't (or its hidden by the truncation). But how can this be? And more importantly, what can I do to make the third PC play streaming video correctly?
View 1 Replies
Jan 22, 2011
In winform you can have a tag property which is a custom property where you can put any stuff you want so that you don't need to create a custom component just for adding a new property.Is this exist in Flash ?
View 1 Replies
May 20, 2011
I want to play song on my website, any flash mp3 player which allows me to control play, pause, change song position (means backward/forward by certain limit), change volume options using javascript code.
View 1 Replies
Sep 1, 2011
I'm using the fl.controls.Slider class and I can't get it to show a hand cursor when hovering over it. Here's my code.
import fl.controls.Slider;
var slider : Slider = new Slider();
slider.x = 100;
slider.y = 100;
View 2 Replies
Nov 14, 2011
I have a swf streaming an flv with the default controls from Flash. Is there a way to call a javascript function when the pause button is clicked? And then another when the play button is clicked?
View 2 Replies