im trying to pull .swf files from MySQL by using PHP, ive set everything in the database up with an ID and licked it properly. Im not sure if the 'type' has to be anything special, right now its just a 'VARCHAR' and when altering the javascript part of it that that flash automatically generated-- in the i tried to echo it out by putting it in the value like
i want to know if it is possible to play a video via flash player, when the video is located on different server's mysql. for example: i want to play video on [URL] which(video) is located in [URL] mysql
I have a set of urls for stored in a mysql database online which each relate to a video on my local hard drive, i am trying to load these into flash using the flvplayback component but not getting very far.
I have created a php file to try and select the necessary information from my database so this can be read as xml for flash.
I was wondering if anyone has any experience in this and could please provide me with some help of loading in these urls to flash.
I am trying to create a video that loads the videos stred in a directory, depenant on the users id etc.To do this, I am using php. However, I cannot then get the php to convert to xml within the actionscript:[code]It works with a normal xml file just not php
I am relatively new to flash, xml and php. I am looking to load a video which the url is stored in a mysql database into flash.I have stored the video url into the database.But how do i display it in flash?
I have a flash photo album that like most grabs the infomation from a XML file.I was wondering if it would be possiable to pull youtube video from xml and show them.I had someone who liked the photo album and wanted to know if you could play video instead of pictures.I added the youtube url .
I have a typical Flex-based application that was written to use a Java/Hibernate/MySQL backend. The client changed the requirements - now they want to distribute it on a CD where the user can just run the app without any installation or a network connection.
To do this, I certainly need to eliminate the web server and the database server and adapt my application (with as few changes as possible, of course) to a stand-alone application that will fit on a CD/DVD. I've managed to export the data to XML and read it into Flex, but I'm wondering if there's a way to recreate the Hibernate data structures in Flex so I could change as little code as possible. Failing that, is there any way to keep the existing Java/Hibernate external to the Flex code but retrievable without installing Apache Tomcat or MySQL?
I have a Flex application which manage a database composed by 7 tables.I have created the insert form and all work great. Now I wanto to improve the Form performances; the idea is to replace the TextInput of the Form with ComboBoxes which are provided by the DataBase tables
In my table the Collation is:latin1_swedish_ci (but i tried UTF8_unicode too).In my flex application when it shows the table,it displays it correct,with all accent and pointing correct,but in the table is like :
I downloaded a flash spread gallery [URL]which uses a xml file to designate the pics to be used. It is very cool but it is kind of a pain as I have to manually type each pic name in the xml file. Is there a way that I can modify either the xml or the fla to just pull the pics from a folder? Maybe two folders one for the pics and one for the thumbs?
I would like to just dump a bunch of pics in a folder and their thumbs in another and have it automatically just post them.Attached is the fla and the xml (and a .js file) zipped.flashmo_185_spread_gallery.flaflashmo_185_photo_list.zip
Is it possible to embed code into a flash swf that pulls the system date and if it is greater then a hardcoded date, the file will stop playing, quit or abort playing, or just jump to the end of the swf?
I have a bit of code here that pulls, at random, 50 images from a file and pushes them into an array. I now need to pull, at random, 350 times from the array. I'm using a timer in place of the for loop to grab the images from the array. My code works fine as long as I do not use an array and I loop the images straight from the file. But that's very slow and bad form. I think I can do everything except the .load of the array. I can't seem to make it work. I'm getting errors that say "#1009: Cannot access a property or method of a null object reference" or "1067: Implicit coercion of a value of type Array to an unrelated type flash.net:URLRequest". I think I get the point of these messages, but I cannot seem to figure out how to pull the URLRequests back out of the array.
var imgLoader:Loader; var imgSource:URLRequest; var imgArrayer:Array = new Array();[code]......
I am doing a project that consists of AS3 in flash an importing an external xml data that will populate dynamic data in text fields in my flash project. The xml is all ready set up (pre existing) data. The structure of the XML Code looks like this:
<GlobalDynamicData xmlns:xsi"[URL]"> <schema version 1.0.0>version 1</schemaversion> <DynamicDataFields> <DynamicDataField> <DataField> AlertOn</DataField> <DataValue>0</DataValue [Code] ..... which works fine,
My question to everyone is How do tell flash to pull specific dynamic data if all the datafields are exactly the same... I would think all data fields that are named have to be diffrent so when you script the code you are telling flash to go to that data source and pull from that record. If you have the same naming convention how does flash know which one to pull from if they all have the same name..
find the code to pull some simple text from an external website's RSS feed into a basic text box in a Flash movie. It would need to be in AS2 to fit with the website. I understand I need to pull the content via an xml / php page under my own domain in order to get around the Flash security, but I still can't scrape together the right code for it to work.
FLash CS5 Actionscript AS2 Publishing for player 9
Recently i have visited so many video enriched flash site like this one [URL] Most of them shows video in full size. I downloaded the video using FF plugin. Video framesize is very small compared to the stage size. When i tried to add video and resize the video acoording to the page size , it slows the browser. I tried to embed the flv inside an swf and loaded the swf using normal loader and plyed it.. but the quallity and performance comapred to these site is very low..
I made a video in After Effect and export it to flash as a FLV video.. and write de code to load it into flash.. but I need it to loop.. Here is the code
tutorials (e.g. ) show how to integrate Flash and MySQL. Also Flash can manipulate and sent this back to serverTo integrate flash and MySQL one can do the following:(1) MySQL -> php -> Flash (e.g. What is the most robust way to set up (1) and (2) to work at scale - as quickly as possible? What are the server loading implications? Is there any other way to do (1) and (2) more effectively?
I'm not shure if this goes in the ActionScript forum, but no one anwsered in the Flash MX 2004 forum. And seens this is 50% ActionScript and 50% PHP i thought i would post it here aswell. Here is the thread that i started in the MX 2004 forum
is there a simple way to just pull back a true or false value from an associated javascript file to a flash file? here is what i have:
Code: var bincheck:Boolean = fscommand("eval", "parent.check_bins(\'"+img+"\')"); if (!bincheck){return false;} return true;
check_bins(img) is a function in my javascript file that simply iterates through an array, returning false if "img" is found. im simply trying to get the true or false value back into flash, but its not proving that simple. i added a couple alerts so that i could see what the "bincheck" value was, and i keep getting an 'undefined' value for "bincheck" in flash.
I'm trying to create a dynamic menu in Flash using PHP & MySQL and bring it into Flash using AS3 DataProvider. My menu works fine with a local Array, but I seem to have an issue with the Type being a String and not an Array, but how do I set it up properly so the types are correctSo I started with a typical, non-dynamic array and it works to create my menu:
Code: var items1:Array = [ {myClass:"SCI101", question:"What color is the sky?"}, {myClass:"MATH110", question:"What is the square root of 81?"},[code].....