ActionScript 2.0 :: Load An XML File From The Internet In A CD-ROM Flash Application - ComboBox
Feb 12, 2007
I'm trying to load an XML file from the internet in a CD-ROM flash application and seem to be getting nowhere. The XML object needs to retrieve the results of a PHP script with 2 variables. The first being T (territory), and the second TYPE (type). The TYPE variable is currently fixed. In this situation, we will consider its value: 'bsc'. I have tried an on(change) handler on the ComboBox, and gotten it to at least produce the correct URL with both GET variables, but the XML object refuses to load.
I have tried using trace() outputs, the debugger, and every permutation of my code I can think of ... but with no results. I do know that my PHP code is working properly, and IS generating the output I exactly expect. What am I doing wrong, is there an access restriction between a local Flash file and the internet?
[Code]...
View 2 Replies
Similar Posts:
Sep 30, 2010
I have the exe file of micromedia flash player. I am able to run this file from the .net application by using the following code
private void button1_Click(object sender, EventArgs e)
{
System.Diagnostics.Process.Start("peopledisplay.exe");
[code]......
View 2 Replies
Jul 20, 2011
I have a dynamic text box on my scene, and I have tried the following code:
Code:
var loader:URLLoader = new URLLoader();
loader.dataFormat = URLLoaderDataFormat.VARIABLES;
loader.addEventListener(Event.COMPLETE, loading);
[code]....
This doesn't work, although if I put the vars.txt file in the same directory as the flash file it's fine.
Code:
loader.load(new URLRequest("vars.txt"));
Is there a way to load the vars.txt through the internet?
View 2 Replies
Jul 1, 2009
i used blue.css and also beige.css in flex .i have theme combobox for user changed theme dynamically so i stroed
[Bindable]
private var pickcss:Array=["blue.css","beige.css"];
private function css_initializeHandler(event:Event):void
[code]........
View 2 Replies
Apr 25, 2011
I have a combobox (comboBox) on the stage and an empty movieclip (holder_mc).
I want to load 3 external swf files in the holder_mc once the values in the combobox has been selected.
there are only three values in the combobox(Red, Black, White).
I have also this code on the first frame of the main time line:
function change(evt){
trace(evt.target.selectedItem.label);
}
comboBox.addEventListener("change", this);
View 2 Replies
Oct 27, 2009
how would the 3-tier architecture be applied in a Rich Internet Application?I thougt that flex was presentation, .net web services where busines and informix was data. But then when I started I feel that I must be wrong.
View 1 Replies
Mar 7, 2011
I need some help? Anyone experience this problem before with IE8 FLASH bug? Can not get this to work on all subsequent refresh to the flash. I have a flash piece which simply renders only on the first initial load. After that, if i refresh or visit the page, it does not load correctly. It seems I am having this problem with the swf only on subsequent loading of the page or whenever a refresh happens.
View 1 Replies
Apr 15, 2005
i want to amke one application in flash same functionality what is can u guys tell me how to make selection of one item in combobox to update the value of the listbox below and how to make the different folders and subfolders with icon as they have done
View 4 Replies
Aug 24, 2010
I've been trying to create a screensaver that dynamically loads images and text from a server, but it seems like I am not able to load anything outside of my own computer at all.t seems like the problem is coming from the Security Sandbox, the sandbox type for the screensaver stays "Local_with_file" meaning it can access local files but cannot access files from the network. What can I do to make the Sandbox "Local_with_network" as I do not need to load anything locally, but images and text from a server.
View 1 Replies
Jul 1, 2010
I have a piece of jQuery that requests a file (using .load() method) with some HTML and an embedded Flash video player. IE7 doesn't seem to load the Flash video player, but it does load all the HTML and applies proper CSS to the elements. It works at least on FF3.6.6. I've tried both static embedding [1] and SWFObject [2]. I've also tried several different Flash video players and neither works. Both of the flash players load just fine if I don't request them with AJAX. Now is this is even possible? Are there any tricks to make this work? Or do I have to implement another way for IE?[1]:
<object id="player" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" name="player" width="400" height="315">
<param name="movie" value="player.swf" />
[code].....
View 1 Replies
Aug 28, 2009
I have been a desktop developer for a few years mostly doing object oriented stuff. I am trying to branch out into web development, and as a hobby project trying to put a web application together. I have been reading quite alot of information, but I still can't seem to decide on the path to take and would really like some advice. Basically, I want to build something like this:
http:[url]....I have found this as well: http:[url]....
But so far it is of little use as I am trying to grasp Javascript. I have been using visual studio for that, is that a good IDE for this tye of thing or should I try expression blend? Jpolite seems to do everything with javascript, which seems kind of cool, but I if I want to make a chart inside a widget that connects to a database, do I need something more? Is this where ASP.NET comes in? I am familiar with .NET, but if I use ASP.NET for my website, do I have to host it on IIS and windows server as opposed to Apache since mono is still being ironed out? Because that would cost more, so would PHP be a better choice?Also, for charting these guys as well as google seem to use flex: http:[url]....I have found this: http:[url].....
Would that be sufficient to implement something like google fiance purely in javascript or is there a good reason they use flex?
View 3 Replies
Dec 2, 2011
look @ the source for this page [URL] It works great in all Webkit/Mozilla browers but in IE 9 we can only see the top half of the swf and in IE 8 it doesnt load @ all. I searched all the other threads and nothing seems to work
View 1 Replies
Dec 2, 2010
I'm developing a Rich Internet Application. So far, I have been working on the database and middle-tier .Net for the application. I'm now starting to work on the front-end UI and was planning to use Silverlight, which I'm currently learning. However, based on recent news it looks like Silverlight might be a bad choice for a long-term application.
The application will be a complex user-interface based around social networking, but will involve a lot of animated elements, funky UI pieces and video/audio. what is the best technology to 'buy into' for this, given that it needs to be backed by a .Net 3-tier system?
View 4 Replies
Mar 22, 2011
Is it possible to load a swf file after application creation in flex? If so how?
View 2 Replies
Sep 28, 2010
I have a 10MB flash file that I have uploaded to my website. No idea if this is large or small for a Flash file! The Flash appears on my index.html page. I have noticed that different browsers react differently, but when I open the page initially the video does not start playing straight away.
View 13 Replies
Jul 14, 2011
[url]...Two flash files on the extreme right side, that is above the text THE SPORTS CLINIC and CENTRE FOR JOINT REPLACEMENTS runs fine with almost all browsers, except for internet explorer. I have tried everything, but it simply doesn't run over internet explorer.
View 1 Replies
Aug 18, 2011
I have made one one mobile application in flash builder using flex mobile project I have a question that "why size of an .ipa file is large as I export a mobile application as iOS application.???? in compare to that same application for android takes small size!
View 1 Replies
Jan 6, 2012
I have a flex application that when i update on the server i can see the changes in both firefox and and chrome but I.E continues to show the application before the change... Its as if I.E had the application Cashed somewhere. I dont understand where it could be holding it. I have tried clearing my cookies and i still get the same view before my changes. Has anyone else had this problem before with Internet Explorer?
View 2 Replies
May 10, 2007
I have a combobox and list component on the stage. The combobox has 3 selections. How do I get it so that each selection triggers the specific xml file to load into the list component? I can't get them to communicate to each other.
View 1 Replies
Jul 23, 2011
I read that using Flash Builder 4.5.1 you can create one application and run it on a mobile device, in Internet browser and in Desktop AIR. However, I created a mobile application and the only option to run it is 'Run as mobile application'. Is it really possible to run the same Flex application in browser and on mobile?
View 1 Replies
Jan 26, 2012
I've an Flex actionscript 3 schedule reminding app which talks to a web-service through the internet over wifi. The problem is the wifi connection is unreliable and there are frequent dropouts. The schedule which the app reminds doesn't change very frequently. So instead of calling the web-service for finding the schedule every day/hour the app can store the data locally. Also, if the user updates the schedule on the app, the web-service is updated that the task on the schedule is complete. This data can also be stored locally so that when the user uses the app next time and there is an internet connection, the app can update the web-service.
View 1 Replies
Jul 22, 2011
I'm writing a small application for myself and instead of using a database I'd like to just use Excel to store the small amount of data I have on my local file system. I want to be able to load that data without having to use the typical FileReference browse() method as it would just be annoying to do every time I use the application.
The code below seems to find the file fine as the file.exists method below and most of the other attributes seem to be correct but the file.data is always null.I'm guessing this is a security issue and that's why I'm running into this problem but I thought I'd ask and see if there is in fact a way around this problem.
var file:File = new File(fullPath + "\" + currentFolder + ".txt");
if(file.exists) {
var byteArray:ByteArray = file.data;
}
View 2 Replies
May 17, 2003
is there a way to drag mp3 file in a flash movie within Internet Explore and make it play??
I want to make a player where users can drag their own mp3 songs on top of my flash movie and be able to listen to them?
View 1 Replies
Jan 12, 2012
I've programmed a Java application using BlazeDS and Flex, but i think the problem also occurs in any ajax style application. It's a monitoring application, so requests are made regularly to the server. The browser has stored a large amount of temporary internet files on the client pc even getting it saturated. How I can avoid this? I have seen some articles that say to include variables in the html header as:
[Code]...
View 1 Replies
Sep 23, 2008
I want to write a simple application which passes data between two remote computers over the internet. The application I really have in a game where moves are passed between two remote clients. what server can I use to my game moves to my friend boris?how can i communicate with this server in actionscript?
View 3 Replies
Jun 12, 2010
I am building an application that needs system fonts to be loaded inside a comboBox.
I am not sure of the exact way of doing.
Following is the code that loads the system fonts in an array [code]...
View 1 Replies
Jun 12, 2010
I wanna load system fonts into a comboBox component.
View 4 Replies
Jun 13, 2010
How do we load system fonts inside a comboBox?
I have written code to populate the system fonts and store it in an array.
var systemFonts:Array = new Array();
var fontNames:Array =new Array();
systemFonts = Font.enumerateFonts(true);
[Code].....
If myComboBox is the combobox instance, how do I get it to display the fontNames.?
View 1 Replies
Mar 24, 2011
I'm developing an application for the Blackberry Playbook using Flash Burrito 4.5 and Flex. I'd like to create a file browser to allow users to load images from the local system into the application. I followed this example [URL] When I click on the Load Image button in the simulator however, the file browser pops up but tells me that "no file was found with the specified filter", even though I don't specify any filter or even if I specify a . filter.
View 2 Replies
Sep 18, 2009
I am stumped. I have tried to load a comboBox with a for-loop to load k school names and can not get it to load dynamically. Here is what works:schools_cb.addItem({label:varLoad.data.school1});It manages to paste the name of school1 into the comboBox k times.Then, when I try:schools_cb.addItem({label:this["varLoad.data.school" + k]});orschools_cb.addItem({label:this.getChildByName("var Load.data.school" + k)});it brings up k blank entries in the comboBox.I am a poor teacher trying to make a signup page for our school's math contest
View 5 Replies