Actionscript 3.0 :: CHILD SWF Can't Load Xml From SAME Server

Mar 3, 2009

I have a main swf file (AS 3). A button opens a child swf (a photo gallery in AS 2), on top of the main swf. The child swf should load an xml file, to get the photos.Everything is on the SAME domain.Main swf, child swf(gallery.swf), images.xml are in the root of the server.Photos are in a folder called gallery.

What happens is that, when I access from the main swf, calling the child swf with the button, the photo gallery opens perfectly but loads ONLY the first photo, the descriptions of ALL the photos, ALL the thumbnails...but when I click the thumbnails to see them, the other photos can't be displayed/loaded?!...only the 1st photo is displayed/loaded

If I create a separate html page, with only the photo gallery swf, everything works perfectly. Every photo is loaded and displayed[code]...

View 2 Replies


Similar Posts:


ActionScript 3.0 :: Child SWF Can't Load Images When Project Is On A Server

Aug 2, 2011

I have a main.swf and main.as that loads child.swfwhen the child.swf is loaded an array of pictures sent to one of its functions to build a gallery.[url]...localy (from my flash CS5 publisher and published SWF/HTML) every thing works fine.when I upload the project to myweb server and run the site the child.swf is loaded but it don't load any picture.

I've added the site's folder on the server to the servers' flash player security pannel and tryd to add " flash.system.Security.allowDomain("*");"to my project even thogth its the same domain, with no luck

View 4 Replies

Flash :: Load Video From The Server Load Documents PDF / DOC From Server

Jul 3, 2011

I want to build a software in Flash which can do below things Load Video from the server Load Documents PDF/DOC from Server

View 1 Replies

Media Server :: Medium-load Chat Server Using Shared Objects Segfaults Every Few Hours?

Aug 25, 2009

Medium-load chat server using Shared Objects segfaults every few hours. Runtime size has been increased to 30MB (this saves it from crashing every 10 minutes). I have the core dump but don't understand what it means.

View 9 Replies

ActionScript 2.0 :: When Pages Load Content Will Be Read From ABC's Server Not XYZ's Server

May 25, 2009

I will go to URL... but when the pages load the content will be read from ABC's server not XYZ's server.The users will use the data on XYZ's website not realizing that the content is actually coming from another site.

View 2 Replies

Media Server :: FMS Admin Console Won't Load - Server Not Found

Jul 18, 2011

Randomly on Sunday night the FMS Admin Console which you can access via [URL] stopped working, as in it would not load. It times out and Firefox says 'Server Not Found' It was working fine on Sunday morning and has been doing for a year now, I rebooted the server and that did nothing. I have no idea why it will not load as the server runs fine and I can still stream and everything.

View 20 Replies

ActionScript 3.0 :: Multiple Buttons To Open Child Swfs Then Be Able To Close The Child From Within The Child?

Mar 25, 2009

I have a picture on the stage that has multiple items that have hotspots/links over them that should open a child swf on top of the background and show details about the items. then have a button in the child swf itself that removes the child from over the background so the user can click on another item etc.I found this code in someone's post and I am trying to modify it so that works for multiple swf files...it currently works for a single swf.I wan to pass the name of the button in front of the .swf in the URLRequest to have the same name as the instance name of the referring button. But I can't figure it out. Here is the code I am using on the stage

View 2 Replies

ActionScript 1/2 :: Load Preloader From Child Swf?

Dec 16, 2010

The following preloader and code to laod the first swf is in the fiest frame of the main movie.

[Code]....

View 1 Replies

ActionScript 3.0 :: Load Swf In Parent From Child?

Jun 24, 2011

I have a parent that loads a child that contains a ScrollPane. The ScrollPane then loads another child (timeline) that has buttons. I would like to be able to click the button within the timeline and have it load the SWF in the ScrollPane child. Making it easier to visualize..

View 0 Replies

ActionScript 3.0 :: Remove Child Before Load A New One?

Dec 26, 2011

So I have 1 MC called "mc1" what I want to put some mc inside. I was using this to load some MC.[code]and in some other swf, it's trying to replace the content with another one.[code]so how to remove the child before I load a new one? with these the child keep stacking and I don't know how to remove the child from where.

View 4 Replies

ActionScript 1/2 :: XML Load Limited To 20 Child Nodes?

Mar 30, 2009

I use the attached code to load the attached xml file, but it will only load the first 20 nodes. I have moved the 20th to the 21st and the 21st up to the 20th and it will still load the first 20, so it isn't a formatting problem.

View 14 Replies

ActionScript 3.0 :: Unload Child After A Load Request

Nov 4, 2009

I have a drop down box that is loading in different movies when selected.  But when I select the second option in the drop down box, the movie gets loaded on top of the next movie. I saw that there is a removeChild(), but i'm having trouble finding where to apply it in the code below? If I put it in the function, it creates errors of course.[cod]e....

View 3 Replies

ActionScript 3.0 :: Load Xml Child Into Dynamic Text Every Second

Mar 1, 2012

When using the timer class do where do i put what needs to be executed every tick?

View 1 Replies

ActionScript 3.0 :: Remove The Child And Load The Next Text?

Feb 25, 2010

How do I remove a child for good?

I am loading some text via xml and when I go to remove the child and load the next text, the next set of text goes on top of the old set of text because it is still in the sprite that was used and is being reused for the new text.

I used removeChild(masterHolder); and then called the function which loads the next xml text.

View 3 Replies

Media Server :: Flash Media Server Taking Forever To Load Large Files

Jan 12, 2011

We purchased FMIS and we are encoding large 15+ hour MP4 recordings using flash media encoder. When opening these large files for playback, which have not been opened recently  the player displays the loading indicator for up to 4 minutes! Once it has apparently been cached on the server it opens immediately from any browser even after clearing local browser cache. So a few questions for the experts

1. Why is it taking so long to load the file. Is it because the MP4 metadata is in the wrong format and the file is so huge? I read somewhere that Media Encoder records with incorrect MP4 metadata is that still the case?
 
2. Once its cached on the server, exactly how much of it is cached. Some of these files are larger than 500mb.

3. What fms settings do you suggest I change. FMIS is running on windows server R2 64 bit, but FMIS itself is 32 bit. We have not upgraded to the 64 bit version. We have 8GB of ram. Is it OK to set FMS cache to 3GB. And would that only have enough room for 3-4 large files, because we have hundreds of them.

View 1 Replies

ActionScript 3.0 :: Load Child Swf In Different Domains And Passing Params?

Mar 24, 2011

I have a parent swf that loads a child swf and attempts to pass some data into the child.

The process works fine if parent and child are located in the same domain (lets say domainA.com).

As soon as I place the child swf into domainB.com and try to load it, it will load in the parent, but it is not loading the values.

Crossdomain policies are in place (the child does load!), but the params are not sent.[code]...

View 0 Replies

ActionScript 3.0 :: Swf With Mutliple Buttons To Load Child Swfs That Can't Get To Work?

Mar 26, 2009

here is the scenario..I have a picture on the stage that has multiple items that have hotspots/links over them that should open a child swf on top of the background and show details about the items. I found this code in someone's post and I am trying to modify it so that works for multiple buttons ...it currently works for a button loading a single swf. The name of the instance name of the buttons is the same as the name of the swf file that they load so I thought I could do something that when the button is clicked it would pass the name of the button into the URLRequest but I can't figure it out. Here is the code I am using.

////////////////////////////////// code from the actions layer
var bioloader:Loader;
var biocontainer:MovieClip;

[code]......

View 2 Replies

Actionscript 3 :: Load An External Swf To Main Stage From Instanced Child Class?

Apr 15, 2010

I am trying to get an instance of a class to the load an external swf and show it.So far I have the following:

1) I wrote a class that uses the Loader class to load an external swf "loadExtSWF".
2) I have a fla named "MainSWF.fla" that uses a document class "MainSWF.as".
3) I have the MainSWF.as file that instances "loadExtSWF" and calls loadExtSWF.startLoad to load the swf.

This almost works. The instance of loadExtSWF loads the external swf, but the swf is not displayed.If I replace the fla's document class with loadExtSWF (this has an empty constructor) instead of MainSWF, and run loadExtSWF.startLoad, then the external swf is loaded and displayed.[code]

View 1 Replies

ActionScript 3.0 :: Using Child Navigation To Load AddChild Main Time Line

Jan 23, 2009

Using Child Navigation to load main time line.I am new to AS3 and have done pretty well but have been caught up this area.I have been loading swfs into a loader (imageLoader) which has been added to the stage using addChild. Then with buttons and functions I load other swfs into the same loader which replace each other. I now have an swf "testProject3a.swf" loaded into (imageLoader) which has icons for navigation and when each icon is clicked I need it to load another swf into (imageLoader) and replace it's self "testProject3a.swf" with "portalB.swf".I've tried adding removeChild code to the loaded swf but it removes the original (imageLoader) and the other buttons have nothing to load into.[code]

View 3 Replies

ActionScript 3.0 :: Load Frame In Main Scene From A Button In Child Movieclip?

Sep 11, 2010

I wanted to create a portfolio in flash, so I designed the layout in photoshop, with different webpages in different groups. So groups i created: home, about, porfolio, contact, affiliates, topbar, menu.I use Creative Suite 3 or CS3I then imported the groups into flash as movieclips, using the import to stage function. here is the image of the main scene in the flash. (SEE IMAGE 1st thumbnail)I created a new layer on top of all the layers and used labels at equal intervals to differentiate between pages.here's the image depicting the same.(SEE IMAGE 2nd thumbnail)Now in the home movie clip, i made all the text layers as movie clips to make button animations and assigned sounds and actions to them i.e. rollver, rollout andclick events. here's the swf.(PM ME FOR SWF)I want to know the code or method to load the frame labelled ''about'' in the main scene when i click on the movieclip button 'about' which is in the movieclip 'home'. Here's the code i tried for the first 'about' button, but it returns error "1120: Access of undefined property event."

code:
ActionScript Code:
var OverSound:roll_over = new roll_over();

[code].....

View 0 Replies

ActionScript 3.0 :: Load Swf From A Child MovieClip Button Into A Holder On Parent Stage

Apr 10, 2011

I am trying to load a swf into a holder movie clip from the child movieclip.It's parent has a holder that i want to load a swf into.I am navigating from within a child clip.It would be nice to have the swfs load from an external xml file but it isn't mandatory.

View 3 Replies

ActionScript 3.0 :: Load External SWFs - Parent Document Which Essentially Loads One Of The Ten Child Documents Onto The Respective Key Frame

Apr 29, 2011

I've got this interactive poem I've been working on for a class. I've basically finished each "episode" seperately. I made a parent document which essentially loads one of the ten child documents onto the respective key frame. Here's a sample of the code for the first key frame of the parent document:

stop();
import flash.net.URLRequest;
import flash.display.MovieClip;
import flash.events.Event;
stage.addEventListener(Event.ENTER_FRAME, LoadSWF2);
[Code]....

Well Two things are messed up about it, well my "ChildTimeline2" variable will off and on assosciate itslef not with the main time line of a child document, but of a nested symbol inside said child document. Even worse, the "gotoAndStop();" command I will give sometimes applies to Parent document... yaay! but often it will apply to the child document. The end result being this horrible looping moment where you are stuck in one child document for all time.

I wish I could attach the documents but they exceed the 300KB. how I can get Actionscript to listen fro the last frame of the maintimeline of the child document, or tell flash to gotoandStop for the parent document

View 4 Replies

ActionScript 2.0 :: SWF Load A XML On An Other Server

Sep 19, 2009

All sources availbale here URL...MY GOAL :from a flash(swf) on server A, I want to download an XML file on server B.MY PROBLEM : it doesn t work

1 - I use the Class URLLoader
2 - I set both these domains ok with Security.allowDomain() method
3 - I upload a "crossdomain.xml" (in folder and root server) file who allow crossdomain communication (adviced by Adobe)

View 1 Replies

Can't Load A Picture On Server

May 6, 2009

Can't understand why: loadMovie("pict/my_picture.jpg",movieClip); the path seems to be correct, but Flash can´t load the picture. It works locally, although, but not on the server.

View 1 Replies

ActionScript 3.0 :: Load Mp3 When Put On Server?

Aug 1, 2009

I have trying to play a mp3 file with the code below.

When i compile it, it works fine but when i put the swf in any php file and run on my server eg. [URL]
 
It does not plays the sound. s.

var audioPath:String = "audio/Baalim.mp3";  txtError.appendText("AUDIO PATH:"+audioPath);trace("AUDIO PATH:"+audioPath);
var snd:Sound = new Sound();snd.load(new URLRequest(audioPath));snd.addEventListener(IOErrorEvent.IO_ERROR,

[Code].....

View 5 Replies

ActionScript 3.0 :: RSS Reader Won't Load On Server?

Jul 24, 2009

I have an RSS reader that displays my blog feeds on my flash website. It works if I view the website remotely by hitting F12, but it doesn't work if I view it through the website on the server. Why is that? Is it an issue with the server? I also have a guestbook and contact forms on the website, and it takes at least 20 minutes before the guestbook updates with the new entry or I receive the email from the contact form.

Code:
blogspot_txt.htmlText = "<u><a href='http://run2savelives.blogspot.com' target='_blank'>View TheRun4Life Blogspot</a></u>";
var rssReq:URLRequest = new URLRequest("http://run2savelives.blogspot.com/feeds/posts/default?alt=rss");

[Code].....

View 9 Replies

Data Integration :: Can't Load XML From Server In IE

Sep 4, 2006

Have a flash, that loads XML from server. Flash uses it to built up a site menu. Both xml and flash reside on the same host. When I try to run server locally - everything works. But when I try it online, XML is loaded only in FireFox, but in IE it can't be loaded. Flash movie itself loaded normally (I can right-click on it and see standard menu). I put my host into Trusted sites in IE and set very low security/privacy. I don't have any firewalls or proxies. I also put my host and flash movie into Trusted source in Flash Settings Manager.

View 4 Replies

Media Server :: How To Load A .swf Into All Client

Nov 30, 2009

I have to load a .swf file in all connected clients by pushing a button from another client

View 23 Replies

Media Server :: How To Load Test

Jul 1, 2010

does anyone know how to test how many users can use a fms application simulationsly?? Are there any automated tools?

View 1 Replies

Xml :: Load XML From Outside Web Directory On The Local Server?

Jan 26, 2010

Is it possible for flash to access data from outside of the root directory of the server it resides.i.e.

Root directory = /var/www/httpdocs

SWF = /var/www/httpdocs/flash/file.swf

XML = /var/www/xml/file.xml

View 1 Replies







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