ActionScript 3.0 :: UILoader Not Working Remotely?
Nov 30, 2009
I have a UIlLoader component that loads external images okay locally, but when i tested it remotely it doesn't work. Below is the code i used. I have a movieclip called content that holds my UILoader component and beside the loader is five buttons that when clicked....loads in my images.
Code:
// Listeners...
content.maryPic_mc.addEventListener(MouseEvent.CLICK, loadPic);
content.lemonPic_mc.addEventListener(MouseEvent.CLICK, loadPic);
content.orangePic_mc.addEventListener(MouseEvent.CLICK, loadPic);
[code]....
why this only works locally? I have doubled checked the directories and for the life of me, i can't work it out!
View 3 Replies
Similar Posts:
Feb 16, 2011
I don't have a sking on my f4v file, it doesn't play in the server but it plays locally[code]....
View 1 Replies
May 18, 2011
We recently updated to ColdFusion 9 (from 8) and Flex 4 (from 3).
Now receiving below error when attempting to load Flex portion[code]...
Do we need to re-export the Flex project to fix problem or maybe code from /flex/remoting-config.xml needs to be updated?
View 1 Replies
Jun 11, 2010
I have a couple of methodology questions concerning an .fla file I'm working on. I made a flash gallery here. As you can see online the images fade in as they are loaded dynamically via the loadClip() method.
I would prefer them to load more like this. Is it possible to load an image to a variable instead of a MovieClip that exists on stage via actionscript?In other words, at the moment the script loads images as you go. I would prefer if I loaded all the images first and then ran the script to render, view, and navigate the images.
In addition to this if you download the zip file with the flash file, source code, and example you'll notice that the position of the images and the text is more accurate than when viewed in a browser. I thought flash was a self-contained entity and that it would run identically on all platforms / browsers / online / offline / remotely / locally.
I know a lot to ask in one post, but I think the script can benefit you as well as me if you just download it and take a look. I'd love to hear suggestions as to how to remedy the position of the images and text.
View 1 Replies
Jul 15, 2010
I have a zoom slider, code is in red. I have buttons on stage (site39_mc). The zoom slider can be moved manually, that works fine. I need for site39_mc to move slider to 100% scale, no matter where it is currently located. The zoom slider goes from 50% to 200%.Trying to use the code below I get an error._root.slide_mc.onClipEvent(load){ The error is asking for a field name after the "." I keep looking at it, and this is proper reference. URL...This is the site where I am trying to use this code. To see what I mean, click on a gold polygon on map. The map will snap to 100% and center on polygon. But the zoom slider stays at 75% til you manually move the slider.[code]
View 2 Replies
Jan 26, 2011
I create a movie on imovie. I take it to Flash(CS3) and publish it as an swf file I then install that file in Dreamweaver. All is good I save and preview it locally. the file's root folder is images and same remotely I upload all including the HTML page and when I view the page, the place where the file is is blank.
I have uploaded this many times and it just wont work.
View 8 Replies
Dec 6, 2009
I'm looking for an AS3 function to get the filesize of a file that is being hosted on a remote webserver. Tried to find some functions but didn't succeed.
View 3 Replies
Nov 13, 2010
For classroom, how do I actually able to remotely control 100's PC from a master application? Like control the student who also using Flex application is possble with XMLsocket?
View 3 Replies
Nov 13, 2009
I've discovered something odd. When I load an swf from another server into an object/embed, it seems to kill the getURL function in Firefox and Safari, but not in IE.
View 1 Replies
Dec 3, 2009
I'm trying to make an application, should allow admins to edit XML variables remotely. So you don't need to upload the file every time you edit it! I though, modifying a guestbook file could work: Variable Editor, as you can see, it loads the variables into the board and you can also edit it, the first variable get edited but the 2nd one doesn't, strange
ActionScript Code:
var currPage = 0;
var showAmount = 10;
previous._visible = false;
createMessage._visible = false;
createButton.onRelease = function() {
[Code] .....
View 0 Replies
Jul 13, 2010
I have a zoom slider that works properly. Yahoo! Now I need to be able to control the slider from various buttons located on the stage. The zoom slider goes from 50% to 200%. When a button on the stage is clicked I need the slider to go to 100%. Here is some code...
Code:
stopAllMCs = function(){
map_mc.site39_mc.gotoAndStop(1);
[code].....
View 0 Replies
Nov 19, 2009
I have a zoom slider, code is in red. I have buttons on stage (site39_mc). The zoom slider can be moved manually, that works fine. I need for site39_mc to move slider to 100% scale, no matter where it is currently located. The zoom slider goes from 50% to 200%.Trying to use the code below I get an error._root.slide_mc.onClipEvent(load){ The error is asking for a field name after the "." I keep looking at it, and this is proper reference. [URL]This is the site where I am trying to use this code. To see what I mean, click on a gold polygon on map. The map will snap to 100% and center on polygon. But the zoom slider stays at 75% til you manually move the slider.
Code:
stopAllMCs = function(){
map_mc.site39_mc.gotoAndStop(1);
map_mc.site40_mc.gotoAndStop(1);
};
[code]....
View 2 Replies
Oct 11, 2005
My main movie loads "contact.swf" which has the email form in it that references "email.php".The form gives the completed message locally when running from the main movie but when I upload it nothing works.
View 5 Replies
Jun 11, 2009
I'm using a flash video player plugin and everything works great locally, but when I upload everything on the server the videos are not played...
is it about flash player security restrictions ?
View 1 Replies
Oct 30, 2009
i know this sounds stupid but just can't do it, how do you make another object appear on the press of another button or movie clip?
View 8 Replies
Aug 14, 2009
I've made a little game in Flash, and I want it to have an online leaderboard. But after looking into it, it seems it's complicated saving a simple .txt file because of security, and the tutorials I have tried to use, using PHP to do it, have not worked, not even the excercise files. So I was wondering if anyone have either a working tutorial or code to save a simple string in a txt file, or know another way of saving data remotely?
View 13 Replies
Sep 30, 2009
I have a preloader which loads an external swf. When I test locally, everything works fine, but when I test remotely: Preloader runs.External swf doesn't load into preloader. I am using the contentPath to load my external swf, and the only as2 I am using is: on (complete) { this._parent.loaderPB._visible = false; this._parent.mcbgdloader.visible = false;} to hide the progress bar and graphic used in the preloader.
I hope I provided enough info. The preloader is a regular fla and the external uses screens.
View 1 Replies
Oct 4, 2010
Can you access the FMS Start Screen to verify installation remotely? We have a new FMS 3.5.4 installation set up by our IS team, but cannot remote directly into the box to verify the installation per the installation guide. Is there a URL that can be used to access the FMS Start Screen if FMS was installed with Apache?
View 1 Replies
Nov 8, 2009
I've embedded a virtual tour on one of my client sites.
The site is hosted by Slicehost, and as you can see the load times for the Flash movies are very slow, so my idea was to serve the swf files from Amazon S3 Europe.
To test it, I have all swfs uploaded to the same directory / bucket on Amazon, while the index.html and p2q_embed_object.js files reside on my local machine. The js file is changed to refer to the Amazon-hosted swfs. The first swf loads fine, but the others don't. What am I doing wrong? Is there a better way to do this that would allow me to serve my Flash assets from elsewhere?
View 1 Replies
Jul 10, 2010
I have zoom code here
Code:
onClipEvent(load){
scrollMin = _root.range._x+_root.range._width // minimum _x value possiible for scrollbar
scrollMax = _root.range._x // maximum _x value possiible for scrollbar
[code]....
Do I have to copy and paste all of the slider code into the frame where my btns are? _root.srchMC.dataMC.site1_btn.onPress...
View 2 Replies
Oct 2, 2011
We are working with FMS 4 server for a while for a 2 directions video application, and it works great with rtmp. We now want to use its rtmfp abilities after we used Cirrus for testing in the last few days and it also worked well. Locally - everything is working fine, but when we try the application on the remote server - we have some problems.
[Code]....
Again, it is working beautifully both locally and with Cirrus. RTMP also works well with the remote server.
View 3 Replies
Apr 2, 2012
Starting with a blank project, when I load a SWF which has a dependence on ISomeInterface defined in a swc which is compiled into my blank project
var lc:LoaderContext = new LoaderContext( true, ApplicationDomain.currentDomain );
var loader:Loader = new Loader();
loader.load( new URLRequest( "Some.swf"), lc );
[code].....
View 2 Replies
Jul 18, 2011
I have tested other embedded videos and they will play remotely so I know the hosting site is working.Currently,the live video will play locally and remotely from this computer where all the files are stored but only the skin is visible on any other remote computer's web browser.
View 2 Replies
Apr 24, 2011
I can't see how to do this because silverlight is compiled. I don't want to load a video, I want to load a component/object that will be instantiated at runtime. Flash can easily do this as movieclip is also an component/object.
View 3 Replies
Mar 16, 2011
JPG images saved in Photoshop in highest quality gets blurry when loading them dynamically through uiloader in Flash. Why, how can I maintain highest quality?
View 1 Replies
Sep 18, 2008
I am looking to code a tooltip for a UILoader. The text for the tooltip will come from a parsed RSS feed.I see several examples of how to do this in AS2, but it seems that it was left out of AS3.Is there a component that will achieve this?
View 13 Replies
May 7, 2010
this might be a very simple thing to do, buuuut... I've got two UILoaders on my stage, when you click various buttons it makes various pics appear in them, I want to put a button on my main stage that would clear the images out of the UILoaders when it was clicked, and would just leave them blank. Is this possible?
View 1 Replies
Feb 21, 2011
When I use the UIloader it loads my first swf no problem but when i use the list item to load another swf it loads it in at a massive size. I thought it wasnt loading until I increased the stage. The swf is at a normall 550 x 400 so not sure why its made it 5 times bigger
View 3 Replies
Jan 19, 2009
can i use a dataprovider with a uiloader. if so is there a special trick? because i can't get it to work
View 0 Replies
Oct 5, 2009
I'm trying to load a bunch of symbols with UILoaders into a TileList. The code executes without error but the image that I was loading into the UILoader doesn't show up. I'm looping through an array and creating a new object (the one with the UILoader), setting the UILoader source and then adding it to the TileList.
View 1 Replies