ActionScript 2.0 :: Remote XML With PHP?

Jan 24, 2010

I was using the code listed below to access an XML file on another server and just recently it stoped working. Is there an alternative. Once it stopped working the page was just blank, However if you go to the XML page it shows up.

Code:
<?php
if (isset($_GET['tracking'])) {
$tracking = $_GET['tracking'];
readfile ("http://domain.com/page.xml");
}
?>

View 1 Replies


Similar Posts:


SWF Containing FLV Won't Play On Remote

Jul 28, 2010

Flash CS4: New document, insert FLV w/ skin. I save the SWF, FLV & SKIN all to the same folder. Next, DW CS4: New HTML document, insert MEDIA> SWF (the one I just made above)I save the HTML to the same folder with all the others.I publish all those files to the root folder on the remote site for people to see. I also publish the file that was auto created by DW 'swfobject_modified.js' in the folder that it created it in. (The folder is called 'scripts')So to recap, I have one folder called scripts and then 4 files mentioned.The result is that there is a white space where the video should be, and the 'skin' shows up... but no video.

View 1 Replies

Asp.net :: Best Way To Structure Of Remote Service?

Dec 8, 2009

I'm not sure if this is technically a web service or not but I have a Flash file that periodically needs to make a round trip to a DB. As it stands, AS3 uses the URLLoader class to exchange XML with an ASP.NET/VB file on the server. The aspx code then goes to the DB and returns whatever information is requested back to the Flash file.As my program grows and I need to execute a larger variety of tasks on the server, I'm wondering if I should just keep placing functions in that same aspx file and specify in AS3 which function I should load for any given task. OR, is it better to break up my functionality into several different aspx files and call the appropriate file for the task?Are there any obvious pros and cons to either method that I should consider?

View 1 Replies

ActionScript 3.0 :: Getting Remote Image

Sep 24, 2009

I have a URL to an image (not on my server). I would like to load the image in, and display it, but I can't figure out how!

[Code],,,,

View 8 Replies

ActionScript 2.0 :: XML On Remote Server?

Nov 17, 2009

I have made a very simple RSS display that pulls a XML twitter feed from twitter.com. My problem is that it works locally, but will not work on the server. I have tried adding a crossdomain.xml file, adding allowDomain() method and setting the embed param's allowScriptAccess to always. Still It will not work through a browser.

View 0 Replies

ActionScript 3.0 :: Remote URL Is Not Working

Jan 17, 2011

i am working on a flash currency converter application, for that purpose i am fetching the latest currency rates from yahoo, i am using flash cs5 and as3, i am getting the desired response from yahoo when i run the flash file from Flash cs5 (ctrl+enter) and also after publishing (F12) by opening the html file just created by flash cs5.

BUT when i am moving the html and swf file over a web server (WAMP in my case), the response from yahoo is no longer working for me, i have checked it in both localhost, and on remote server. what can be the issue? it seems so strange to me.

View 7 Replies

IDE :: Link To .swf On Remote Server?

Feb 9, 2009

My client can't store the .swf file on the same server as the referencing html file.I tried using an absolute URL in the html to load the .swf file from a different server, but it doesn't seem to be working, (just a blank page, no errors or anything).I'm using swfobject 2 generator to generate the html page. Works fine if both swf and html are in the same directory, doesn't work when they're not.[code]

View 5 Replies

ActionScript 3.0 :: Reading The Remote SharedObjects?

Aug 1, 2008

I'm having trouble reading a sharedObject. I know it's written to the server because I can open it with wordpad and read it and the proper values are there. However, mySO.data.visitDate is always null or the size is 0.

<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" initialize="initApp()">
<mx:Script><![CDATA[
[Bindable]
public var welcomeMessage:String;

[code]...

View 3 Replies

ActionScript 3.0 :: URLRequest To Remote Server?

Jun 1, 2009

Can I send and load variables to a php script on a different server? Hen I try I get a Error #2048: Security sandbox violation How do I get around this?

View 14 Replies

CS3 Loading Remote Images Dynamically?

Jul 8, 2011

of a complex question to me, but it's coming from an absolute beginner and it might be considered a stupid one, that's why I posted here...I've kind of been dropped in the deep end with this task and I can't get it right... I have a company's organisational chart in flash where it loads in each person's name dynamically for their department and when you click on it it brings up their CV information such as name, qualifications etc. This is loaded into a dynamic text box. I can test it locally with an xml file and then switch back to the online version.The local version I check by switching to "strXMLpath = "organisation.xml";" where things are laid out as follows:

Code:
<organisation>
<bod>

[code].....

View 1 Replies

Professional :: Debug From A Remote Location?

May 3, 2006

I installed the update to Flash 8 that allows for remotedebugging, and I had it all set up and working over the past weekor two. But, all of a sudden it's not working for me anymore.I wasable to access it by right clicking my movie from within thebrowser and selecting "Debugger", but for some reason the optionisn't available anymore. I've rechecked my settings according tothe livedocs, and ensured the swd file is in the same dir as theswf, but no dice.

View 2 Replies

ActionScript 3.0 :: CS4 Remote Debug Not Working

Mar 14, 2009

I am using CS4 and adding scipt to the Actions Frame for a 3rd party component using AS3.The swf is being used by an ASP.NET page.I'm trying to get Remote Debugging running - I had it running yesterday, but something changed and I don't know what. So, now none of the breakpoints are being recognized.

-I create the swf file with debugging enabled.

-I start the CS4 Remote Debugging.

-I start my ASP.NET app in Debug Mode from VS2008.

-I get the Adobe dialog allowing me to connect to the debugger. (Before the problems occurred, CS4 debug recognized the flash player automatically.)

-The CS4 debugger recognizes that the player is running since the output frame updates with "[SWF] /Flashloaded/Flashloaded.swf -56913 bytes after decompression"

- But, NONE OF THE BREAKPOINTS ARE BEING RECOGNIZE!!! And no Variables show up in the Variables Frame.

- YES - I am using a debug version of the flash player. I have tried both version 9 & 10.

- Nothing is being entered in my flashlog.txt file.

View 2 Replies

ActionScript 3.0 :: How To Do Remote Desktop Sharing

Jun 11, 2009

Can we do remote desktop sharing by using AS3?

View 2 Replies

ActionScript 3.0 :: Flash Presentation With Remote?

Feb 23, 2011

I have been doing days worth of research and this is a topic I have yet to find much useful information on.  I create business presentations for a wide range of clients with adobe flash.  Up until now all user control has been done through the computer or via a timer so the user wasnt interacting at all.  We have started receiving requests for presentations where the presenter can interact with the presentation via a presentation remote.  Basically they want control over the presentation just like someone can with a remote in Powerpoint.
 
All my research on this topic up until now has been pretty much in vein.  We have tried to program flash with keystrokes and such but ran into issues as apperently all remotes do not use keystrokes to control the presentation (namely some logitech remotes do not).  So here is my question.
 
Does anyone have an idea on how we could set up a flash presentation to work with ANY remote our presenters may have?  I am hoping this is something we can program/build one time and then just copy and paste the code to each presentation.  Versus the alternative of contacting each client, asking what remote they will be using, and programming based on acquired information.

View 1 Replies

Flash And Remote Data Storage

Apr 8, 2011

A few years ago I was up-skilling form AS2 to AS3. In the process I could have sworn I came across a resource that was all about using SQL and Flash AS3 together. It looked like native AS3 SQL communication.I remember thinking "That's cool, will use that one day" and then putting the book down. Well it is now one day and I need to remotely read and update data from a Flash file. The thing is I can't for the life of me remember where I saw it.Searching online has been a bit discouraging. All I can find is a lot of people saying there is no native Flash AS to SQL communication. Was I dreaming, or are all the posts I'm finding old and referring to AS2?If this is the case, is there a way to save shared objects or XML files to a remote server? Or is my only option calling php files from Flash?

View 2 Replies

Flex :: Compiling Projects With Remote Ant?

Jul 23, 2009

I'm having problems compiling applications with remote ant, something similar to this. However the flex compiler seems to have problems with this. When I run the same script on my local compiles everything without any problems but when I try the remote ant it fails without giving more information.

View 1 Replies

PHP :: Load Remote Favicon Then Convert To PNG

Feb 10, 2010

As of now I am using cURL to load a remote favicon, but it outputs it as a .ICO, which AS3 will not load. I tried to convert the .ICO with imagepng, but that caused errors. Is there a way I can load a remote favicon and convert it to a png with PHP before loading it into AS3 without relying on Google's s2?

Some of the code:
snip
$imagestring = curl_exec($ch);
$image = imagecreatefromstring($image);
curl_close($ch);
header("Content-Type: image/png");
imagepng($image);
imagedestroy($image);

View 1 Replies

Load Remote Swf Files In Flex?

May 5, 2010

I have a SWFLoader in mxml of my flex app.[code]...

I get the alert popup (that is the loadComplete is called) but do not get any swf loaded, not able to view anything. What can be the problem, am I missing something or some security issue? I also tried the image control to load the swf. Moreover, the swf are pdf files converted to swf so can this be an issue of different frame rates between flash and flex ?

View 1 Replies

Flex :: Remote Class Alias In Air?

May 8, 2010

in Flex one can easily define the remote class alias like the following:

package samples.portfolio
{
[RemoteClass(alias="flex.samples.marketdata.Stock")][code].....

But my question is how do you do it in AIR since the client app does not know about the server file structure.

View 1 Replies

Flash - Possible To Access Remote SWF Without Downloading?

May 20, 2010

We have a very large SWF hosted in a website which is just a repository of hundreds of movies/symbols. We load this SWF at the beginning with the Loader class but then the client will access a very few of them at that moment. Is it possible to tell the loader to download symbols only when they're needed? (as with applicationDomain.getDefinition(...)).

View 4 Replies

.net :: Reduce Number Of Remote Objects?

May 4, 2011

I am making a flex application with .NET at back end (connection using WebORB and remote objects). I have five drop-down boxes in Flex component, each having unique values from different tables (e.g. city name, county name, user name, etc.).On page load (or can say creation create) I need to display these values so that users can select from the list. I was trying to get data using five remote objects (one for each drop down box.). I am wondering if there is way to get all data in one remote call.

View 1 Replies

Flex :: Mobile App Using Remote Web Server?

Mar 19, 2012

I must say that I am reaching the end of my tether with Flash Builder and Flex. Firstly, I have built this wonderful app that I want to start using but it is data driven meaning that when I built it, I created it on my localhost. The PHP scripts were generated from Flash Builder and I have edited them to make them more secure. I have all my services working 100% and I have this brilliant app, but I can only run it on localhost. I have done everything necessary and installed Zend Framework on both servers, I have configured Zend properly but I cannot work out how to change the mobile app to now read from my remote web server.To me this is useless as I want to be able to deploy this app to others to use when they are out and about. how to change it from looking at a localhost to looking to my remote web host?

View 1 Replies

ActionScript 2.0 :: Way To Open Remote Window

Jan 23, 2009

How can I send this variables and get a window to open at the remote site. I need this as an option cause perhaps I don�t need the data I�m fetching from the asp.[code]...

View 2 Replies

ActionScript 2.0 :: Loading MP3 From Remote Server

Feb 16, 2009

I am using the "loadSound" method to load an external mp3. The problem is I need to load the mp3 from a remoter server (the file is not local to the swf). From my searching, I can't seem to find out if this can be done.

My code follows:
this.createEmptyMovieClip("mcSoundHolder", this.getNextHighestDepth());
var sndAudio:Sound = new Sound(mcSoundHolder);
sndAudio.loadSound("[URL]", false);
sndAudio.onLoad = function(bSuccess:Boolean):Void {
if(bSuccess) {
this.start();
}};

View 0 Replies

ActionScript 3.0 :: Does Not Work On My Remote Server?

Sep 30, 2009

I am using a scrollbar component with a text field. Everything works when I test the movie. However it does not work on my remote server or when I test the .swf in an html doc tested locally through my browser. What am I missing?

View 9 Replies

ActionScript 3.0 :: Remote SWF And Localhost Connection?

Jul 14, 2010

Can I connect to localhost socket from a "remote swf"?

If I open URL like "www[DOT]myremoteswf[DOT]html" with an swf inside and I have a application on my pc with a socket server, can I connect both?

View 1 Replies

ActionScript 3.0 :: Casting A Remote-loaded SWF?

May 1, 2007

Let's say I have 3 items in the same package:Shouter interface - requires implementers to implement the shout() functionShell class - implements Shouter...this Shell.swf is to be loaded remotely from:ShellLoader class - loads Shell from a remote server, casts it as a Shouter and invokes its shout() function...uses allowDomain in order to cross-domain script.Now let's say ShellLoader.swf lives on and Shell.swf lives on ....I've got a cross-domain policy on Using LoaderContext's ApplicationDomain and SecurityDomain, I'm able to load and cast the Shell object as a Shouter and invoke the shout() function. Everything ok here.

Now let's say ShellLoader is run locally and is localTrusted. Shell.swf still lives on I'm now unable to use SecurityDomain property of LoaderContext within ShellLoader because it is now run locally. Shell.swf now exists in a different ApplicationDomain as my ShellLoader and I get the error "Type Coercion failed" when I try to cast the loader content as a Shouter.Is there anyway to resolve this issue? I believe it will require Shell.swf to be loaded in the same ApplicationDomain as ShellLoader but I don't know any way to do this when ShellLoader is run locally. Perhaps this is prevented in the Flash player on purpose?

View 7 Replies

ActionScript 2.0 :: Replacing Remote XML With Local?

Aug 14, 2009

In my html, I have

Code:
var frank = "http://www.deloitte.com/deloitte-ecm-cm-dpm-web/getflash?queryParams=view=dhome/cid=4030faec731c1210VgnVCM100000ba42f00aRCRD";

[code].....

View 1 Replies

Flash :: Site Different On Remote Server?

Mar 11, 2010

I'm running a template that when I run it on my pc locally it works fine but after uploading most of the dynamic text has dropped a line so becomes unreadable in most cases.

Anyone know whats causing this???

View 1 Replies

ActionScript 3.0 :: FLV Player Remote Xml Playlist Not Loading

Feb 9, 2009

I have this FLV player that pulls all of the data (poster frame url, flv url, etc...) from an external xml file "prefs.xml" that's in the same root as the swf. That all works nicely.[url]...

I know cross-domain policies come into effect, and I actually have one hard-coded into the swf, and linked from the prefs.xml file so you can change the url of that document.[code]...

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved