Loading External swf AS3 files into an inserted Flash in Storyline

Sep 06, 2012

Hello, Does anyone know if I can first Load a Flash file into Storyline and from there load external .swf flash files into that Flash File's movie clip.  

I have it working outside of Storyline as a main Flash file that simply loads in 5 chapters, each only when selected from that main Flash File's menu. 

This is a best practice before Storyline to separate the files to create faster downloads of the main content, and does not require any preloading of these external assets prior to needing them.   If there were 20 external files, and I now have to put them all into one file and use Scenes, then the one flash file is HUGE and takes long for the end user to download.


I want to put this Flash Asset onto the flipboard with an Avatar, and the file works great until time to load the files.

I went into the published folders and found where Articulate/Storyline put and renamed the main Flash Asset, so that is where I copied all of the "Chapter" Files to load.

This is all AS3, so I think it should work since its the new Articulate Storyline.

Please help!

Thanks,

Kyle G. Main

4 Replies
Justin Grenier

Good Afternoon, Kyle.

I see two successful but different strategies in this forum post:

  1. Peter recommends finding a third-party editing tool to combine your multiple .SWF files into one.
  2. Jennifer states that she was able to place all of her Flash resources on a web server and insert the main .SWF file as a Web Object.

I'd recommend trying your first preference and, if you have trouble, attempting the other.

Please let us know how it goes.  Thanks!

Kyle Main

Thanks so much for the fast feedback!!!

Phil, I will explore your option later (I may have the files next to the main Flash file in the exported Storyline files, but that may be the wrong place

Currently I used one of the supplied strategies from Justin which was to use webObjects, but I will NOT want to put these files into one, because that will create a very large file, and the end user may only need to access one of 5 files, so why make them wait for download times of everything when you can serve up as-needed.

I am very happy with the solution to use webObjects.  At first, I set the webObject link to the default index.html page that holds the main .swf Flash file, and that did NOT scale the content to fit in Storyline's smaller window area where I placed the webObject.  I then directed the link directly to the main .swf Flash file and it scaled in Storyline just as I hoped and this time ALL of the external Flash files loaded in as the should.

If you are going to run this Storyline Learning App online, then I Highly do not recommend putting all of the files into one if they are already separated because the initial load time is Faster when they are not all in one.

If you are hosting files locally, then it shouldn't matter if the file was large and all in one.

My Learning App will be online, so file size and optimization is very important to our end users.


Thanks,

Kyle G. Main

Kyle Main

Phil Mayor said:

I suppose it really depends on where the file is looking for your external files, if it is a hardcoded location then put them where they should be, if it is a folder in the same location as the swf file then add it to the root directory of the published course


Much better Phil!  Your solution worked!  I no longer had to have the external .swf Flash files located next to the flash file I created when published with Storyline ... Instead the external .swf Flash files had to be at the root folder where the main "STORY" flash file is located.

Thanks, this is a better solution to me, than using webObjects since I want to keep testing without needing to upload to the web first each time with every new change.


Thanks,
Kyle G. Main 

This discussion is closed. You can start a new discussion or contact Articulate Support.