I am willing to make a customize avatar for a registered user where the accessories will be save in a database. The item will be pulled from database to flas and after the user finished creating his avatar this will be save in the database. I mean my avatar application will be as like as farmville avatar customizetion using flash,php and mysql. I am fadeing up to find this solution.
I'm interested in building an avatar maker in Flash, similar to the one seen here:[URL]The twist, though, is to allow users to save their work out as a JPG (or as an animated GIF, alternating between the created avatar and the client's logo and URL,) sized just right for a forum or LiveJournal avatar.
I haven't seen many examples of Flash outputing dynamic images... the best one I could find was, oddly enough, on a movie website for Starsky and Hutch. They have a Flash application that lets users build their own wallpaper and then offers it up as a JPG: [URL] I'm thinking Flash 8's bitmap features would allow this to happen, but then again, that movie came out two years ago... how did they make it work back then?
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].......
My subject sums up the question. I want parents to be able to write their name and then save it to a database. I also want it to appear in an admin panel to make sure it isn't just scribble. I am trying to use flash to comply with the COPPA Childrens Online Privacy Protection Act.
I am making an application where the user needs to register himself. During the registration he needs to take a picture with the phones camera. All of this workds great. But if he completes the registration, the image taken by the users needs to be saved in the database(BLOB field). I searched a long time and the id behind it was to get the bitmapdata, get a bytestream and then encode with b64 to send it to the php service. So here is what I've done now:
ActionScript Code: var bitmapdata:BitmapData=this.data as BitmapData; var encoder:JPEGEncoder=new JPEGEncoder(85); var stream:ByteArray=encoder.encode(bitmapdata); var b64:Base64Encoder=new Base64Encoder();
[Code].....
But he won't insert it. I think it's something with the encoding but I don't find where the problem is exactly.
capture video and save to database,, i am trying to build an online aplication in flash to capture video (from the users camera ) and pass it to mysql or a folder in site root.
I have a complex custom class which contains custom subclasses and so on. I want to save the state of an instance of this class to a database.Currently I'm using a ByteArray.writeObject which seems to work well as I am using registerClassAlias, so all custom classes are being picked up and serialised correctly.writeObject uses the AMF standard to "flatten" classes, but is AMF the best way to go to store the entire state of a class into a database?
im new to this forum and kinda new to flash and php together...i have this project that would load a swf movie on a drawing board and user could draw something over then swf movie. It should be able to save the drawings to the database, so that the user could just load it for later use. for example if the user draws a zigzag line at frame 5 of swf movie and on frame 10 of the swf movie deletes the zigzag line and draw a circle and then saves it. then loads it later, from frame 1 to 4 of the swf movie the zigzag line should not show but on frame 5 to frame 9 it would show and on frame 10 shows only the circle. or just on the specific frame number of the swf movie it will show. like when user draw on frame 6 then on before or after frame 6 it wont show..the second one might be a bit easier to implement.
how do i save the user drawings over the swf movie? and how do i load it? do i have to save everthing (like x and y coordinates, movieclip names) in a textfile? and use that textfile to recreate the swf file drawn? what ways could i implemnt this? hopefully someone to could point me in the right direction.
I'm not an expert in actionscript but I know a thing or two, but basically I've been given a task in a new web-based piece of software whereby users can drag and drop objects onto a background bitmap. The amount of objects and the co-ordinates of each object will then need to be saved for each user, so when they log back in (regardless of what machine they are using, they'll see where they have left off.)I've seen mentions of using the shared object, but this won't do as the user will not always be using the same machine.
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.
I m trying a make a database on sqlite using actionscript3 and flex.I can browse through file and select a file using browseForOpen().I can get the url by Filename.url and storing it into a string type variable fileUrl:String.I m creating table like:
CREATE TABLE IF NOT EXISTS test_table (id INTEGER PRIMARY KEY AUTOINCREMENT,user_name TEXT,password TEXT ,fileurl TEXT)
i made a text input form for entering user_name and password like:
[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?
I'm having some trouble getting around a security restriction of flex. Saving a file is apparently an action that can only be invoked upon user interaction. The problem is that after my user clicks on the save button, I need to perform a database query to get the data for the file I want to save.
Because Flex works asynchronous, I have to make the database call and then catch the ResultEvent in a different function. In that function, I no longer have the user's mouseclick event. How am I then supposed to save this file?
what is involved to create a Flash file where the user can upload a .jpg of their face, crop it, and then add that picture to an animation? I'm sure you've all seen this...sort of a jib-jab type animation.
I'm trying to develop a system where the player can change the colors of the various components that make up an avatar (hair, eyes, etc.).
The original components, with no change of color, would be composed of shades of gray.
So for example, a player selects the red hair (255,0,0). The pixels of the hair with an intermediate gray (128,128,128) would become the chosen red (255,0,0). As for the lighter gray color, become lighter shades of red chosen. Just as the colors become darker gray shades darker red chosen.[url]...
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?
I have some beautiful CATS drwan up for me. In typical avatar style you can change the colour, hat etc... of your avatar.What is the best set up for the assets.
1. Would I programatically import the HAT asset for example when chosen by the user
2. Would I have all the assets sitting inside on a layer inside the avatar - then it would be MASSIVE
Once the avatar is created it needs to walk around my virtual world etc... I don't want the MASSIVE avatar walking around with all the assets inside it.How would I only get what the user chose ie: A red cat with a black hat.Also, the colours would be best to programme them in otherwise I would have to have 10 different coloured copies. Is that right?
A rather large project (rich web application) has fallen into my lap and I am unfamiliar with how to accomplish a major functionality. in the right direction.I need users to be able to customize a 3D avatar and store it on the server somehow. The user can choose a body type, hair style, hair color, clothing, accessories, etc. The user can then choose from a number of different environments to place their avatar into, a specific animation (dance moves, playing an instrument, etc.), and an audio file. The audio file would then play while the avatar performed the animations within the selected environment.
How should we go about doing this? What technology should we use? Ideally, my colleagues and I would use MoCap software (w/ Microsoft Kinect) to complete 3D base models and animations for the avatars. Is it possible to then dynamically skin / texturize the models with the user's stored avatar? If so, how would I accomplish this? Does anyone have any other suggestions on how we would go about solving this problem?
code below error is in the this.dir_nw, this.dir_ne, this.dir_sw, this.dir_se i have assigned the class to a image with 6 frames nw,ne,sw,se, shadow, username_text and when i complie the output error is 1119: Access of possibly undefined property dir_nw through a reference with static type com.ausdoclient.client:AusdoAvatars. i dnt know what im doing wrong im using cs3
private var _directionArray:Array = new Array(); private var _activeDirection:MovieClip; private function init(Event):void {
I am using a progam called Smart Fox Server and they said on the forum that It's not SmartFox related (and this forum is mainly for SFS related issues). You need to create these interaction within Flash. So I came here. I am trying to get the users Id if you click on them. I know the command to get the ID but i dont know how to get flash to recgognise the avatar as a user.
I need to create an avatar creator, the concept is simple. We have a base image for a head, on top of this we layer on other elements (eyes, nose, mouth), saving it converts the image on the flash widget into a .jpg. I'm confident in my ability to create the interface, I have basic knowledge of AS 3 and flash in general, but I'm unsure how to go about this. I want to pass a variable to flash to indicate who the user is who's editing his or her avatar. Then I want to pull some kind of db file to have the image re-construct itself in flash (maybe from an XML file - so it would need to create/update an xml file).
I'm working on this small project to demonstrate how flash works to a few friends and I am trying to make a small avatar have some animation and upon mouse roll over grow and after removing mouse the avatar will shrink. There is also supposed to be a message displayed over the avatar and upon clicking the avatar the message changes. I have the avatar shrinking/growing thing done and its working fine and I also have the message to be displayed but I cannot seem to link the two into one actionscript file so they both appear at the same time.
Here are the codes: i) for the avatar shrinking/growing package { import flash.display.MovieClip; import flash.events.MouseEvent; public class U1A3_Stickman extends MovieClip { private var _origXScale:Number; [Code] .....
I've tried to simply insert the document class into the flash with the avatar shrink/grow code but it's not working.
I have seen numerous tutorials to retrieve a feed. I can't however see anything on how to get the users avatar to display. Is it even possible in Flash?
I am trying to create an avatar that faces the position of the cursor and follows a walking loop while it moves towards the mouse click anywhere on the stage. I need certain walking loops that are used by the script when the cursor is either North, Diagnal positions etc. Also I need the same when its idle.
For the past two months I have been developing a new kind of Flash chat that allows you to fly around in a 2D virtual room with an animated graphical avatar. You can also upload your own picture for an avatar. The special thing about this chat is that it works with MySQL and PHP, so no fancy servers are needed. It can easily be customized in terms of design. Switch out the background image and the avatar icons and you have a completely new chat room. Flash AS3 Avatar Chat v0.94 BETA.
i want to intertwine php, MySql and flash. so i can make a flash movie display text that is in the sql database and a php script to change the database, php > sql = i can do but sql > flash = i can't do..i want it so the sql data show's in a text box in the flash movie...
I want to create a Flex 3 application running in Adobe Air that accesses an SQLite database and I need to keep this database in sync with an SQL server 2005 database running a website.Is this something that Flex supports or is it going to be a custom script? Also, has anybody done anything like this?
Edit: The synchronisation can be done on a daily basis rather than real time. The data will be read only from a front end perspective with a CMS to do updates on the website.
I have researched this issue all over and most people say use the .refresh() method to update a datagrid after updating or adding a new record. This does not do anything. So, my issue is this. I have a mySQL database hosted I am connecting via PHP, I have 1 mxml file and 2 php files (I know I can use just 1 but I am learning and this was easier for me to use for troubleshooting). The issue is no matter what I change on the datagrid the update does not show on the datagrid unless I close out of IE and reopen it. I can refresh or open the page in another window and the update does not show. I have to exit entirely and restart in order for any updates or additions to show.Here is my licenseTracker.mxml
I have updated the mxml code to only show the needed code for the program to run the update.
I am new to Flex and have an issue I hope you all can help me out with.
I have researched this issue all over and most people say use the .refresh() method to update a datagrid after updating or adding a new record. This does not do anything.
So, my issue is this. I have a mySQL database hosted on 000webhost.com, I am connecting via PHP, I have 1 mxml file and 2 php files (I know I can use just 1 but I am learning and this was easier for me to use for troubleshooting). The issue is no matter what I change on the datagrid the update does not show on the datagrid unless I close out of IE and reopen it. I can refresh or open the page in another window and the update does not show. I have to exit entirely and restart in order for any updates or additions to show.