ActionScript 2.0 :: Way To Save Doodle Created To A Server And Then Reload It At A Later Date

May 16, 2007

I used the kirupa drawing tutorial to create a simple doodle application.[code]I really need a way to save the doodle created to a server and then reload it at a later date. It could either be as a file or as data that meant it could be redrawn.I've looked into exporting as a bitmap but the methods seem very complex and also slow/relatively large file sizes (it is only a simple doodle application!!!)url...but it doesn't even seem to be working on the site. I had a look at the code but couldn't really get to the bottom of how it worked.Is there no easy way to save a movieclip out as an swf file dynamically?

View 1 Replies


Similar Posts:


ActionScript 2.0 :: Save Drawing On Swf Then Reload To Draw Again

May 27, 2007

i'm working on a class project that allows people to draw on a square, save it, display it for others to see, and then lets anyone to continue drawing on that square.how do i script that? i need to use flash and AS2.0, and i'm trying to do some research on how to do this whole thing, and i'm hearing a lot of things: some say xml, some with php and mysql? whatever it is, i believe this has to be a server-side thing? i don't mind learning light scripting of other languages, but the primary scripting should be AS, since it's a flash class.i'm not sure if this is true, but i think xml, php, and mysql are only text-based? for my project, i imagine that people would be saving an swf and then loading that swf and continue adding. is there a script in AS that generates an swf? maybe jpg is fine too. i just need to be able to save and load something that's image based and not text-based.

View 2 Replies

Flash - How To Develop A Doodle Pad

Jan 12, 2010

How can I make a doodle pad like this for a website? Is flash the only option? I wanted to make one for advert design.Edit Basically, I want to provide features like customized text (font/color/size) and placement, option to put any image with scale/rotate/transform option etc so that he can design advert himself. Edit2What could be alternative approaches to design this kind of editor?Edit3I've also seen options like o3d and webGL but it seems they won't work on most of the browsers.

View 2 Replies

ActionScript 2.0 :: Save Date With The Ability To Edit Later

Sep 28, 2007

I have an app that allows you to save data into a database and gives you the ability to edit that data at a later date. Let's say the user saves
"Up to 90% off retail price"

Everything works fine, the % gets saved in the table etc. The problem is when they return to Flash it now reads
"Up to 90 off retail price"

All I'm doing is taking the value of the variable and sticking inside a text box, I can't see why Flash is having trouble reading that value into a text box. I am making this data into an html ready textbox.

Code:
The % can be in any of the array element values
listValues[10], etc....
Property Values Array
editedPropertyHighlights = new Array(listValues[10], listValues[11], listValues[12], listValues[13]);
// POPULATE TEXTBOX
for (i=0; i<editedPropertyHighlights.length; i++) {
_root.base_front.display_txt_6.html = true;
_root.base_front.display_txt_6.htmlText += "<li>"+editedPropertyHighlights[i]+"</li>";
}

View 6 Replies

ActionScript 2.0 :: Flash - Asp - Save The Date And Time To The Access Database?

Sep 20, 2011

[URL] I got partial success with the tutorial above, but couldn't figure out a few things.

1) How to save the date and time to the database? Based on web search result on how to find date or time in APS, I thought I could do

[Code]...

but the ASP generated errors on the 2 lines.

2) When executing the file (getURL("http://yourSite.com/processForm.asp",0,"post");
}), it always opens the processForm.asp file in a new window. Can it be executed in the same window or just being hidden?

The tutorial is old, and I wonder if there are new ways to do the things with CS4 or CS5?

View 1 Replies

ActionScript 3.0 :: Create A Preloader That Forces A Reload From The Server, And Not The Cache

Apr 30, 2009

I need to create a preloader that forces a reload of the Main.swf from the server, and not from the user's cache.

This is because the site (for a big music festival) will get frequent updates, and users will visit more than once.

I have my HTML-metatags set up like this:

HTML Code:
<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
<meta http-equiv="Expires" content ="0" />
<meta http-equiv="Pragma" content ="no-cache" />

...but these get kind of, uhm, ignored?

So now I'm looking for a solution in my AS3 preloader. I've tried this trick, that works fine with xml-files, but with swf's it doesn't seem to work:

PHP Code:

l.load(new URLRequest("Main.swf"  + new Date().getTime())); 

View 3 Replies

Php :: Save A Toggle State That Is Created Using A MovieClip In Flash?

Aug 23, 2010

I have MovieClips on my Flash Stage that when clicked on--they toggle ON/OFF. My goal is that when a user clicks either ON/OFF--then leaves the flash website--another user can visit the site--and see that state of that MovieClip was either left ON/OFF.

I would need a way that when a user toggles ON/OFF--that state is saved in a variable--passed onto PHP--saved in an XML file--and then when that is done--Flash calls a function to update--to read the XML file--see if it needs to update the ON/OFF state of the MovieClip toggle button.

Multiple people would be able to go to this flash site--and toggle (ON/OFF) the objects on the stage. When more than one person is toggling--those people should instantly see objects being toggled (ON/OFF).

View 1 Replies

ActionScript 3.0 :: Save Dynamically Created Vector Graphics?

Feb 11, 2007

it is possible to save dynamically created vector graphics?Basically, I have a pen tool for drawing on screen and I would like to have the ability to save this data for later use, using Adobe Air.If it is possible, can anyone point me in the right direction with regards to the best file format to use, etc.

View 8 Replies

ActionScript 3.0 :: Possible To Save Dynamically Created Vector Graphics?

May 5, 2010

Does anyone know if it is possible to save dynamically created vector graphics?Basically, I have a pen tool for drawing on screen and I would like to have the ability to save this data for later use, using Adobe Air.If it is possible, can anyone point me in the right direction with regards to the best file format to use, etc.

View 5 Replies

Media Server :: Save To File Live Video Stream In Server?

Apr 27, 2009

I use FMIE and FMLE.how can i do save to file Live Streaming in server installed fms, not local system ?

View 1 Replies

Media Server :: Record Audio From A Mic And Save It To A Fms Server?

Mar 27, 2012

im looking for a script that can record audio from a mic and save it to a fms server i came across a video email script but would like to have just a audio one that can do the samething as the video email with out the video part.

View 2 Replies

ActionScript 2.0 :: Compare A Date To Range Of Date Using Date Class In It?

Dec 2, 2009

Do you know any way to compare a date to a range of date using the Date class in as2.

For example i want to know a given day (11-12-2009) is among the start and end date of a given range (11-01-2009 to 11-20-2009).

View 5 Replies

ActionScript 3.0 :: Get The Date From The Server?

Jan 29, 2011

Is there a way to get the date from the server other than some kind of hideous php?

View 1 Replies

ActionScript 1/2 :: Unable To Get The Date From Server?

Nov 28, 2010

How can I make this AS script work with the php script below?

server = new LoadVars();
server.onLoad = function(ok){
if (!ok) return trace("Unable to get the date from server");
counter.onEnterFrame = countdown;
counter._visible = true;
this.time = Number(this.time)*1000

[Code]...

View 7 Replies

ActionScript 2.0 :: Countdown - Get Date From Server With Asp?

Mar 19, 2007

I have successfully managed to follow and implement the flash date countdown timer tutorial given here: [URL]

However I need to get the time from my server rather than the client so that everyone see's the same time and nobody can view the rest of the movie before the deadline has been reached.

Instructions are given to get the tiome from the server using PHP, however our website runs on asp.net so i cannot use this PHP script.

I know I can call the date from my server on an aspx page with:

<% dteDate = Now %>
<%=dteDate %>

Which displays as:

19/03/2007 12:40:29

Is it possible to pull that into the countdown? If so where do I need to start?

View 4 Replies

ActionScript 3.0 :: Fetching Current Date (From Any Other Server)

Feb 24, 2011

My app needs to fetch the current date and I don't want it to come from the computer's clock. I've searched [URL] and other sites for APIs, but have come short so far. Is there a web service somewhere or any other dedicated server where I could fetch today's date from using AS3?

View 1 Replies

Media Server :: Not Save FLV In Sample Flash Media Interactive Server Feature Explorer?

Jul 1, 2010

I have to a problem using the Flash Media Interactive Server Feature Explorer. I want use the sample: RecordStream. I can see the instance "RecordStream" in console FMS 3.5. and show me the video in app AIR, but does not save the .FLV in my server.

View 6 Replies

Media Server :: Can't Access Properties Of Date Object?

Jan 5, 2011

My FMS client is calling a function (simplified) which gets the offset time in milliseconds of an flv file.According to the docs for creationTime, it should return a Date object containing the time the file was created.I cannot access any properties of the date object in the server script.

Client.prototype.listFiles = function( folderName ) { 
var testFile = new File('/streams/folder/fileName.flv');
trace("creationTime: " + testFile.creationTime);

[code].....

View 2 Replies

Xml :: Creating And Populating A New XML File On The Server To Be Reloaded At A Later Date?

May 17, 2011

I have an application that reads in an external XML file, parses out the pieces, displays them, and then allows the user to edit them. I would like to have a save button that the user can press that would save any changes to a new XML document somewhere on the server (any file location that I specify).I've been looking around online, and can't find any examples... all I can find is that this ability wasn't available until flash v.10.Another option i was considering was to create an XML variable, create it's value, and then somehow forward the user to a coldfusion page where I could then create a file.

View 1 Replies

ActionScript 2.0 :: Flash Countdown Ticker Using Server Date

Mar 27, 2008

I am making a countdown ticker that would get the current server date & time and then calculate the remaining time from a target date.

I am using a PHP file to output the current server date & time. Then I use the Flash's loadvars function to get the result and format it as a Date field. However, when I trace for remaining days using targetDate-serverDate, I get NaN as the result.

Below is the code for my flash script as well as the php script.

Flash Code:

Code:
onClipEvent (load) {
myVars = new LoadVars();
// call the load method to load my php page

[Code].....

View 7 Replies

Professional :: Change The Date Path Of Web Server To System Time?

Oct 18, 2010

I have downloaded a Countdown SWF file from the Internet. It is working fine with the Computers which have Internet Connection. But not working without Internet connection because of the following line of code in XML file:When I opened the webpage using the above code, it shows time in a typical digits:Monday, October 18, 2010 9:12:52 PM in my System -shows in Web browser like : time=1287425579How to modify the code so that I can use my System time to work with Countdown without Internet ConnectionThe following is the path from where I have downloaded the Countdown file:[URL]

View 1 Replies

Flex :: Servlets - Dynamically Update Date And Time From The Server?

Jan 31, 2010

I have a GUI in flex. I am getting the value of the server date from the servlet to the .mxml file. I want to show the date and time dynamically changing. How can I do that in flex?

View 1 Replies

Flash :: Save Pro CS5 File Created In Windows To A Mac Os File?

Jan 2, 2012

I created a flash banner with flash pro CS5 using windows 7. Can I save the file so my client can open it with a Mac OS?

View 1 Replies

ActionScript 3.0 :: Save XML To Server?

Sep 12, 2009

Is there any easy way how to save data to the server from running flash application? For example i would like to save map 2d array to xml file on the server. I know that i should be done thru php script but i searched everywhere could not find how to realize this thru AS3.

View 1 Replies

IDE :: Capture MC And Save To Server?

Jun 21, 2009

what I'm looking for is a tutorial on how to save a MC directly to my server. So let me explain this. The user will click on a button inside my flash application and it will save the MC straight into a folder on my server (as a jpeg), so it can be accessed later on.Is this even possible?

View 1 Replies

Media Server :: FMS 4 - FLV Not Saving - Record Video From The Users Webcam And Play It Back At A Later Date

Mar 24, 2011

I'm trying to record video from the users webcam and play it back at a later date.
I call

[Code]...
 
However, when I look at the FMS Admin Console at the streams in app/_definst_, their types are either "NetStream" or "Live". If they were being saved wouldn't they say "Stored"? After I close the application doing the recording, the "NetStream" type stream disappears, and after a while all the "Live" typed streams are gone too. Nothing is saved.

I have no idea what is happening. I don't know if it's a problem with my AS3 code not closing the recording properly or if I'm doing something else wrong, or maybe somethgin isn't right in the FMS?

View 1 Replies

Professional :: SWF Created In CS4 Flash Does Not Play From Web Server

Oct 3, 2010

I published a Flash movie in CS4, which includes the following ActionScript 3.0 code to allow people to click the movie to open a new web page; but it will not play from the web server...however, it plays just fine from my local hard drive in Firefox and IE 7.It  is an html file with an embedded .swf and I made sure to copy over the  swfObject.js, AC_ActvieX.js, AC_RunActiveContent.js, expressInstall.swf, and  swfobject_modified.js files to the correct directories. The address is: [URL] and as you will see,  there are no errors...just a blank page.  I even tried changing the script  from:
 
<script  type="text/javascript"><!--swfobject.registerObject("FlashID");//--></script>
 
to  this script:  <script type="text/javascript"  src="http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js"></script>, but using this script generates a lot of CSS and other errors.
 
Nothing  works.  The ActionScript code I used is:
 
//Link to websiteSite_btn.addEventListener(MouseEvent.CLICK,visitSite);
function visitSite(e:MouseEvent):void{    var req:URLRequest = new URLRequest("http://giseldemarco.com/Home/Index.html");    navigateToURL(req,"_parent");}

View 1 Replies

Zip File Created With PHP Shows On Localhost But Not On Server

Mar 21, 2011

I am trying to add to my site a feature that allows users to select a set of images in Flash (AS3) click a button and have my server create a zip file of all the images for them to download.

I have already wrote my code in flash and crated my php script and tested it on my localhost and everything works great. But when I upload the same files to my sever no zip files are created. Below is the code for both my flash and for my php.

Localhost server is using 5.2.17 and so if my Server hosted on 1&1

Flash Code To Send Info to PHP

Code:

function MakeZip():void
{
var variables:URLVariables = new URLVariables();
//variables.Image1=img1;
variables.ImageList=OrderItems;

[Code]....

View 5 Replies

Actionscript 3.0 :: Upload A Jpg Created In Flash To A Server?

Sep 17, 2010

I've developed a drawing application in Flash and I need that when the user has finished to draw and click on the save button, the drawing he has done get saved as jpg into a folder on a server. I've managed to save the drawing as a jpg to the server using FileReference, then I found a code that uses PHP to do the same, but not upload the jpg to the server:

this is the action script code:

Code: Select allprivate function saveHandler(e:MouseEvent):void
{
var canvasBmp:BitmapData = new BitmapData(521,213);

[code]....

How could I do to upload the file to a server instead of the user's machine?

View 2 Replies

ActionScript 3.0 :: Save An Image To Server?

Apr 8, 2009

as3corelib functionality is awesome and I have used the great tutorial at Henry Jones.com to create an example with a quick interface...

[URL]

Now this is a bit wierd here because it works on 70% of location tests but seems to be dependant on the internet provider allowing uploads. It doesn't work at my mates house but works at work and my house etc...

The second thing is that I need to know what the as is to save the mask to the server instead of downloading it to your machine.

View 2 Replies







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