ActionScript 3.0 :: Do User Forms And Image Generation?
Jun 18, 2009
I need to build a web application in flash, the gist is the application takes users inputs and generates a network diagram based on that inputs. I actually coded the entire application in JS DOM and PHP GD, and client comes back suddenly saying they cant support PHP (IT restrictions). So now am back to square one, wondering, how to draw network images dynamically. JS cant do it. So I stumbled upon Actionscript. So if i were to code an application entirely in actionscript,
1. Does actionscript provide me a way to create input fields (select, text, textarea...etc)
2. Would i be able to use these user inputs from Question 1 to generate a network diagram?
3. Can actionscript do Question's 1 and 2 without needing support from a server side
scripting language like PHP?
View 3 Replies
Similar Posts:
Aug 23, 2011
I have a site that contains approx 20 pages of lengthy forms. The forms exist on single frames within the flash movie. This application is used as a demo only, so I do not have a need to submit the form data. The demo is used to go back and forth from form to form and fill in mock data. The problem is when the user goes from form to form the data they have entered is not saved. Is there a way I can set all frames to remember the data entered into the form without having to set every form control instance? There thousands of fields in these forms and I am trying to avoid individually naming them and scripting them to save their values.
View 5 Replies
Jan 23, 2010
tool which can convert a flash (.swf) chart to any image format to be later embedded to a pdf report. I am using Ruby on Rails as the dev platform. I have used tools from swftools (specifically the swfextract program) but it doesn't suit my use case as it extracts individual elements (shapes, movieclips, frames etc) which is not too useful.
View 1 Replies
Jan 5, 2010
I am trying to split an image in different forms. For the moment I have something like this and the image splits only vertical but not random forms. I what all to be random like the image in the attach.[code]...
View 5 Replies
Jan 19, 2011
I have an image on the stage which is bigger than the stage itself:
The stage is 700x550
The image is 2100x1650, and it's registration point is at its center, if I remember correctly.The initial location of the image on the stage is 350,75.I want to make sure that the user will be able to drag the image, as long as the edges of the image doesn't show.here's what I did:
mapRect = new Rectangle(0-mapMC.width/2, 0-mapMC.height/2, mapMC.width, mapMC.height);
and later on:
mapMC.startDrag(false,mapRect);
The the top and the left of the image are bounded well, but as far as the bottom and the right side of the image.
View 1 Replies
Jun 7, 2010
In my project I am creating. jpg file from flash. But I am not getting the 100% quality. The aim of the project is to design something and convert into jpg file which will be printed. But as I told that I am not getting the 100% quality so the printd pictures are not so good.
View 1 Replies
Jul 13, 2010
w a website recently,I am curious about the 3D execution with XML generation. Does anyone know how this can be achieved.
View 1 Replies
May 25, 2004
2d Landscape Generation with Midpoint Displacementhey everyone... I'm working on implementing the simple 2d algo. described here:[URL]...html in actionscript. It's a simple midpoint displacement scheme, and it's almost working correctly. The problem i'm having is that the array i'm generating isn't sorting correctly. I need to sort it so that the drawing loop cycles through from left to right (on the x axis)... For some reason, it's not sorting points that are between [0] and [1] in my array. because the algo. is iterative, the problem snowballs the more iterations you run it for.
here's the code i'm working on. it's in 3 frames, and init frame to get it going, and then a loop in frames 2 and three (so that i can see the iterations as they're drawn out):
[Code]...
View 3 Replies
Aug 16, 2007
I'm making a picture gallery program and making it so that it takes images and resizes them to fit the proper thumbnail size, using onInit from the clip loader object and _xcale/_yscale. The problem is, the first time the thumbnail scrolls into the visible area, massive lag results; the app freezes for a solid half second until the thumbnail bar resumes scrolling. This does not happen with smaller pictures: apparently, Flash is being stupid and is reducing the size, but not the resolution, of the images. Is there a way to solve this problem other than
a) loading each thumbnail on the visible stage at first, then immediately repositioning into the bar (this would multiply load time substantially) or b) a server-side jpg resizer?
View 2 Replies
Apr 7, 2009
A bunch of us are trying to learn here at the office and we came up with a flash banner(very much duct taped on). We can not understand how to take the flash to display the number of buttons per the number of children in the xml... ie: 1, 2, 3, 4(slides or whatever). I've researched plenty on this forum but just can't get the flash to get past errors.
XML:
<flashnews>
<news>
[code]....
View 1 Replies
Jul 17, 2010
I am working on a web-tool that allows users to add pre-loaded tiles of data as overlays to Google Maps. I then want users to be able to save their work. I'm approaching this as them saving a series of images that they can then import to work and add text etc to a layout they choose. If you want to see it in action, it's available here: [URL]
My issue is saving the map image.
I started by trying to use BitmapData.draw() and the JPGEncoder class in the as3corelib and this works for the 2 legend images. It also works for the map when testing on my PC (and changing the Global Security Settings). As soon as you put it on the server it hangs at the BitmapData.draw() line, and I've since found out that this isn't resolvable:
code.google.com/apis/maps/faq.html#bitmapdata
I went back to trying to use map.getPrintableBitmap (code.google.com/apis/maps/documentation/flash/reference.html#Map.getPrintableBitmap; which I'd previously discarded due to poor resolution). I can still pass this through JPGEncoder and am now happy with the result. However, the code only runs when no overlays have been added to the map.
My "save code" goes as follows:
Code:
import JPGEncoder;
Security.loadPolicyFile("195.62.199.219/pctsla/gis/supporttool/crossdomain.xml"); //see note below
[Code].....
Note: PHP cannot be installed on the server I am working with for various reasons so I need to pursue other routes.
View 0 Replies
Nov 2, 2009
I am using Actionscript 3.0 and my learning is self-directed and is mostly from tutorials. I have been trying to make monsters appear within a specific area on the stage. I have tried to edit the code myself, but I�m not sure what and how to change it.I want the monsters to appear within; W:545 H: 305, X:2.0 Y:8.0. At the moment the code I believe need editing is;
Code:
function createMonsters(event:TimerEvent):void
{
[code].....
View 4 Replies
Sep 24, 2009
Wondered if anybody knows how customizable Flash swf files are made, where there appears to be a template swf that the user can then input some changes (eg text or image) and receives a newly-compiled swf file with their changes.[URL]
Constraints:- user receives a single output swf file that can be played with all their changes included. ie there is no reading from an xml file, or using Flashvars.
View 4 Replies
Feb 25, 2010
As part of a nightly build i want to automate the generation of action script classes like Flex does but in an automated fashion. So I'm looking for an equivalent tool to flex builder 3's Import Web Service functionality, but accesable to a Hudson nightly build using ant.
View 1 Replies
Oct 8, 2010
I am looking for a solution to this issue but I have not yet found anything conclusive. I would love to get some input. What I need to do is basically to take two or more individual PDF-files and merge them into one. Nothing fancy just sticking one after the other and ending up with one file.
I have found AlivePDF and purePDF but those libs both seem to be focused towards generating PDF's from scratch.
View 2 Replies
Oct 18, 2010
I want to write some games in ActionScript but I do not have any illustration skill. I am looking for a library that can help me generate simple but beautiful, colorful shapes I will then animate.
Recently, I have stumbled upon such a library, written in C++ and newly ported to javascript, but I can't remember it anymore ! Something like Raphael.js in ActionScript would be cool, but I really want to hear about solutions in any language.
View 2 Replies
Jul 29, 2011
My client has asked to generate pop art images for the user uploaded images, Does any one of you has done some work related to this? is this sort of work is possible in flex, flash, as3, etc,
There is one software named pop art studio, which generates such images. we have Image magic software with us, does image magic generates these sort of pop art images? i don't have much idea about Image magic.
one solution for this would have been, if these images were our images, then we would haven taken them as the separate parts of one image, and applied color transform or any other thing on those parts, and would have generated these sort of poparts displayed in the picture , but client requires this option on user uploaded images, so all this is not possible in that case.
View 1 Replies
Jan 19, 2012
Which is the fastest way to generate HTML from a MXML GUI? I would like to print a complex GUI
View 1 Replies
Dec 13, 2004
I need to create a function with ActionScript that will return a number that will be 13 characters in length and must be unique everytime its ran.
e.g. "1234567890123"
View 1 Replies
Nov 3, 2010
Is there anywhere available a software which allows to build UML diagram from AS3 code ?I found that someone started to implement that in ArgoUML, but with any results yet.Does anyone now if there is any software which can do that ?
View 4 Replies
Mar 25, 2010
I am creating a little flash movie, nothing major and I want something to happen. When a user rolls over a button, a image fades in somewhere else on the stage, possibly below the button being rolled over. Then when its clicked (the button) the image (possibly) expands and text is showed while the background is faded.
View 5 Replies
Apr 5, 2010
I am looking at all the various Flash detectors and am a bit overwhelmed. Most of the info I find is from 2008 and before so I am afraid it is outdated. I want to be able to detect if a user has flash plugin and if not then display a still image. I am concerned that I-phone users are not seeing the flash embed in my site.
View 1 Replies
Aug 24, 2010
package com {
import flash.display.*;
import flash.net.*;
[code].....
View 2 Replies
Sep 29, 2007
I load an image onto the stage and attempt to write this code to allow the user to click and drag the image, but it doesn't do anything!
[Code]...
View 2 Replies
Jul 31, 2009
I'm working on an online editing website. how to receive the image after the user edit it (change colours, add text) in to my email (as a PDF, JPEG, PNG,...??)?
View 2 Replies
Jan 21, 2010
Here is the code that I have just now:
Code:
package
{
import flash.display.*;
public class Particle
[code]....
This creates a constant stream of particles flowing from one point on the screen. I don't want the particles to constantly flow out from one point - I want to create a button that causes a set number of particles to explode out from it when it is clicked.
View 10 Replies
Jun 22, 2010
i just started using Flash builder 4 and i have a problem.As it is based on Eclipse I"m excepting, when I move mouse over undefined Method, class, variable that small Eclipse like window pops up and let shows me some choices for creating interface, class, renaming, classpath fixes etc.
View 1 Replies
Sep 20, 2011
In ideal it must give me 5 black squares on random positions on checker field. But in fact it giving me less up to none black squares. I really stuck into this because i literally can't find answer.
PS here is compiled app.
[Code]...
View 2 Replies
Mar 4, 2002
is there a way in flash by which i can create a large number of movie clips in a single go instead of applying a loop and using duplicateMovieClip in every iteration.
View 3 Replies
Jul 2, 2010
I see flash has a save call to do this job, but it requires user interactive.
How to save it automatically?
View 3 Replies