ActionScript 1/2 :: BitmapData From Remote Server Since 10.1 Update Not Working?
Jul 22, 2010
I have had an SWF running on a HTML page since early 2008, and this SWF pulls down some images from another server - subseqently displaying them for the user.The SWF uses BitmapData to smoothly display the loaded JPG images.However, since the 10.1 update, this no longer works - everything gets drawn blank (when the bitmapdata's .draw() method is invoked).I must point out that this has been working fine for years before the 10.1 update, and the security setup has also been done correctly (the image server has the crossdomain.xml file, and the local SWF file has the relevant Security.allowDomain settings in place).Has anyone else experienced this, or know of a fix? This is driving me nuts, many of our clients who have this SWF in place on their website can no longer see the images after updating to 10.1.
View 3 Replies
Similar Posts:
Aug 12, 2011
I found a very useful AIR remote updater [URL] written by Claus Wahlers. It works fine but I have a question which I myself can't figure it out. Just a newbie in flash I guess. Question: What if the script can't find yourapplication.air inside my domain.com host? What will happen? I have tested it out. It appears that the script keep on running to find yourapplication.air inside my server. But it is not there. How do I make a timeout when if there is no such "yourapplication.air" file in the server / it will skip the update process?
[Code]....
View 5 Replies
Sep 23, 2010
My client has asked me to provide a template for an investor relations section of their website. The HTML page or template for this page will be at the service providers site, but all the images etc. for the page will be linked to files on my clients server. Everything looks fine, but the absolute URL's in the .swf file back to my clients site aren't working.
This is what the service provider's guidlines say, but I'm not sure where the code is supposed to go:
Similarly, newer versions of the Flash Media Player installed by most users have a high level of security enabled by default. This is done to prevent Flash movies from playing on web pages that are hosted on different domains than the movie itself (again, to combat "phishing" or "spoofing").
[Code]...
View 3 Replies
Feb 27, 2012
I am creating an interactive post-it for an upcoming event that allows for us to tap into a sql database and post tweets, survey answers and images. We've already tapped into the Twitter API and the survey, so those are A-OK.The problem lies within loading the images from a location other than the local interactive board's server.If the image itself is locally hosted, it loads just fine.If the image is hosted elsewhere, the image will not load, even though I have a trace on the URL of said image.I'm loading all tweets, surveys and images through an XML load and all the data is loading properly.I AM loading the image through a smoothing filter so that when the "post-its" are slightly rotated, they are not jagged. Here is THAT code:[code]
This is a two part script where the bulk loads in the image and places it into an empty movieclip, then adds the smoothing filter. The second part is a resizer that automatically resizes the image and keeps the aspect ratio.When I test the flash piece (not embedded in HTML) the thing works 100%.As soon as I put the swf into an html and view it on a web page, the remote images will not load.I'm a bit stumped on why this is, could this be a firewall or security issue? Because I work in a high security firewall environment.
View 1 Replies
Apr 29, 2009
I have a flash app based off the Screen shot maker found here: [URL]
Creating a screen shot from an flv on the same server works fine, but when I try to load the contentPath from a remote server the video plays fine, but the .jpg generated in the PHP file is blank with a white background.
Here's the ActionScript:
PHP Code:
import flash.display.BitmapData;
vid.contentPath = flvurl;
var vidid = vidid;
[Code]......
View 1 Replies
Jan 3, 2012
I'm making a maze game. The character can't walk through the walls of the maze (because of a collition detection between the bitmapdata from the character and the bmd from the walls). When the character arrives at a door, the next level/frame should appear with a new maze (new bounds). For the next level (next frame), I made a new maze with different walls. But the bitmapdata from the first maze is still 'active'.
So even though there's a new maze, the bitmapdata from the previous walls is invisible but still drawn on the stage. My question to you is: I want to change the bounds/maze every frame, how can I remove the previous bitmapdata so the character won't walk through the bounds of the next maze? Or is it possible to make an array from the different 'bounds'?
stop();
var isRight:Boolean=false;
var isLeft:Boolean=false;
var isUp:Boolean=false;
var isDown:Boolean=false;
var speed:int = 10;
[Code] .....
View 2 Replies
Oct 14, 2010
The instructions for installation only cover installation on "localhost". I'm wondering if I could use the development server for a small scale website depolyment with restricted traffic, from a commercial server, such as goDaddy?And if so, what''s the method? Do I download the package from Adobe to my local hard drive and install over the network, or copy the package to the server and install it online?
View 1 Replies
Sep 27, 2010
I'm using the RTMFP protocol to publish and play video and audio, but i'm with a little problem. I installed the FMS 4 Development Server in a Windows Server machine located in our local network and it works perfectly. In order to deploy our application, we have a remote server with a fresh install of the Ubuntu 10.04 Server, and the FMS 4 installed in this server. In other server we have the Java and Flex application, which will be used in the client browser.
The problem is that when trying to change the NetConnection url to the remote FMS server, which is the Ubuntu server, the netconnection can't connect to it. When changing to the RTMP protocol it connects, but with the RTMFP don't. I can't find any information in the log files or anything else.
View 9 Replies
Jan 4, 2011
I am writing a game where positions of an object are being exchanged between the two flash clients through a java server. The secnario goes simply like this:
PlayerA ---> Server : "Position X + Position Y+
"
Server ---> PlayerB: "Position X + Position Y+
"
and it works both ways of course.the problem here is that on my computer where i use "localhost" everything is fine and the data is exchanged seamlessly .. when I loaded the server on a remote host the message received strangely turns into something like "Position X + NaN" (i.e. the y position is wrongly parsed by the server), what is weird even more, is that sometimes, the message gets parsed correctly..the server is wrote in java and it is exactly the same source code that works on my machine that fails over the internet
View 1 Replies
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
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
Feb 8, 2011
I'm building an application using Flex 4 + Spring Blazeds Integration 1.5 + Spring 3.0.5 + Hibernate running on jboss-5.1.0.GA. I create a simple login form, and when a submit a string via remote object it works fine. But when a try to use an Object its simple doesn't work. Funny is that it even don't shows the Alert that a put! Also, if I remove the tag "RemoteClass" it sends to java but an error occur. Bellow is the code and configs.
My java class:
package com.controlefinanceiro.entities;
// imports
@Entity
[Code]....
View 1 Replies
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
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
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 10 Replies
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
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
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
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
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
Jan 23, 2010
Really puzzled by the flaky behavior of LocalConnection. Using a debug utility(LuminicBox) that uses localConnection to work.
When the page containing the swf is loaded in a browser locally , localConnection works.
When the identical page and swf are viewed 'live' on a remote site, localConnection fails.
View 3 Replies
Oct 22, 2009
I would like to do a URLRequest to a PHP file which contains xml, and the PHP file will be living on a seperate server from my flash file. I understand there are security issues in this sort of thing. figure out how to make this work?
View 2 Replies
Nov 6, 2009
I'm trying for making out application for vod.I want to know how a user can make his file readable by the AMS for vod when file is at different PC and AMS( includes swf and HTMl files) is at different PC.
View 1 Replies
Mar 27, 2010
I have inserted services.flv into [URL]. I am using Dreamweaver CS4, and all dependent files, including the flash video are present:
Untitled-2.html
services.flv
FLVPlayer_Progressive.swf
[Code].....
I am able to successfully use the "Live View" function within CS4. I am also able to successfully preview within IE and Firefox. I've put all files in the appropriate location on the remote server. All files are in my /wwwroot/, except the two files that are in the Script folder, which is in my root. My domain host claims flv files are supported, and Adobe technical support eperiences the same behavior as I, they can play locally, but not remotely. Adobe technical support claims the cause of the problem is the remote server.
View 1 Replies
Mar 31, 2010
i set FMS running fine. I have even enabled TCP port forward, not that i need it localy.the thing is, from other machines the FMS wont answer. FME is going
rmtp://192.168.1.100/live/livestream
FMS is in 192.168.1.100 (same machine)
if i go from another lan machine, it simply wont connect.. nor does Access.log relates to anything trying to connect to it. (from other machine, from same machine everything goes smooth)
View 5 Replies
May 29, 2010
I have been using flash for years deploying video for the web.For the life of me I cannot get my .FLV file to import into Flash from my URL.It's already on the server here is the address.I've always used this method.The only thing that is different is I'm now using GoDaddy to host my site instead of 1and1. http:[url]...........I do have the .F4V locally on my machine but I've never been able to get that to play from the remote server... meaning-
I import .F4V file locally into flash.I create a .swf file and place that in the same folder as the.f4v.I use GoLive to make my webpages.I create my webpage and import my .swf and .flv into the html webpage. It plays great locally on my machine.When I upload everything uploads. When I check it all out online, I get no video.
View 3 Replies
Feb 4, 2011
I have a 30 sec flash file that was converted from a .flv to .swf in flash CS5.I place the .swf file in Dreamweaver CS5.The file is only 57k the .flv was 3,560k. The flash plays perfect locally.When uploaded thru the "put" function with Dreamweaver the .swf file uploads along with the java and expessistall.swf. The flash will not display on the website.
View 1 Replies
Apr 8, 2011
I'm somewhat new to FMS. We're creating a chat application and using s remote SharedObject to keep everyone in sync about who is in the room. But despite the fact that I use the following:
_sharedObject.setProperty("groupList", groupList);_sharedObject.setDirty("groupList"); to force the shared object to update the list of who's in the room, for some reason it does not always update correctly when someone enters the room and adds themselves to the shared object. The problem seems to be that the SyncEvent.SYNC event does not always get sent all the time.
More troubling it that if the user closes the browser window or navigates to another page, NetStatusEvent NetGroup.Neighbor.Disconnect and NetGroup.MulticastStream.UnpublishNotify are not reliable to use to remove user's from the list. My assumption is that remote shared objects are just not that reliable in some cases. Should I use server side scripts to keep track of users and what groups they are in?
View 9 Replies
Oct 23, 2011
I have followed this link to republish my local stream to other local application instance : [URL]
i have used this script code into main.asc and it is working :
// Called when the client publishes
application.onPublish = function(client, myStream) {
trace(myStream.name + " is publishing into application " + application.name);
[Code].....
View 9 Replies
Oct 24, 2011
Ive been able to setup FMS 4.5 and stream RTMP videos locally from a webcam stream but if i try to access it remotely i cant get a connection. Ive forwarded port 1935 through to my local IP from my router but still no connection, what do i need to configure on the servers end to tell it that its behind an NAT etc. Do i just add the public ip to the hostname line in the fms.ini, or is there more i need to do too? Do i log into the admin panel and change the server name from localhost to my public IP
View 3 Replies