ActionScript 3.0 :: Captures Image And Send To A Seperate Page?
Sep 16, 2011
The swf file kind of captures a certain area of a flash movie which is loaded in.. I guess it works a bit like a camera..Anyway, what I am trying to do is figure out what determines the size of JPEG produced. At the minute its pretty small.The Flash movie is used to make an avatar. When the user is finished they hit a button and it captures the design, then emails it.I have found a line of code which relates to the size of the jpeg which is emailed
var myBitmapData:BitmapData = new BitmapData(230, 200);
What I want to do is produce a much bigger image than 230, 200
I tried changing those numbers higher and it did not work,Also I want to be able to send the image to a seperate page where an API can be picked up.Here is the code
Actionscript Code: [code]......
View 4 Replies
Similar Posts:
May 2, 2010
Just a quick question. I transfer one variable from php to as3 using
<param name="FlashVars" value="myVar=<?php echo $_POST['name'] ?>" />
How can I send two seperate variables? I know I can use & in the middle of that code, and pass another value, but this will place both values into the variable myVar. Can I just do a new one underneath like
<param name="FlashVars" value="myVar=<?php echo $_POST['name'] ?>" />
<param name="FlashVars" value="myVar1=<?php echo $_POST['pass'] ?>" />
View 7 Replies
Oct 28, 2009
i found a couple of samples, but they seem to be fixed only to PHP.
View 1 Replies
May 19, 2010
I want an image to change when users scroll over a seperate button. Here is my code for that button:[code]The name of the image I want to change is bikebutton. I want frame two of bikebutton to display when this button is moused over. I want frame one of bikebutton to play when the button is moused off.
View 3 Replies
May 9, 2005
I saw this program 'asap' (i think it's called, will try and get more info about it) but it's flash that uses the Flash player settings screen to setup a way of capturing the users desktop or any application currently running.
How can this be done? I thought that the only limitation in flash is to not interact with the users machine (writing files etc) because this is a security risk.
View 1 Replies
Jan 28, 2009
I'm using Flash CS3, AS2, PHP, mysql database with phpbb user registration. What I'm trying to do is a make a contest game where you have 5 different ladies and the users get to rank them in order from 1 to 5. Since it is a contest, users will need to be logged in. We already have a database of users based on phpbb, and a registration page. I need them to be able to log in using that username/pass and then they can play the game.
The game consists of a drag and drop mechanism (which I have) so the user can drag "#1" to "girl-4", drag "#2" to "girl-5" etc. Once they drag and drop all the boxes into the order they want, the user then submits it. The data I need to capture in the database is the User, date/time, their rank order (seperated so we can do a query to figure out how many they got right out of the 5.) The final twist is that we are going to have 9 total 'games', one each week for 9 weeks, and we only want users to be able to play once per week.
For an example you can see a working version here. That one does a bunch of more complicated stuff that I don't want to do. The programmer that did it is no longer here and it has been hard trying to decipher his code. I have the whole drag and drop mechanism using the old code from the above example. This is a snippit of the code. drag1_mc is the number they drag (there are 5, so drag1_mc, drag2_mc etc.) and drop1_mc is the rank location. (also 5, drop1_mc, drop2_mc, etc)
[Code]...
View 6 Replies
Oct 16, 2002
I am having trouble passing information from a loaded movie sitting on level1 back to the main movie.
View 3 Replies
Apr 17, 2010
I am currently trying to write a website for myself from a flash template and need seperate buttons to Play and Stop seperate tracks of mp3s. I have managed to get it to play one track however when I try to add a new track, the new button just plays the same track as the first one.
Here is the method I have used, I am still learning flash so this might not be the best way to go about this. Any help would be greatly received.
[Code]...
View 3 Replies
Mar 17, 2009
I would like to embed this flash file within an HTML Page. User finds my page on a google search. The domain is **here.com once the user clicks on the link, it tries to load the "gethere" page but immediately forwards them to another site. I found this code but I am unsure of how to use it.URl..
View 3 Replies
Jan 12, 2010
I've got a flash course that needs to pass the current screen number from the course to the mySQL database. The person who built the back-end built a php page that I can pass the number to and it will get written to the db but I'm not sure how to "send" that in the background.He told me that I just need to call the index.php page like: [URL]So, would I use URLRequest for something like that?
Code:
var vars:URLVariables = new URLVariables();
vars.theData = data;
var req:URLRequest = new URLRequest("www.url.com/index.php/user/bookmark/"+slideNum);
[code]....
View 1 Replies
Mar 24, 2011
I want to send xml data to php page
my xml in flash is that for examle:
<level id="1" mark="10"><page id="12">HI..</page></level>
i send it,but at the URL i see this:
../inex.php?xml=<level id=1 mark=10><page id=12>HI..</page></level>
without double qout....!!!!
so i can't read this xml with simplexml_load_file() function in php
View 1 Replies
Jan 20, 2006
i am trying to send data to a ASP page.i am trying to track a flash movie.the asp page is already set up. but i have tried everythign in my knowledge to get this to work.[code]
View 9 Replies
Jun 29, 2006
I'm making a flash form and I just want to send some variables to a php page but not show a new window or anything. And the variable is huge so I want to use the post method. It's also posted from a component therefore movieclip.loadVariables doesn't work?
View 3 Replies
Jun 2, 2011
I want to have a different image load on my home page everytime the page refreshes or someone visits it. Is it possible to do it without using Flash?
View 2 Replies
Oct 30, 2010
How can we able to send a value with getURL from flash document to aspx page?
Example:
getURL("default.aspx?ui=12", "_blank", "POST");
The main aim is that the address above don't show in browser's address bar.
View 1 Replies
Oct 28, 2009
I need to send two fields to an asp.net validate page. It's a login, and the client is handling all errors on their end. So just need to pass them the two variables (username and password) and send the user to the asp page.So I gather it's going to look something like this:
Code:
var variables:URLVariables = new URLVariables();
var varSend:URLRequest = new URLRequest("valildate.asp");
var varLoader:URLLoader = new URLLoader();[code]...........
View 1 Replies
Apr 15, 2010
I want to send some varibale to asp.net page and from there to SQL DB.
how to send the variable to asp.net?
View 9 Replies
Sep 7, 2004
[Flash MX 2004] Anyone noe how to send a variable value from flash to a php page? I have a score's value which I need to send it to the php page n update into the database.
View 3 Replies
Feb 8, 2009
I'm making a contact page in as3 and I need some help. How do I send post data to a php page on this web page http://parallels.fm. Basically I have three dynamic text fields and a submit button. If I can send post data from that page to a php page that would be great.
View 1 Replies
Nov 18, 2009
I would like to know that how we could send out data from a flash movie to html , php, aspx page so that that data could use for further calculation.
View 4 Replies
Jul 20, 2004
I know there were many messages posted regarding sending variables from flash to php. I wrote a small code where in I used send() method of LoadVar object, it sends the message but it reloads the php page which I do not want it to do. I tried using sendAndLoad() and here it does not send any variable at all. Below is my sample code.
PHP code: (recieve.php)
<?php
$s = "12";
$r = $_POST['name'];
[Code].....
View 1 Replies
Jun 22, 2003
Im trying to send variables from my HTML page to flash, in order to control the location of movie clips. This is what I have.
HTML PAGE
PHP Code:
<param name="movie" value="navi.swf?sectionheader=charts">
*I have also added the "?sectionheader=charts" to the EMBED line.
SWF/FLA
sectionheader._x = 10;
sectionheader._y = 290;
*This is set on the first frame.
The theory is that flash will read the variable and come up with something like:
charts._x = 10;
charts._y = 290;
..................but, ofcourse it doesnt!!!
I have been able to set text of textfields and event traget frame Labels in similar ways, but this will not work..
View 2 Replies
Aug 21, 2008
how or where i could learn about embeded links. In other word, i want to generate a link that will send the user to a page where my swf will be, therefore nobody can come and get the source of my file or even decomplile it.
View 6 Replies
Sep 19, 2003
For example, if a site has multiple pages in a section, and you want to send them to the next page that has new images and text, how would you do it? Use dynamic text? Movie clips? Or just send them to anoter frame?
View 7 Replies
Jul 20, 2004
I know there were many messages posted regarding sending variables from flash to php. But I am facing a problem. I wrote a small code where in I used send() method of LoadVar object, it sends the message but it reloads the php page which I do not want it to do. I tried using sendAndLoad() and here it does not send any variable at all.[code]
View 1 Replies
Sep 13, 2010
Like the title say's, is it possible to send data to my flash movie after it has been loaded? More specific: I have a flash-movie with an image in it, and from the outside I would like to be able to alter it by sending fe. '?color=FF00FF' to the movie
View 2 Replies
Jan 15, 2003
what code do i need to put on a 'submit ' button to send the page's form to an email address??(if the page has got an input text box with the information in.)
View 1 Replies
Nov 3, 2011
I am trying to send some information to a javascript function on the same html page as the swf file is in. I used the tutorial here on Kirupa but for same way it doesnt work.
ExternalInterface.call("fillForm('"+ l.x, l.y +"')");
ExternalInterface.call("fillForm", l.x, l.y);
These are the variations I tried.
View 1 Replies
Nov 3, 2011
I have a label on my root timeline called "services". I have a services button inside a movie clip. How do I access the main time line to send it over to the page services? I'm using actionscript 3. Back in the day it would have been as simple as root.gotoandplay("services")
View 5 Replies
Oct 19, 2009
I need to build a PDF using PHP to email my images (which are in flash) as an attachment.
View 8 Replies