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


Similar Posts:


Flex :: Default Preloader Does Not Load The Images / Swf's Inside The Project

Apr 16, 2010

I have a flashbuilder project with a big image. The problem is that the default preloader does not load the images/swf's inside the project. Is there a way to preload them?

View 1 Replies

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

ActionScript 2.0 :: Ca'nt Load Images From Server

Aug 4, 2010

my flash gallery works fine locally, on my computer. but once i upload it to the host. the images wont load?

this is some sort of access restrictioin thing im guessing?

im using loadMovie()
the images are in the same directory as the swf.
// im using flash cs4, actionscript 2.0

View 2 Replies

ActionScript 3.0 :: Preload Project, But Wait For Said Project To Load External Assets?

Jun 15, 2009

I am working on this one project that has a couple of movieclips (already placed on stage) which have a custom class set to export via the Library. Each of those custom classes loads an external SWF using URLRequest().

Is it possible (or, what is the best way) to preload the whole project first, including the external SWFs?

View 7 Replies

Actionscript 3 :: Load Images Into Stage From Any Server?

May 28, 2010

Actually i have to load images into stage from any server,so tried using crossdomain.xml from my server root.though it throughs error

SecurityError: Error #2122: Security sandbox violation: Loader.content: http://sss/Player.swf cannot access http://ffff/images/logo-bg.jpg. A policy file is required, but the checkPolicyFile flag was not set when this media was loaded.at flash.display::Loader/get content()at SS4UPlayer_fla::MainTimeline/ss4uLogoCompleteHandler().

View 1 Replies

ActionScript 3.0 :: Images Doesn't Load From Server?

Oct 6, 2011

I'm trying to load xml-file, get addresses from there, then load images and finally put them in caruselBut it wokrs or desn't work dependin on where my swf file isWhen I run swf from my flash compiler it loads xml and images from server 1 and server 2.When I run swf from server 1 it loads xml and images from server 1 but not server 2.

View 9 Replies

ActionScript 3.0 :: Loader Will Load Images From Another Server - Get Error On Bitmap Operation?

Sep 23, 2009

I'm developing an app that currently is using Loader to get images from another server.This shouldn't currently work since we are still waiting for the owner of that server to put a crossdomain file in place.However, it does work -- sort of .

Loader can load the images fine, without an error.But then the app has a feature in which we are making a larger duplicate of the image to display in a sidebar, we do this in this manner:

var myBitmap:Bitmap = Bitmap(loader.content);

and when this runs we get a Flash player security error 2122, sandbox violation.So while I'm hoping all this will fix itself when the crossdomain.xml file is put in place,I'm confused as to why we only get the sandbox error when we make a Bitmap from the image, and not when we initially try to retrieve the image.

(Incidentally: is there a better way to make a "copy" of an image loaded by a Loader, and then change its width and height for simultaneous display in another part of the stage? I don't need to change its actual dimensions -- I just need to change its display width and height.)

View 2 Replies

Media Server :: RTMFP Unicast For A Video Chat Project Using FM Developer Server 4.0?

Oct 7, 2010

I am testing RTMFP unicast for a video chat project using FM Developer Server 4.0.During the testing I overloaded the upload traffic to make packets dropped rather than suffering delay due to retransmission.
 
However, I see it makes a significant delay and it looks like doing retransmission just like RTMP.
 
Do you know if there is an option in FMS to disable the retransmission or other configuration I have to consider?One thing I found is "Netstream.videoReliable=false; Netstream.audioReliable=false;" but it doesn't make any difference.

View 2 Replies

Professional :: Zoom Images In A Project?

Jan 3, 2012

I have an project that when you enter a certain number and click a ''enter'' button, it send you to an image (forest picture, desert picture, town picture, etc). In these pictures, I've hidded some object. In exemple, in the forest picture, there's some blue birds, red birds, green birds, etc. I want people to find them and click on them to get some information about these birds. The thing is that these birds are hidden. When I open my picture with windows viewer, i can zoom-in and find them with the little hand toolso everything is fine cause I can  find them. The problem is that when I export my project as an animation, we can't find the birds because we cant's zoom in. My question is, is there a way to zoom-in these images and navigate trought them (with the little hand tool) like we can do with windows viewer? Or is there a way to just Zoom-in my animation?

View 5 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

Actionscript :: Use Embedded Images In FlexLib Project?

Jan 14, 2011

I have a FlexLib Project with a embed class:

package
{
public class EmbedAssets
{

[code]....

And I have another Actionscript Project that use this FlexLib Project and add the Visual class on stage:

package
{
import flash.display.Sprite;
public class AsTest extends Sprite

[code]....

The image don't show up, just.I had debug the application and found the bitmapData of aa was NULL. But if I implement out of Lib Project, this work!In properties of projects ai tried a lot configurations on Flex Library Build Path -> Classes / Assets. But none work correctly.

View 2 Replies

Actionscript 3 :: Embeding Assets(images) In Project?

Sep 16, 2011

I am using flex sdk 4.5.1 and flash develop to compile my AS3 project. I have small images, about 12KB which is silly to load them using Loader class, so embeding is better solution.

However when this line at the top of my Main class is uncomented i get blank swf[URL]..(when i comment it out, the compilated swf is ok)

What could be the error. Why do I get the blank swf?

View 2 Replies

Flex :: After Exporting A Project, The Images Are Broken?

Oct 21, 2011

After completing building a flex project in Flash Builder 4.5, the project was exported using the File -> Export Flash Builder Project. After which some of the images stopped working (get the broken image icon).

View 2 Replies

ActionScript 3.0 :: Display Images From The Images Server As Long As The User Is Plugged Into The Domain

Jan 22, 2009

I have a flash file sitting inside of a web page in our company domain. There is another server (used to store images) that is part of the domain but is not running any web services (for security reasons). A folder on the images server is however shared in such a way that any site on the web server can display images from the images server as long as the user is plugged into the domain. For example, both I and my boss can pull up a web site on the web server and see all the information, but only he can see the images
because I have Vista Basic and no domain support. This is done via "<img src='\serverNamedirectory.'/>"

That's ok, but on this particular instance I don't want to display the image on the webpage, I want it in a SWF on the page. However the SWF can't seem to load the images even though the page it's sitting in could. I've tried tons of variations of URLRequests and Loaders, most resulting in security errors. Since most of the online discussions about these errors revolve around cross-domain access, I can't seem to find any tech support for our specific situation.

View 2 Replies

Flash :: Flex - Export Builder Project With Images?

Aug 23, 2010

I will not be hosting the .swf file and I would like to include images using Flash Builder 4. The images appear in a folder in the exported version and I'm not sure how to "embed" them into the .swf (so that I can deploy the file to sites like Kongregate, etc.)

Seems like it should be simple, but my Google fu is currently poor.

Edit: Note, I would like to continue using the Flex framework, which is what I am using now.

View 2 Replies

ActionScript 2.0 :: Making A Project To Pull The External Images?

Nov 5, 2004

I am making a project to pull the external images, but this total bad one, what I would like to know is, I make to pull 5 external images showing one loading before show the images, I only start to show the images when all the images already will be pulled. Somebody knows as to make? or some tutorial one?

View 1 Replies

Css :: Setting Up Flex / AIR Project Structure For A Large Number Of Images?

Sep 29, 2011

We build prototypes and demo applications in Flex 4.5.1 and AIR 2.7 for mobile and desktop use. These tend to involve a large number of full-screen .PNG files. Lately we have been looking at ways to segment our code for flexibility and multi-screen re-use. What suggestions do people have for segmenting the project and libraries such that compile times are minimal and images are easy to replace?

View 1 Replies

ActionScript 2.0 :: Building A Project That Dynamically Loads External Images And Audio Into It?

Nov 14, 2009

I'm building a project that dynamically loads external images and audio into it.The images in the external folder are numbered sequentially in the order they display as you click through them (1.jpg, 2.jpg, 3.jpg, etc). No problem.There is audio that is supposed to fade in a play with certain images. (1.mp3 fades in when 1.jpg is displayed.). No problem.Here's where it gets tricky... At least for me.Not every jpg has an audio file associated with it. The last audio that was triggered needs to keep playing until another jpg with cooresponding audio file plays, at which point the two audio files need to smoothly crossfade.1.jpg displayed => 1.mp3 fades in and plays.

(user clicks)
2.jpg displayed => 1.mp3 crossfades to 2.mp3.
(user clicks)

[code]........

View 5 Replies

ActionScript 2.0 :: Building A Project That Loads 30 Images In To Empty Movie Clips?

Apr 20, 2005

I am building a project that loads 30 images in to empty movie clips. I want one of the images to apear on top randomly. What is happening now is that the first swf in my loop always shows up on top.Here is a link to waht i am doing:Here is some code i am working with:

Code:
// Random range
function randRange(min:Number, max:Number):Number {

[code].....

View 2 Replies

Load Multiple Images Into A Scene And Then Cycle Through The Images One At A Time?

Nov 20, 2009

I am trying to load multiple images into a scene and then cycle through the images one at a time.So, here are the essentials what I've put together in AS3:First I set up a counter and a Loader

[code]....

Then, after loading a list of images from an XML file, I call a function that I called "createImages". This function then takes the list of images and creates a bunch of loaders:

[code]....

So far, so good! I now have a bunch of loaders each with a different name "img1","img2","img3" etc.

View 4 Replies

ActionScript 2.0 :: Attaching Multiple Images - Load Images One At A Time?

Jun 21, 2007

I have a photo gallery that loads many images using a for loop (image data is from XML file). Simplified code looks like this:

Code:
var photos_xml = new XML();
photos_xml.ignoreWhite = true;

[code].....

View 2 Replies

Actionscript 3 :: Flash Media Server To Make Project?

Oct 14, 2011

Im starting to learn about how RTMFP works in Flash, and I want to know what do I need to make this happen. I got this game, flash game, and I'd like to use RTMFP so other players can play versus/coop with each other.

Think of a RTS (Starcraft), I build units, some other guy do the same, and units fights with each other.

If I understand correctly, Cirrus is enough to make this happen, but I also heard some guys saying that FMS (Flash Media Server) is required for this, wich is, if Im correct, quite expensive at least for my low budget.

So, let say, I got N players, and they can connect with each other like in a regular RTS online game, is Cirrus enough for this?, or do I need to pay for FMS? I'd also want to record some data after the match is over, so I can give some points/gold/etc to each player

View 4 Replies

Professional :: Run Project (main Container SWF And Child SWFs) Into Another Container File Which Place On A Website?

Jun 17, 2010

I am facing a issue in Flash container. I am having a project which has main container which call different SWFs into it. Now I call this main container file into another container, and their problem starts. Many option doesn't work properly which generally have _root, _parent etc...
 
If I want to run project (main container SWF and child SWFs) into another container file which place on a website. I want to show whole project from this container file so what I need to do?

View 1 Replies

Professional :: Move Project To See The Not-project Area Around The Project?

Jun 21, 2010

I cant "center" my project, like you can see its "fixed" (yellow lines) in the left side and I cant see "invisible" part of project... (area around the project). how can I move my project so I can see the not-project area around the project. (picture 2).

At the moment situation... (cant see that area around the project)
http://img19.imageshack.us/img19/1186/68553623.png

View 2 Replies

ActionScript 3.0 :: Load A Number Of Images Eg 4 Images Animate?

Oct 2, 2010

I am using actionscript 3. I can load an image in a class but how do Iload a number of images eg 4 images that animate.?These 4 images are a walking sequnce of a character. I am unclear after googling an loading multi images in as3( just love google).

Loading a single image I load this into a loader Once loaded I load the image into a bitmap and add to a sprite I then add the spite to the stage Q)Now for 4 related images I load 4 loader or 4 sprites or 4 bitmaps or do every thing 4 times?I want to do collisions eventually and I need bitmaps but bitmaps seem useless to use other than collisions.Googling for answers isnt helping me clarify this!

[Code]...

View 11 Replies

ActionScript 2.0 :: Unable To Load SWF Into Project

May 1, 2011

I have create a 360 mouse control panorama view in swf format. I decided to load my swf into a container called "loader" to hold the movie's size and location so that it wont appear on my buttons but it failed. I hav try the same way to load other swf but it works.[code]...

View 4 Replies

Professional :: Publishing .fla Project Including Client - Server Socket Connection

Nov 20, 2010

I have designed with Adobe Flash Professional CS5 a .fla project that integrates a client - server connection. After publishing it, I have the following issue:- when running the generated .exe file for Windows, then the connection to the server works perfectly- but when I am running the published .html file, then nothing is sent to the server.

I have tried to change the Publish Settings. When setting the Local Playback Security in Flash menu to "Access network only" instead of "Access local files only" then the last packet that was send using the .exe file is resent once and that's all (the html client does not receive the response from the server and the next connection attemps generate data transfer). I guess I have to change some security settings somewhere but I didn't find which.

View 1 Replies

ActionScript 3.0 :: Add Child Images From A Class?

Jul 27, 2010

I'm having trouble adding images to the screen from an AS3 class that's being called from within a flex application. I'm writing the application using flash builder CS5.

As far as I understand it, display content is added to the screen using the addchild() method of the display object. Every which way I try to add an image to a display object I get an implicit coersion error from image to whatever.

Is there a specific set of steps I need to take?(i.e. wrap the image in a container and then add that) Or is there another way to display an image on the screen programmatically?

This application is for a game and I need to be able to display these images via a class that handles the tiling. I've been able to work around the problem so far by declaring the images as native mx:Image flex components and then referencing them via my program, but that's only suitable as a temp fix. Is there some other way to display the images from actionscript?

View 5 Replies

ActionScript 2.0 :: Cannot Load An XML-based SWF In A Flash Project?

Feb 6, 2008

My problem seems fairly simple, however, due to my limited experience with Flash I'm having some difficulty with it. Anyway, here is my problem: i'm trying to use a Photo Gallery written in Flash. The source files for it could be found in the link below:

[Code]...

it's just so strange that merely calling the .swf from the same directory in a different Flash project is totally making this application, useless. As I mentioned earlier, I'm a beginner or less, at Flash, so please bear with me if my problem seems dumb. Nevertheless, my deepest gratitude for anyone that can help me out with this problem.

View 3 Replies







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