ActionScript 3.0 :: Capture A User Customized MC And Post It?

Oct 9, 2009

I am working on a site where you customize a postcard for print. The user adds images, text etc. I have run into a problem because I need to have the MC that contains all the images, text etc, captured and sent to me so I know exactly how to lay out the postcard for print.I can't for the life of me figure out how to go about doing this without the user having to "screengrab" or "printAsBitmap" and upload the resulting file.

View 3 Replies


Similar Posts:


ActionScript 1/2 :: Screen / Stage Capture And Post Data

Feb 9, 2012

I am working on a project that requires the stage (and everything on it) to be captured, converted to a bitmap and then that data to be posted to another domain. I have looked at the .getPixel method but that creates a ridiculously long string and more often than not, will crash the swf in the browser. How I could possibly approach this. Oh, I need to do this in AS2 too.

View 1 Replies

ActionScript 3.0 :: Capture User Input When Hit The Next Button?

Mar 17, 2011

I am creating a game that has a gender selection and name entry box on a screen. When users hit the next button, I want to capture which gender they selected and what they typed for their name. I tried using the code found on the adobe website, but that captures every letter typed in real time.

I just started learning actionscript this week, so I'm a noob at it. Currently, when they click on the button boy1 it erases whatevers in the dynamic text box playeronesex and adds the word "woman". When they click the button girl1, it erases whatevers in playeronesex and adds the text "woman". I also need to know how to capture which they finally chose when they hit the next button.

Heres the actionscript for this frame:

//next button
stop();
onbone.addEventListener(MouseEvent.MOUSE_DOWN, nextone);
function nextone(event:MouseEvent):void {

[Code]....

View 2 Replies

Capture Numeric Input From User And Calculate Average?

Feb 26, 2010

This can't be too difficult but its killing me. I want my user to be able to type 3 numbers into 3 different input boxes, capture those numbers, calculate and display their average in a fourth text box.

I am not sure how to capture input from a textbox in AS3 in order to do these calculoatilo.

View 1 Replies

Javascript :: Capture User's Webcam And Create An Animated Gif Via The Web?

Apr 8, 2012

For example, check out [URL] They enable their users to capture videos of themselves and then create animated gifs from them.

Just so this isn't construed as spam, I do not work for Gifyo. It's just an example.

Can this be done now with HTML5? Should I maybe us Javascript? Flash?

View 1 Replies

ActionScript 2.0 :: TextField - How To Capture User Answer On Frame 3

Jan 24, 2009

I created text field. Instance name of the text field is answer_txt01. When I enter the right answer "red", it should go to frame 2. However regardless of right or wrong answer, it goes to frame 3. How do I capture the user's answer on frame 3?

answer = answer_txt01.text;
answer_btn.onRelease = function() {
if (answer == "red") {
gotoAndPlay(2);
} else {
gotoAndPlay(3);
}}

View 9 Replies

Actionscript 2.0 :: Letting The User Capture A Region Within The Stage?

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

ActionScript 3.0 :: Capture Input Text From User - Buttons Generate Errors

Jul 6, 2009

I'm using AS3 in timeline. I have a three page movieclip (dynamic_mc). Each page is labeled p1..p3. On p1 I have an input text box named userName and button named next_1. On p2 I have a dynamic text box named greetings_1, an input text field named schoolName and two buttons (back1 and next2).On p3 I have another dynamic text box named greetings_2 and two buttons (back_2 and next_3).

On p1 user enters name, which is captured on p2. Once a click next button on p1, I get this error:
TypeError: Error #1009: Cannot access a property or method of a null object reference. at FlashCS4_Curriculum_fla::lesson9_pg6_dynamic_122/frame10() at flash.display::MovieClip/gotoAndStop() at FlashCS4_Curriculum_fla::lesson9_pg6_dynamic_122/goP2()
Why do I get an error when using buttons? Is there a better way to capture input text?

Here is the code by page.
//page 1 = p1stop();
var hisName:String;
next_1.addEventListener(MouseEvent.CLICK, goP2);function goP2(evt:MouseEvent): void{ hisName =userName.text; gotoAndStop("p2");
} // page 2 =p2 greetings_1.text= "Welcome :" +hisName;var school:String;
//next buttonnext_2.addEventListener(MouseEvent.CLICK, goP3);
[Code] .....

View 5 Replies

ActionScript 3.0 :: Capture User Screen / Print Screen?

Dec 31, 2010

i want to user print screen command in AS3 and convert into bitmap as background in fullscreen i.e.

print screen from keyboard - keycode i.e. 44 [URL]

i want to know how can i run printscreen code from flash to capture user screen as i want to have flash presentation in 600x600px with disabled desktop and flash presentation should be in center of screen.

Quote:

import flash.system.fscommand;
stage.showDefaultContextMenu = false;
stage.scaleMode = StageScaleMode.NO_SCALE;
fscommand("fullscreen", "true");

[Code].....

View 3 Replies

ActionScript 2.0 :: Send Variables To Php Via POST, Which Returns A Different HTTP POST?

Jul 16, 2009

Im building a reservation form, using actionscript and php. I use sendAndLoad to send variables to php via POST, which returns a different HTTP POST response in case of sucess or not.

Is there anyway to "read" HTTP POST responses with actionscript?

View 4 Replies

ActionScript 3.0 :: Eval - Making Dynamic Post Values To Post To A URL

Jul 15, 2010

I am making dynamic post values to post to a URL.

[Code]...

Maybe I am doing this the hard way with eval, is there an easier way, such as passing an array of post variables?

View 3 Replies

How To Add Customized Forms

Sep 20, 2010

I am not sure if this is considered flash but how can I add a form customized that I would like to add to a website so clients can fill out and submit via email? Is there a program to do this task.

View 6 Replies

Add Customized Forms To A Website?

Jan 27, 2010

I am not sure if this is considered flash but how can I add a form customized that I would like to add to a website so clients can fill out and submit via email? Is there a program to do this task.

View 1 Replies

Can't Find Location Of Customized Scrollbar In FLA?

Mar 19, 2009

I had the core of my site down for me, I believe in Flash 8 using AS2. I took over the site and attempted to learn everything that they did, so I could update it myself. The one thing that I can't figure out... is where they put the customized scrollbars they made for my site. There are some scrollPane components in the library, but I can't see where he put the custom scrollbars. The homepage link is here:The blue scrollbars are what I'm trying to find. When I add more content I want to be able to use the same scrollbars. If you need the FLA, I'll send it to you. I am pretty sure there is some default location that they're stored in though, and I'm just not seeing it

View 10 Replies

ActionScript 3.0 :: Customized The Countdown Ticker?

Sep 24, 2010

1. insert date values and then run a contdown ticker

2. next time user opens swf the value of the ticker should have been adjusted to the date values user inserted first time.

3. New input values should be remembered and old values ignored.

4. no external files wished, flush or shared obj.

View 2 Replies

ActionScript 3.0 :: Adding Hyperlinks To Customized Pop-up

Apr 17, 2009

I need to add as many number of hyperlinks to a custom "pop-up". The properties for customised Pop-up are as follows:

A pop-up is a retangle shaped figure with BackgroundColour = #FFFFCC, Width=170 and Height= 275 respectively mentioned in Properties Window. Here, Pop-up is a MovieClip and its instance-name is"myPopup".
 
Now, i need to add text(which must act as hyperlinks, i.e., they must capture MouseEvent_CLICK event, should listen to the event and should produce response on clicking on the hyperlink) in vertical manner viz., the width,height and x-position should not change and only y-position for placing th text-field should change.
 
My code for creating a TextField with required width,height,x-pos and y-pos is as follows:

function createTextField(x:Number, y:Number, width:Number, height:Number):TextField
{
var result:TextField = new TextField();

[Code].....

View 1 Replies

ActionScript 3.0 :: Making A Customized Clock?

Aug 11, 2011

I'm building a customized clock at the moment. For seconds i'm using 12 movieclips with bars inside (fig1) For every second a bar lights up. I can get the number of "group" to pick and the number of "bar" to light up but i can't actually make them light up because I'm not sure how to actually select the group of bars according to the time.

My movieclips are called "group0", "group1" etc. and inside I made different states depending on how many bars light up (fig2) fig1 fig2 Here's my code:

var now:Date;var hour:Number;var min:Number;var sec:Number;var group_access:Number;var specificbar:Number;
addEventListener(Event.ENTER_FRAME, settime);

[code]....

View 8 Replies

Flex :: How To Create Customized Component

Nov 1, 2010

I want to create a data grid that has 4 columns: description, quantity, price, and line total. The line total will simply be the product of quantity & price. I want the last line of the grid to be the total of all line totals. How can I create this type of grid? I thought of using item renderers, but I can't figure out how to have the last row be for the line items total. If I must create a custom component,book recommendations on custom component creation. While I have a general understanding of how to create custom components, I don't have a firm a grip on it as I'd like

View 2 Replies

Xml :: Creating A Customized Video Using Flash And XML?

Jan 4, 2011

The problem: I have to create a Flash video (in CS3) that will query a MySQL database and display that data at certain points in the video. I've divided this project into two parts: a.) dynamically generate an XML feed from the data using PHP (using an ID number passed in the URL's query string), and b.) be able to work with it in Flash. I've got the first part working, but am pretty lost in Flash. I can parse the XML, but I'm not sure how to set the data up as variables and attach it to a video's cue points.

View 1 Replies

ActionScript 2.0 :: Customized Avatar To Appear On Other Pages?

Apr 25, 2010

ive created a flash website that allows users to change the clothes and for the character, how do i save it so that it appears on other pages as well.

for eg, when user change the character at the customize character page, after saving, it will replace the movieclip for the character. when the user click other page for eg, contact us page, the updated character will appear there

another qns.. after i uploaded the website, will every user be viewing the same character or refreshed to the default character each time they view the website?

View 4 Replies

Actionscript 3 :: Customized Advanced Datagrid In Flex 4?

Jun 10, 2011

I had 7 columns in an advanced datagrid and have one comboBox with all of the columns names.The datagrid should show only the columns the use has selected in the comboBox. Does this mean customization of the advanced datagrid columns? If anyone has any samples, please share them.

View 1 Replies

Javascript :: Customized FLV Player Skin For Webpage

Dec 19, 2011

I tried to use the pre built flv skins from adobe flash.. But as i'm generating the flv source dynamically in my website i am unable to pass the source name in the HTML page.

View 1 Replies

Javascript :: Customized Audio Skin In HTML?

Dec 22, 2011

I'm new to HTML. I used the following code for a default skin<embed src="***.mp3" width="400" height="100" autostart="true"></embed>

View 1 Replies

ActionScript 3.0 :: Can Default Pre-loader Be Customized Or Turned Off

Sep 19, 2010

Whats the deal with cs5? it had an inbuilt pre-loader which overrides any as3 pre-loading script - by loading the entire swf before even looking at frame 1. whats the situation here? Can the default pre-loader be customized or turned off?

View 1 Replies

ActionScript 2.0 :: Unable To Use The Customized Scroll Bar Properly?

Feb 1, 2007

I made the customized scroll bar with static text , the text part have a lot of information while on scrolling 75% text only coming remaining texts are not coming it is coming like a blank.

View 1 Replies

ActionScript 2.0 :: TextFormat - Customized Font Not Working?

Mar 30, 2008

I'm using a non-window default font (installed on my PC) to show in a text field. This font is also present in my library with appropriate linkage name. Now if i use this font in the TexFormat the font does not show, instead the text is shown in default 'Times' font.But if i use "Arial" as TextFormat font then the textfield's text appear in arial font, although the arial font is not present in the library.

Code:
var myformat:TextFormat = new TextFormat();
myformat.font = "MyradPro"; //"Arial" works fine.

[code]........

View 3 Replies

IDE :: Code A Flash File To Be Customized To The Viewer Name?

Jan 28, 2009

how to code a flash file to be customized to the viewer name.For example, the viewer goes to the page, enters some info (name) and clicks continue... then throughout the remaining pages of the site if refers to them by name in various places.

View 2 Replies

ActionScript 1/2 :: Customized Checkbox When Using LoadVariablesNum Function?

Nov 6, 2003

I have several cutomized checkbox that it can be selected or deselect and I have a button to determine which of the checkboxes is selected, and throught this button I passed the variable to loadVariablesNum corresponding to which of the checkboxes is selected

code in the button to determine which of the checkboxes is selected:
if (chk1.mark1._visible = true){ //trace("31");  loadVariablesNum("http://url?uid="+_root.uid+"&ans=31", 2);  if

[code].....

View 3 Replies

ActionScript 1/2 :: Customized Checkbox Problem When Using LoadVariablesNum Function?

Nov 18, 2009

I have several cutomized checkbox that it can be selected or deselect and I have a button to determine which of the checkboxes is selected, and throught this button I passed the variable to loadVariablesNum corresponding to which of the checkboxes is selected.

[Code]...

View 3 Replies

ActionScript 2.0 :: Creating A Customized Crosshair Replacing The Mouse?

Feb 18, 2009

create a costumized crosshair replacing my mouse?here's the conditions

1. my mouse pointer will dis appear and get replaced by a semi transparent picture of a snipers crosshair

2. each time my crosshair pointed on any object in my screen it will change its color, lets say the original color is white, when i pointed at a button it will change it color to red.

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved