Actionscript 3 :: ASP.net MVC - Sessions - Record The Users Progress Then Save To A Database

Jul 21, 2011

I want to add the ability to have my flash game record the users progress then save to a database. That part is pretty easy, but how can I make it so the user can login and continue their game. I also wanting to know if it'll be better for the game progress to be saved with SharedObjects or with an SQL database. I would like it that the game could be played on any website and their data can still be accessed and played if that is advised. I am new to user sessions with AS3 and need pointers.

View 1 Replies


Similar Posts:


PHP :: Mapping Login Sessions To Users

Jun 26, 2009

When I login a new session is generated. How can I later know for which login the session was generated? I am getting the session value, but how do I know which user the session is for and redirect him to that page?

View 1 Replies

Database :: Save A Form To The Database Without Knowing The Field Type?

Jun 17, 2010

I am working on a function to generate a form at runtime in Flex based on a call to the DB. The call to the DB returns the field types, id, tooltips etc as an arraycollection, the arraycollection is then parsed in order to ascertain what control to display based on the type field in the array - this bit works fine.However, i am stuck on trying to save the form fields back to the database using a CFC.my form rendering code is as follows but how do i save values entered back to the database? rendering code..

[Bindable]
public var getglobalprofileb:ArrayCollection;
public function init(event:ResultEvent):void {[code].......

View 1 Replies

Actionscript 3.0 :: Build A Small Application So That Users Can Record Their Voice With Microphone?

Nov 9, 2008

I would like to build a small application in AS3 so that my users can record their voice with microphone.I know there is a Microphone class but I don't know if AS3 allows to record the voice into a file that will be stored on the server.Is that possible to do so only with AS3?

View 2 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

Flex :: Getting Next Record In SQLite Database For Mobile Application?

Feb 27, 2011

I have a mobile application that uses an sqlite database. I cannot seem to figure out how to access the next record when the user presses the 'next' button. My database is using 'id' as primary key with autoincrement as integer.

private function nextMoveRPart(event:EffectEvent):void
{
var cardNumber:int = parseInt(cardNumberLabel.text);

[Code].....

View 1 Replies

Create A Database That Logged In Users Could Access And Add Customization?

Nov 27, 2010

I want to make a game where a user logs in. Once the user logs in, they have access to a database (let's just say a database of weapons). They could choose a certain amount of "weapons" and every time they log in, they still have the same weapons, regardless of cookies, because the "weapons" are linked to their username. Then the users could use their weapons to battle other users. Also, the user's username keeps track of their wins and losses. I have newb to basic flash knowledge (I took an animations class); I could animate, make buttons, websites, etc. Does anyone have some insight that could point me in the right direction?

View 2 Replies

ActionScript 3.0 :: AIR Record Audio And Save It Out As MP3?

Dec 19, 2010

I'm trying to record audio from my microphone and save it out as MP3 I'm unable to find any concrete examples of doing this. I can use AS3 AS2 or Air.

View 1 Replies

ActionScript 3.0 :: Use XML To Save Users Displayobject?

Mar 14, 2009

This is my first project in AS3, been using flash for 10 years, it was time to take the plunge.

I am trying to create a app that allows the user to create an online comic strip.

My thinking is when the user drags a movieclip to the "page" I use addChild to then copy whatever they dragged into the page_mc.

They can then adjust position, scale etc

That is relatively straightforward.

I am having issues on a method so the user can save progress online. I have PHP experience so can set up a database etc. But how do get an XML based on the displayObject.

From reading about the display list, it seems ideal, and very suited to looping through each child and creating an xml file with the same hierarchy.

Is there a "dump display object to xml" method?

I can loop through the displayobject with a trace function, but that does not specify all the parents, just the individual children.

View 3 Replies

ActionScript 3.0 :: Record The Mic And Automatically Save - Upload

Feb 2, 2011

I have to build an app which will have to record the mic and then automatically save the record somehow in a temporary file and then upload this file to a server. Is this possible without using media server?

View 8 Replies

ActionScript 3.0 :: Record Video With Webcam & Save?

Jun 20, 2011

I noticed that AS3 is able to take a snapshot out from a webcam & save it as a .jpg but is AS3 capable of recording a video with a webcam and save it to a local disk/network server? any video format is fine with me as long it can be played with window media player.

View 4 Replies

Actionscript 3 :: Record Voice And Save It To Mp3 File

Sep 24, 2011

Is it possible to record (5 seconds) a voice with the microphone and save it as a mp3 file WITHOUT sending data to the server? I would like to save the file with FileReference (some times ago I did an experiment saving a bitmap and it worked).

View 1 Replies

ActionScript 2.0 :: Save A File To Users Desktop

May 3, 2006

Basically I have a website and I want to give the user the option of downloading wallpapers that they can use as their desktop image.

View 3 Replies

IDE :: Enable Users Save Position Of A Draggable Box

May 6, 2009

Is there any way that I can enable users save the position of a draggable box (for eg with cookies) and then press a button to reset the MC back to where it started off?

View 3 Replies

ActionScript 3.0 :: SWF To Save Progress In An Animation?

Oct 20, 2010

Is there a way for a SWF to save progress in an animation? I'm planning on creating a very interactive website but I want it to be able to remember the settings people use for instance after they drag a button. I mean, after you quit the page. It still has to remember.

View 3 Replies

Asp.net :: Record Audio In A Web App Client Side And Save It In A Web Server?

Jul 1, 2010

I have a requirement to do a flash program or something like that (not necessarily flash, it can be javascript or something in aspnet) that allow me to save audio in the client side of a web app, and save it on a file in the server side of the web app.

Ive found this but the only thing that it does its to recognize the microphone, I need the hability of saving the audio file, by the way the server is implemented in aspnet

View 2 Replies

Flash :: Record User's Action And Save As Movie?

Sep 6, 2010

I am developing a small flash application. In my application a user can draw a painting. I want to capture the drawing process as a video, and later allow him to view how he painted the drawing. Is such a thing possbile? If so how (do I need flash media server for this)?

View 1 Replies

Flex :: Air - VideoDisplay Record/Save To Disk/server

Aug 1, 2011

I want to also add cuepoints to a live recording video as it is incoming.

I have a live feed incoming from a VideoDisplay object in my Flex Air app, and I would like to be able to record the video/audio of this and save it to disk and/or upload to server.

Is this possible? If so, would it be possible to add CuePoints to the video as it is being streamed live? Right now I am just trying to record a live stream from my VideoDisplay.

View 2 Replies

Actionscript 3.0 :: Record User's Mic Then Save File To Server?

Jul 27, 2009

I'm looking for a way to do this from a website. From what I can tell this is possible but if you're going to use flash you need flash media server?

View 1 Replies

Actionscript 3.0 :: Save A Jpg Of The Stage To Users Hard Drive?

May 28, 2009

I've been working at this for over a week and simply can't figure it out:I would like to allow a user to export out a jpg of the swf file to their hard drive using flash player 10/cs4.Here is an example that comes close but is in flex (can't seem to figure out how to implement in flash cs4?)His flex code is there, everything works great, but how to get this into flash instead???

View 1 Replies

Flash :: Save Games Progress Offline?

Dec 4, 2009

it does of course save the flash/game cookies to the macromedia folder but, what if i want to reformat? how would i, on reinstall of windows reload my game progress? theres gotta be a way?

View 11 Replies

ActionScript 3.0 :: Record Camera Data From Flash And Save To Server?

Feb 11, 2010

I have a camera attached to a video object that is displayed on stage. When a user comes to the site they see themselves, but I want to be able to save the video and take a snapshot. How would I go about getting the data out of flash to the server?

View 1 Replies

ActionScript 3.0 :: Record Sound From Microfone In Flash And Save It To Server?

Feb 21, 2011

I need to record sound from microfone in flash and save it to server. Can someone provide an example?

View 2 Replies

Flash :: Record Using Microphone And Save It In Local Disk Drive?

Jun 14, 2011

I got the code

var mic:Microphone = Microphone.getMicrophone();
mic.setUseEchoSuppression(true);
mic.setLoopBack(true);

when I browse thru adobe documentation for microphone access. But I could not find a way to record the sound and save it in the local drive.How to store the sound in local drive???

View 2 Replies

Actionscript 3 :: Record And Save Flash Video's With H264 Codec

Jan 31, 2012

Right now I am working on an AIR 3.2 application which lets you stream a video to a Flash Media Server and saves it on a hard drive.This sequence works fine with the standard Sorenson codec but I want to use H.264 for my videos. I found lots example c ode and implemented it in my code, but when I record a video of myself I am unable to re-watch it afterwards.I found how to implement a H.264 encoding in a realeyes blog post here. My code is here.It saves the video as a .f4v file, but my browser (I've tried the latest versions of both Chrome and Firefox, with the latest Flash) and also VLC are unable to load the video. I also used a program called Movie Player which is able to open the file but can only show the first frame and the audio. Neither am I able to upload the video to YouTube because they do not support the file extension.Here is an example video file it saved: H264Test1.f4v.My question is: How do I stream and save the movie with a file extension that I am able to re-watch while using the H.264 codec?

View 1 Replies

ActionScript 3.0 :: Record/Save Audio With Flash Media Server?

Oct 24, 2007

I'm trying to record audio from my microphone and save it out as an .FLV or .MP3 (or any other kind of audio format) file. I've gathered from my research that I need Flash Media Server which I do have access to but that's pretty much where the trail has stopped.I'm unable to find any concrete examples of doing this and would can point me in the right direction. I can use either AS2 or AS3 and this is agency work so I've got a pretty good set of tools at my disposal, just need to get somewhere with the research.

View 14 Replies

Flash :: Save Peoples Progress On Games Onto A Site?

Oct 19, 2011

I know there are sites out there when you log on to their account they can play swf games or otherwise flash games on the site so whenever they go to another computer they can continue their progress without restarting just by logging onto their account.

View 1 Replies

Media Server :: Allow Clients To Record And Save Part Of Live Stream

Jun 16, 2011

I'm looking for a solution where clients watch a live stream video and can record part of this stream while watching and save this recording to disk. I can think of several solutions but not sure if any of them is possible:

- The selected part is recorded locally and saved through FileRefence.
- The selected part is recorded with FMS though a second NetStream and saved with a unique ID. The user can retrieve the recorded video by download.
- Start-time and end-time of the recording are send to the server where some script extracts the requested video from the live stream recording file and return it as a download.

View 2 Replies

Media Server :: Playback Controls To Include 'Record' Button To Save To HD?

Aug 2, 2011

Will there ever be the ability to add a 'Record' button to a player such as those used with Ustream, Justin.tv and other similar players?  I run a live stream and would love for the viewers to have a 'Record' button so they may capture the video to their local hard drives for later playback.

View 1 Replies

ActionScript 3.0 :: Record / Save A Button Press In Flash Send It To Moodle Via Scorm?

Feb 17, 2010

How do you record / save a button press in Flash as3 and send it to moodle via scorm? I have two buttons, 'choice1' & 'choice2', and would like the users' choice to be recorded to SCORM. I just need to send 'some text' to moodle when the user presses either button.

Have been pointed to 'cmi.interactions' but after spending the entire day trying to find a working example, I'm completely lost. There appear to be no coded examples anywhere.

View 4 Replies







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