Index Mp3 Files On User Side And Create A Database Of File Name?
Oct 3, 2010How can I index mp3 files on user side and create a database of file name, artist name album name etc and upload them on a server?
View 1 RepliesHow can I index mp3 files on user side and create a database of file name, artist name album name etc and upload them on a server?
View 1 RepliesI want to download files from the server side to client side without prompting a window to the user to download when any updates happen at server side.Right now I am using urlstream class but first file is downloading completely rest of the files contents downloading partially.
editCode sample taken from other post. Warning: it's a huuuge chunk o'code.
<?xml version="1.0" encoding="utf-8"?>
<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml"
xmlns:MyComp="client.components.*" layout="absolute" height="554" width="817"
[code]....
First: I want to create a sort of webshop and I want to create a MySQL database in which people can sign up/log in.How can I create this in FlashMX + PHP + MySQL.I want people to log in, sign up and the database should register what people bought the last time(s) they visited.
Now for my second question:For this shop I have a section on the homepage with news.This sections needs to display the news and have a link to the archives.Each newsitem is an images that contains the news.How can I make Flash loads in the news dynamicaly and let Flash detect if there is an archive (archive = more than 3 newsitems in folder) and if there is one, display it?
I'm making a website for my Xbox Live clan im making it in flash and im a total N00b to anything to do with login and stuff. Can someone pretty please tell me step-by-step how to create a database that when you put your user / password in, it checks to database to check if they are a vaid user and 2) can some one tell me how to create something like an add/edit thing just for 1/2 users so i could edit stuff like about me, actually in my web broswer.
View 4 RepliesMy project is creating a questionnaire in Flash and then storing the user answers in an array or a database for later analysis. although i was excellent in coding when i was in college, recently i forgot many parts
View 1 RepliesIs it possible to create a database driven website using these alone? Or do i need to learn any other technology? If i do then what should i learn? I know j2se for the desktop and oracle SQL/MySQL i finally got the feeling that i need to learn PHP anyway along with css and javascript. So it is fine. Also another query. Which CMS should i consider? Wordpress or Joomla?
View 1 RepliesThis was super easy using AS2. I had 2 'loader' movie clips placed on the stage and simply used the loadmovie to bring up the external swfs. How would i accomplish this using AS3? I simply need one movie to display on one side of the stage, and another on the other side of the stage. do i still use these 'loader' movie clips?
View 4 RepliesI need to create a file that the user inputs text which looks easy enough, but I need to strictly define what they can put in.
It is a right/wrong answer so for example:
I would need them to enter the following sentence exactly: Hello my name is dog.
i want to create a log of all user activities like when user navigates to particular section or clicks on button to open a pdf externally.. i want to keep log of all these user activities and send them to my server in real time using a webservice
how can i do this in flash can i use a shared object. it is desktop application with output format as projector file(exe)
i'd like to know if its possible to save information obtained from users to files if the user is accessing the flash file from a cd. I would also like to know how it works if possible. And can the flash file be in .exe instead of .swf?
View 5 RepliesI'm developing Flash for a CD.I want to create a button for the user to click and then have a choice to save or open file (like PDF or Word file).
i have the following code:
Code:
myButton.onRelease = function()
{
getURL("abc.doc");
}
I can't see anything wrong with the above. I intend to use the code for a CD ROM.abc.doc will sit on the CD ROM. When I click on the button, it opens a browser window and tries to go to google.com.I had it working the other day.
I am looking for a class that functions similar to JPEGEncoder from as3corlib, but instead of encoding a JPEG, I want to take a dynamic drawing the user has made (with animation) and output an SWF file that the user can download and playback on his/her computer.I understand how to create an SWF and store user variables that control the playback, but I want to make it all contained in a single SWF file.
View 1 RepliesI am trying to change the z-index when you a user clicks on one of my movieclips. I get this error and am not sure how to resolve it. If anyone has a few minutes to view the code I posted below that would be awesome.
Here is the error I am getting:
TypeError: Error #2007: Parameter child must be non-null.
[Code].....
Does anybody knows how to use the XML as a holder for the values that will be given by the user for example. Parent's name: _. then whatever the user's input i should move that and hold that by the xml. i just dont how. i read lot of books but i can't find any answer. This is for my senior project.URL...
View 2 RepliesWhat is the fastest way for a Adobe AIR program program to index all images on a users' computer? Using Open Source ActionScript-3, MXML Libs and classes.
Fastest - Same pc configuration, different time (seconds) To index - get a list of absolute links (like c://bla-bla/file ) and save them into file (index.txt) All images (like JPEGs, PNGs)
I have found many drawing pad solutions. Some good, some not as good. All of them, however, fail to show how to save the file as a pdf (would be happy with bmp right about now) from the drawing pad to a server side folder via php. Can someone show how to do that using as3?
On the advanced side, I also need to figure out how to make it recognize logged in users of the preexisting CMS in order to save out to specific user folders. The CMS is Joomla 1.5 latest build, with JomSocial and JSPT multi profile. It would save out to folders created by the JMarketPro system.
My users upload a certain kind of text file that sometimeshas references to images stored locally on their hard drive. I needto check this file either on the server or within a flash app tosee if it has these references and then grab those images in aflash app to upload to my server.So I can use FileReference easily enough to have users uploadlocal images. But FileReference requires users to select their files with a dialog box. I can't have that. Myusers wouldn't know where to look and there are typically way toomany files, sometimes with the same name but in differentdirectories.
I can also just use URLLoader with a local URL, I guess I canprobably just use Loader too? That works great. The problem here isI can't communicate with both the server and the local filesystemin the same flash application due to Flash's security sandboxrestrictions. So I can get out of those security restrictions byplacing or editing a trust file in designated locations on variousOSes. I then need to install this trust file which is more invasiveand confusing to users then I want to be...Java's method of accessing local files from a web applet bysimply signing the applet with a certificate and having a dialogbox popup where the users grants access is ideal. Is there anything
I'm currently trying to find out how to create external files from a SWF/exe/app file created in Flash. Essentially I'm building a program to create templates for levels in a game. The SWF will be run locally (e.g. not online) and will allow the user to add/remove objects to a level of their design. They then need to be able to save the level template (ideally I need to be able to save as a JSON* file, but I'm sure I could get away with just a simple txt file) somewhere on their computer. These templates will them be imported by the game itself (not written in Flash, hence why I need to save the data as a json or txt file), which will then re-create the levels from the data contained in the save file.
I had assumed this would be something that was really simple to do, but I cannot seem to find any tutorials or information on how to create external files. I can find plenty on reading from existing external files, but nothing about actually writing a new file entirely. I have read a few people complaining that non-local Flash SWFs cannot access the user's hard drive for security reasons, but cannot find any information on local SWFs.
If anyone could tell me even roughly what I'm looking for, it would be greatly appreciated. I'm a bit stuck just now haha *I have downloaded the corelib files which allow me to work with JSON files
I'm creating a banner navigation with quick animation and I just want to PLAY the animation when user visit the page for a first time OR only in homepage (index page).Basically when visitor go to another pages, they won't see the "banner" animation over & over again. How to accomplish this ?
View 3 RepliesI was trying to make a media player with AS3 coding.. I know how to make play, pause, next buttons etc.. And i also learned to load playlist from a XML file (created mannually)..What i actually need is to browse the computer and select multiple files and add those files to a playlist.. All these must be done with the media player itself(not manually typing the XML data).. XML file dynamically by selecting the music files, using the player.. Or is there some other method to create playlist without making the XML?..
View 6 RepliesI am fairly new to actionscript 3, and coding in general, and I am trying to build a music application with a user account system, using which each different user can access their own music files.
I have found many tutorials online on how to create music players and playlists, user login systems, but nothing that combines these into one application.
I am basically having a problem in submiting the users score and name to the database table. When the user reaches the final score screen they are shown two dynamic text boxes that display there total result and a input text box where the user can enter their name. I have done everything and it still don't work. I know I can receive the data but I don't get why it doesn't submit it to my table.
The input text box has a instance name of "playername"
Score total dynamic text box 1 "correct_total"
Score total dynamic text box 2 "wrong_total"
I have also attached an image of my database table [URL].
PHP files. insertValues.php
<?php
$host = "localhost";
$user = "root";
$pass = "";
$database = "activitysystem";
[Code] .....
I've read many solutions on the board about displaying correctly your Flash emmbed site in way to fit the browser screen of your visitors. I've tryied also many suggestions, and I can't get it right. I need to have my work look like this site [URL] The main flash movie used is 1200 x 626. I've copied the index.html and adjust for [URL] The main flash movie used is 1200 x 600. As you can see, the result is different, the site doesn't fits the screen, and that's what is getting me crazy,
View 2 RepliesI'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]...
Ok I'm trying to make a small thing on a website that will allow the user to update the news themselves.... after reading up on it i found that to export a textfile in this way I would have to have a serverside script to execute it for me (PHP in my case)... I did it, but it isnt working..
View 14 RepliesXML is really cool, I'm amazed at how easy it is to use and what it can achieve. what the easiest method of adding data into an XML file via PHP is. I'm somewhat proficient with PHP (and MySQL), just not too much. For instance we have an XML file like so.
Code:
<news>
<item>
<heading>This is the heading!</heading>
[CCode]....
So how would we go about adding item elements (of course containing headings and content) into our XML file via PHP? Are there any good libraries that do that or built in functions?
I'm still a newbie at flash, but is it possible to have Flash get files from the server it is currently on, and then send those files somewhere?
View 1 RepliesAllow this binary data to be extracted via a http request to be dynamically loaded inside of a web page.Now the first part was easy. I have all of my swf's uploaded and stored inside of the database. I have code that can make a request for the binary and write it to the response, so far so good. Now this is where I am stuck.I thought I could dynamically load the swf binary data by creating a very basic swf that simply contains a movie clip holder and for now a simple loadMovie statement. My idea being that I can could provide a url for the loadMovie statement that returns the swf binary data. This is where I have ground to a halt.
I can see the call being made from the swf, I can see the data being returned but I cannot get it to render. I remember seeing an article some time agao where someone stated that they had used this method with success but I cannot find now
It is possible to make file transfer from air application via server?I think need to create like byte array streaming or somethink like this from sender and write the destination file on receiver user pc.
View 2 RepliesI have a simple Flash slideshow that reads XML
The XML files contains a few settings and several data entries
I want to make it read from a database instead
I can't make my mind up how I should use the database and how many tables I need
IMPORTANT: I will have several instances of the same slideshow on several different places - how to best store the data