Professional :: Display SQL Results In Flash?
Nov 27, 2010
would go about setting up flash to display results returned by a SQL query one at a time.I can work out the query and PHP, but want I want to know is how to make flash take each one and animate it, including pausing and clearing the screen when full, then continuing on a 'new' screen. It's basically for displaying a list of events in a database.
Blank screen
Event 1 (pause)
Event 2 (pause)
[code].....
View 1 Replies
Similar Posts:
Jul 4, 2010
Is it possible for recent versions of flash to directly (or thru Php) access (& update) data from a mysql database and display results based on the data?
So if my database were like this (math scores):User 13Jerry | 20Kane | 7 the flash output would be a bar graph like this (those hyphens would be bars in flash)
Is this possible these days? Google analytics does something like similar to this.
I last used flash somewhere in 2003/4. Never after that :-) I've completely lost touch.
View 6 Replies
Dec 15, 2009
I have been looking for a tutorial that shows or explains how to display the contents of a search engine like 'Google' or 'Youtube' inside Flash. No luck so far...
View 1 Replies
Jan 18, 2010
I am working in Flash 8 and using AS 2.0 coding. I am working with page flipping application. Here I have an option "search". I will tell you the scenario. Here I am loading images/pages dynamically thru an xml. It was loading and working like a page flipping. so far it was done. Now if you enter some text inside the search option and press the button, it has to search for all the loaded images/pages and has to display the resulted pages. How this functionality has to done. How to search the jpg's with a given string?
View 1 Replies
Jan 17, 2010
I am working in Flash 8 and using AS 2.0 coding.
I am working with page flipping application. Here i have an option "search". I will tell you the scenario.
Here I am loading images/pages dynamically thru an xml. It was loading and working like a page flipping. so far it was done. Now if you enter some text inside the search option and press the button, it has to search for all the loaded images/pages and has to display the resulted pages.
How this functionality has to done. How to search the jpg's with a given string ?
View 1 Replies
Apr 23, 2010
I've made a query in PHP, and I'm trying to send the results back into Flash via AS3, but it's throwing up this error...
Error: Error #2101: The String passed to URLVariables.decode() must be a URL-encoded query string containing name/value pairs.
at Error$/throwError()
at flash.net::URLVariables/decode()
at flash.net::URLVariables()
at flash.net::URLLoader/onComplete()
Here is the relevant part of the PHP and AS3 code, including the query. The Flash variable rssAdd is passed over to the PHP which is using it in the PHP query accordingly.
$url = $_POST['rssAdd'];
$query= SELECT title
FROM Feed
WHERE category = (SELECT category
FROM Feed
WHERE url =$url) AND url!=$url;
$result = mysql_query($query);
echo $query;
Here is the AS3 code I've done so far.
function recommendation(){
var request:URLRequest = new URLRequest("url");
request.method = URLRequestMethod.POST
var recVars:URLVariables = new URLVariables();
[Code] .....
View 2 Replies
Jan 18, 2010
I am working in Flash 8 and using AS 2.0 coding. I am working with page flipping application. Here i have an option "search". I will tell you the scenario. Here I am loading images/pages dynamically thru an xml. It was loading and working like a page flipping. so far it was done. Now if you enter some text inside the search option and press the button, it has to search for all the loaded images/pages and has to display the resulted pages. How this functionality has to done. How to search the jpg's with a given string?
View 0 Replies
Mar 15, 2012
Using Flash CS3, having issues getting flash to send quiz results to a LMS. Using the Flash quiz templates, exporting with SCORM 1.2 compliance. The LMS is able to track times attempted and if the lesson was complete or not, however the quiz results don't reach the LMS.
I think this can be resolved in the actionscript or the javascript that gets exported with the HTML file Apparently you can control the javascript functions with FScommands from actionscript Something like fscommand ("LMSSetValue","cmi.core.score.raw" + "," + integer); I don't know where in the actionscript this should be triggered from.
View 1 Replies
Mar 24, 2010
I need to show the results in my flash program. The results are working great in a trace. I get the text to show, but not the results from high1.lab, high2.lab and high3.lab.
[Code].....
View 3 Replies
Apr 11, 2011
I've got a simple app that is currently getting information form a database and just displaying the content into a datagrid.
Instead of having this information displayed in a datagrid, I'd like to display it in a couple of labels (first name, last name, phone, etc.), but I'm not really sure how to.
Currently on creationComplete I call my php query function - which looks like this.
public function getPeople() {
return mysql_query("SELECT * FROM tbl_people ORDER BY pers_name ASC");
}
[Code].....
Eventually my query will be modified and will only ever return 1 row from the database. So how do I get the results to display in labels instead of the datagrid?
View 1 Replies
Apr 7, 2010
I am trying to adapt this search code to display the results one at a time.Right now it displays all the terms it finds all at once and separated by commas. How would I adapt the code so it displays one item or term at a time.
[Code]...
View 9 Replies
May 5, 2010
I am trying to create an array (1-35), mix that array and display the results with a trace. I am getting an error with the following code.
public function generateArray(toNumber : int) : Array {
var result : Array = [];
for (var i : int = toNumber;
i != 0; i--) {
result.push(i);
[Code] .....
The error(s) are:
1180: Call to a possibly undefined method generateArray.
1120: Access of undefined property generateArrays.
View 27 Replies
Sep 20, 2011
Any Info about using the new Twitter API's to search images with a hashtag and display the results?
View 2 Replies
Feb 18, 2011
i am using Flash CS4 (AS3) + AMFPHP + MySQL to do own flash frontend for Wordpress CMS. Everything is going fine but i`ve got one problem. Problem with properly display of result of query in AS3 by using ArrayCollection.
When i check my service in "amfphp/browser/" in web browser i`ve got this (with all needed data):
...
(mx.collections::ArrayCollection)#0
filterFunction = (null)
length = 2
[Code].....
I know that "result" is an ArrayCollection type but i don`t know how to get rows and columns from this. I know that my data is there but i have no idea how to get it.
how to get to Arrays and simple data variables which are in ArrayCollection.
P.S. I tried also change query type in service.PHP for mysql_fetch_query but in that case i`ve got only one row (not all data).
View 3 Replies
Apr 5, 2011
I am working on a search function but am having a bit of trouble finishing some display details. The following code works fine for finding and displaying text within an xml file, but I want to display the results differently. Using the following xml as a source, I would like to:- highlight the search term (var searchTerm) in red when found in the xml- add some characters found before and after the search term to give the term that is found some contextFor now, how could I add 3 characters before and after the search term, like so: "The first tex" - and highlight 'first' in red
var xmlFileToSearch:XML =
<xml>
<sim>
[code].....
View 4 Replies
Aug 6, 2011
i have two functions written to work out the time until lesson starts.
However, if i try to output the results in a dynamic text field, it doesn't work? It only works with the trace method?
View 5 Replies
Mar 31, 2010
I have an AdvancedDataGrid with a custom label function whose value can change based on other form status (specifically, there's a drop down to choose the time display format for some columns).Right now, I have this labelFunction:
internal function formatColumnTime(item: Object, column: AdvancedDataGridColumn): String {
var seconds: Number = item[column.dataField];
return timeFormat.selectedItem.labelFunction(seconds);
}
[code]....
... and the timeFormat object is a combo box with items whose labelFunction attributes are formatTimeAsFractions and formatTimeAsInterval.The columns that have time formats have formatColumnTime as their labelFunction value, because extracting the seconds in that function and passing it in to the formatters made for a more testable app (IMHO).
when the timeFormat.selectedItem value changes, I want to force my grid to re-calculate the labels of these colums. What method must I call on it? invalidateProperties() didn't work, so that's out.
View 2 Replies
May 18, 2011
I want to have an input text box with the instance name "answer1_input."If the user types in "one" I want it to go to frame 2.If the user types in anything else, I want it to go to frame 3.
View 8 Replies
Aug 21, 2011
We're seeing very different results from the same files being packaged for iPhone verses iPad. Not having a lot of luck getting things to run smoothly on the iPad when they work great on the iPhone. The iPhone versions also run great on the iPad even though it has to scale down all the retina quality images. I feel like I'm missing some important difference between the two?
View 3 Replies
Oct 1, 2010
I've recently upgraded to CS5 and the Media Encoder creates incredibly HUGE files compared to the CS4 media encoder.
For example, I can convert a 15MB mpg file to a 12 MB flv file in CS4 using the preset "FLV same as source"
I do not find a matching preset in CS5, but tried "FLV - match source atributes (medium quality)" Encoding the same file in CS5 with this preset results in 170MB file.
I've tried adjusting the settings, comparing the options in both versions, and I still can't get a reasonably sized file out of the CS5 media encoder.
This seems really broken to me. A 170 MB file is not useful in any way. Do I have bad presets?
Adobe Media Encoder version is 5.0.1.0 (32-bit)
View 4 Replies
Aug 8, 2010
I had an existing client ask me about the possibility of building an online quiz. I am fairly adept at working "inside" Flash, but always run into problems when trying to export data "from" Flash anywhere else. I am also trying to figure out if Flash is the best application to build this quiz (I see other possible apps like Captivate, but don't know if they are necessary for what I am trying to do).
What I need to do:
I need to create a Login screen to attach the final text score to an individual.
Create (50) separate screens for 50 questions with multiple answers for each (simple enough) with submit buttons once the answer(s) are chosen.
Each time an answer is submitted it has a certain "weight" toward the total score (which I am guessing that I could track into a variable inside Flash?) When the test is complete all I need to do is send that Person's Name/Total Score to a database. Is this something best accomplished using Flash?
View 3 Replies
Feb 21, 2011
Using the web services panel, I've connected to a web service, but all the method calls will only show the param structures/types - not the result structures/types. To the best of my knowledge, I'm sending the right parameters, in the right structure, but always I get an empty response.The web services panel:
Debugger results (with breakpoint placed just after a response is received):
Where might the problem be?
View 1 Replies
Apr 5, 2010
I am looking at all the various Flash detectors and am a bit overwhelmed. Most of the info I find is from 2008 and before so I am afraid it is outdated. I want to be able to detect if a user has flash plugin and if not then display a still image. I am concerned that I-phone users are not seeing the flash embed in my site.
View 1 Replies
Sep 18, 2010
I have created a Flash video clip, and can't see the video when published to server. I am able to see the video on the page when I preview it in Dreamweaver CS3. I have deleted, recreated and re-uploaded the files.URL...
View 2 Replies
Dec 18, 2010
I want to use lightbox to display Flash video player.I would like to have lightbox load a page that has SWFObject code for displaying the Flash content. This page with the Flash content and SWFObject will have certain paramters and vars Does anyone know of an example or tutoral for doing this?
View 9 Replies
Jan 16, 2011
I'm using a Flash-based mp3 player on a site I'm working on. When it's working right, it shows up as a rectangle with:
1-A bar across the top showing what song is currently playing,
2-A box on the middle left that shows the album cover associated with the song,
3-A box on the right showing a list of songs that can be clicked to start the playback, and
4-A small rectangle below the album cover with text like "Info" that takes the user to a place to buy the music when clicked.The problem is that depending on what operating system, what version of that operating system, which browser (and which browser version), either the album cover or the info box may sometimes be missing. I'm not a Flash guru, but it seems to me that the Flash plugin on a user's browser would either show all or nothing if the swf is defective. If Flash operates within it's own "space" as a process, the contents of the Flash object should be independent of browser and operating system variations.The player (xspf_player from musicplayer.sourceforge.net) is open source and I have the fla file. I suppose I could open it in Flash CS5 and fix the problem, if I knew what I was looking for.url...
View 5 Replies
Jan 28, 2011
I am very new to flash ads and we are on a new platform after a website redesign. I'm having trouble with flash display settings I'm guessing since the ad displays fine in IE, but not fine in Firefox and Chrome. Images to follow (for the curious it is a YWCA ad):
Here you see overlap on the current version of Firefox.
This ad has wings! Current version of Chrome.
This is IE. What? IE is right and the other browsers aren't? What gives!?
Additional details: The position is a plugin position for Wordpress. The ad is being placed via Ad-minister with the following code:
[Code]...
View 1 Replies
Mar 24, 2012
I'm editing a flash web template in Flash pro (cs5.5 master collection) . I have a horz scrolling calendar with event and direction links in each day. The calendar is Html/css/ and jQuery. If I Build a single Html page that loads the CSS and jQuery and contains all the calls and Content text and I call/display this in a flash box in my "movie"
View 4 Replies
Mar 21, 2011
Has there been an update this weekend thats broke masking I have tried to gradient mask an object both by using a vector mask and a png mask. NONE OF THEM WORK! Last week it woeked - and nooene else here at my job can get it to work either.Gradient masks are just shows by a square. No way of of getting smooth edges (gradients on a masked object anymore).
View 13 Replies
Aug 25, 2011
Apple is obviously rejecting Flash to protect it's 'App' revenue. I've been on Android phones that run Flash and display all my content perfectly smooth. It can be quite frustrating how they are trying to bury it when I still have yet to see HTML5 replicate the type of interactive content Flash is capable of producing. Is there any way to display a message on the iPad when the Flash player is not found? I'd like it to says something along the lines of: "Unfortunately the Apple iPad does not support the Flash player because their business interests do not want it taking away from their App revenue. Did you know that the Dell Streak, HTC Flyer, Blackberry Playbook, Motorola Xoom, Samsung Galaxy Tab, Toshiba Thrive, and HP Touchpad all support the Flash player?"
[Code].....
View 1 Replies