ActionScript 3.0 :: Flash 9 - Building Drawing Application?
Feb 22, 2009
I'm trying to make a drawing program in Flash 9 (AS3 ) which will allow the user to make their own caravan decking design. I'm having trouble getting it finished as I have only been working in Flash for about a week. Please see attached files.I think I'm on the right track, but heres 4 things I need to complete the work:
Add Object Focus: When the user moves the mouse over one of the decks I would like the decks border colour to change (0xFF0000) and to activate focus.
Add Object/Clone Copy: When the user starts to drag the deck and the deck has focus I would like the program to instantly clone that object to simulate the decks having an unlimited number.
Add Rotation: When the deck has focus I would like the registration point to be reset to the middle of the sprite. Currently I only have it working on one.
Add Collision Detection: I will have a basic drawing of a caravan in the middle of the screen and I wish for the deck to never go over the border of the caravan. When the user let's go of the mouse I would then like the collision detection to include both the attached deck and the caravan.
View 0 Replies
Similar Posts:
Sep 29, 2005
Can anyone tell me where i can find a tutorial for building a search application in flash?
View 1 Replies
Feb 6, 2012
There are several flashbased painting/sketching online apps that allow multiple users to paint simultaneously. Some examples: [URL]For a project, we want to implement something similar. The question is, whether we need to start from scratch or whether there are any libraries available that could facilitate development (especially the networking part).
View 1 Replies
Feb 19, 2010
I have a drawing application likewhere the user can select a brush size to draw.I need a way to determine that all the surface has been drawn.
View 2 Replies
May 30, 2009
i make good Online Mulit Drawing example for you herethere is a Socket Server that i made, and swf to.
View 2 Replies
Sep 3, 2011
I want to create an application that has these features
- At client side: Display a list of images, when user click on one image, data will be stored in MySQL database.
- At server side: Manage images used in client side, I can delete, add new images.
Is this possible for me to achieve this using Flex? And if it is able, will my output be 2 separate SWF files? And where can I find the materials to read on writing such applications?
View 1 Replies
Aug 1, 2010
I am supposed to design a Flash application. Part of this application consists of a search window. It is similar to your search window on a DVR. When you want to find a specific show or movie to record, you cycle through the letters and type it into the search box. As you type, results are instantly posted. Once you see the one you want, you can simply scroll over and select it. You can move in and out of the search box as needed.
View 6 Replies
Oct 15, 2010
I'm currently in the planning/early building phase of a desktop flex application that will be communicating to a Zend Application on a web server.The flex app will basically be like a layout/view in terms of the MVC pattern, it will make requests to various controller actions and display the data returned in a meaningful way, and post data that will update various data in the database on the server. Basically what I'm wondering is what the best way is to go about building a login system for the desktop application.I can't use the regular channels that you would if your users were accessing the application via a browser, so I was thinking I would do this:
Flex app posts login details (email, password) to a login action.The login action uses Zend Auth to check if the details are valid.The login action creates a unique hash (and stores it in the db somewhere along with the user's id) and returns a json object containing the hash along with the user's id to the flex app.Whenever the flex app makes requests to any action in the web app, it also sends along the user's id and the unique hash so the web app can verify the user.
View 2 Replies
Apr 10, 2010
i've created a simple drawing application with colors, a clear button, and a save function, but my problem is i want what people draw to become the head of a character in my animation.I would LOVE a transparent backround too to whatever they draw,
View 3 Replies
Mar 10, 2009
how can i do export the image that drawing in the application (swf file) ontime . i 'm design the flash application that you are drawing , switching the brush style and font and .. but i don't know how can i save the image that draw in .
View 1 Replies
Jul 28, 2009
I wonder which component to extend in Flex 3 in order to make a drawing stage.
View 1 Replies
May 16, 2010
I found this code on a forum which allows for an undo and erase button for a drawing application (and is perfect for what I need) but it's in AS2 and I can barely make sense of it:
Code:
_root.attachMovie("canvas", "canvas", 0);
d = 0;
[code].....
View 5 Replies
Jun 24, 2009
How to make multi user drawing application in as 3.0
View 8 Replies
Apr 8, 2011
So i have a project i am working on that is a drawing application. I am trying to put a brush size slider into the application but i have no idea where to even begin.I am very new to flash/actionscript so i dont know where to start.
View 9 Replies
Jun 14, 2011
I have this: [URL]. And would like to be able to stop drawing when dragging the added picture. The thing is, the drawing App is inside the fla. The Drag and Drop is an external class. What I think myself is I probably have to change the entire drawing code to an external class also, but then I'd still not know how to have those 2 classes communicate with each other.
Fla file:
PHP Code:
Draw API Marius Posthumus
import com.adobe.images.JPGEncoder;
Importsimport flash.display.Shape;
import flash.events.MouseEvent;
import flash.display.BitmapData;
[Code] .....
View 10 Replies
Jul 9, 2010
How do I create a simple live drawing board/whiteboard functionality using flash as3, and flash media server 3.5.
View 1 Replies
May 27, 2011
I am using a custom Flex skin to create an active blur/frosted glass effect on the background of floating Panels, TitleWindows, and other containers (similar to http:url....). There is a background image in the Application skin, and potentially any number of other components above and below the active blur component. Here's some relevant code within the skin:
public static const BLUR_FILTER :BlurFilter = new BlurFilter(16, 16, BitmapFilterQuality.HIGH);
private var _bitmapFill :BitmapFill = new BitmapFill;
private var _matrix :Matrix = new Matrix;[code]....
Unfortunately, the performance of this when the component is being resized, and especially when moved, is poor. There is noticeable drag delay and overall slowdown, and this is with only one popped-up TitleWindow in the test application. There is especially poor performance when components inside the TitleWindow are changed (button hover states, etc.)I've attempted to optimized a little bit by avoiding reinstantiation of the blur filter, bitmap fill, and matrix, but this has had little or no effect. I removed the blur at one point, just drawing the Application to a bitmap, and the performance is still poor, so it's clear that it's mostly the BitmapData.draw() call.
I've read about using scrollRect and cacheAsBitmap, but I'm not sure where to apply these properties (or other optimizations I'm not aware of) within the Application or its components.
View 2 Replies
Nov 9, 2010
i've tried to simulate a pencil tool, for drawing above a imagem, but the drawing is below the picture. How fix it?
[Code]....
View 3 Replies
Aug 18, 2009
I have no idea what to call it or where to start looking, so I am putting it in the generic and hopefully someone can point me to the right forum or area. Here is my project and I am trying to teach myself how to do these things. I had great help in making buttons on here a while back, now I am trying to build an object right in flash. The easiest thing for most to relate to is a computer that is being built from scratch. So, You start with a base picture of an open sided computer with a list of components underneath. By draggin those components to the box, it snaps them in place. You can also remove them the same way. When done, you click a tally button and it shows a list of all the components you added with product numbers.
View 2 Replies
Aug 20, 2011
converting my swf to exe and app. I know that there are several options available. My application will be frequently updated so update feature is essentions for me.
p.s. As another option, I can make app and exe out of a loader app that will load main application module every time it is updated.
my main concern is about build in update feature inside projector eg. Mac app will be able to check for new version of my app automatically...
View 4 Replies
Jan 2, 2009
building a preloader in Flash. It's about pre-loading swf files in the background while the visitor is watching a page. For instance, I have a start page built in HTML. It will have links to various swf-clips. I would like for those swf-clips to start caching immediately once the HTML page is loaded so that there is no (or little) delay once the visitor clicks on any of the links.
View 1 Replies
Jan 10, 2010
I'm trying to figure out where to get started on a menu like the one found at:There are several links, and as you rollover each of them, it changes the image above them. However, the image above them has links in it as well.I'm completely lost on where to get started as it seems like rolling over opens another page right above it.
View 4 Replies
Jul 22, 2009
Basically I've got a reasonably complex drawing object in a fla and I want to reproduce it in a class definition using the drawing api. However obviously this is a tedious task, so is there some trick or automated method of doing this?
Last time I needed to do this it was a drawing of an arrow and I ended up writing down x,y,width,height values for everything but this one has curves in it which I don't have experience with drawing anyway.
View 2 Replies
Oct 12, 2009
HOW do I go about doing it?Ive tried...buttonon "over" create to movie clipinside movie clip have my animations and sublink buttonsit works fine, but there's one problem, The hit area of the main button HAS to cover the hidden sublinks, so even if you scrolled your mouse over the bottom of the button (in the invisible area) it will still show since its in the hit area).How can I create a simple nav drop down? I seriously have went through almost all tutorials, both video and text, and nothing has worked! I am using Actionscript 3, or whatever the tutorial says to use.edit: Here is something I'm working on. Its a button, and on the rollover it creates the animation. Obviously it doesnt work, because you cant have a button inside a button, so I don't know the actionscript to do this.
View 2 Replies
Aug 26, 2010
Building a webpage entirely in Flash??I have to admit that I really like flash.I am using it for about 2 years, but I am still not sure if building a webpage entirely in flash would bee a good idea. In HTML I can't achieve the same look, and feel, on the other hand sacrificing the look for functionality is the last thing I would do.
View 2 Replies
Feb 1, 2011
I've taken 32 pictures of an item, on a rotating plate. Then, I removed the background and kept the file in PSD. I imported to library in Flash then created the "picture animation" that shows the item rotating. I want to add button to control the rotation and I wish to add some SPAY area on some of the pictures so, when a user is looking at the item, rotates it at will, some areas will highlight and will provide the user with links to more information.Should I use Firework to set the areas ?then establish their relation in Flashr should I add links and compositions directly in Flash and build everything from there ?
View 2 Replies
Mar 21, 2012
I'm having trouble with building iOS applications in flash. I just bought an iPad and want to start building apps for it. I hav done simple apps for iPhone before but nothing too fancy. The problem is, I can build it and compile it fine but when I try to install on my device it comes up with the error saying:
"ITunes: 'APPNAME' failed to install." I can compile it as an iPhone app and it works fine. I'm pretty sure I've got my provisioning right because I have both my iPhone and iPad devices added. Anyone got any ideas of why my apps only work while I compile them as iPhone apps?
View 3 Replies
May 11, 2010
I'm using CS5 flash professional to build a swf. I have it publishing to flash 8, actionscript 2. but it will only work with browsers that have 10.1+ plugins, no matter what I try. is there something really obvious that I'm missing? Edit: I'm using swfobject.embed. it looks like this: swfobject.embedSWF("/foo.swf", "myContent", "400", "300", "9.0.0", "/foo.swf", flashvars);
View 2 Replies
Apr 14, 2011
I was wondering how to go about doing a preloader that slowly reveal a building outline line by line.
View 1 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