Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 07-17-2008, 07:55 PM   #1
rawrbot
Registered User
 
Join Date: Jun 2008
Location: CA
Posts: 8
Default [AS3] creating and loading a local swf library

I am making an RPG game largely inspired by the flash-based SRPG Dofus (dofus.com) and I am having trouble creating a storage structure for the potentially vast collection of characters, items, equipment, etc. Since the user will download the game to play it, I thought I could store everything in a library of .swf files (like Dofus does). However, I've found surprisingly virtually no documentation on how to do this.

So my question is really two-fold.

My first (a hopefully easy) question is: I've read about how to load swf's from url's, but how do I load local swf's? Do I address these external swf's by their relative positions to the primary swf? (i.e. LibraryFolder/Monsters/Monster1.swf)? I know this is really simple and you're probably thinking "wow, lazy jerk... just try a few things out!" but I'm asking because a) it's a two second question, and b) I can't get my current one to work right now, so I want to know if this is the problem.

My second question is: how can I create these external swf's from my current project? Do I have to make separate .fla files for each movie clip? Or is there some way I can export different movie clips into different .swf's?

Sorry if this question's really novice and I could've found it by searching the forums. I have searched various forums and come up dry. I have a feeling my answer lies somewhere in these forums, but I just don't know what I'm looking for...

Last edited by rawrbot; 07-18-2008 at 03:30 PM.
rawrbot is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
HTML/Flash... loading in a external swf full page tommyh85 ActionScript 2.0 2 04-10-2008 10:07 AM
Problem loading in SWF into loader object .NET ActionScript 3.0 1 02-08-2008 01:29 PM
Loading swf into outlined mc window Paulskii ActionScript 2.0 1 11-19-2007 07:12 PM
Loading a swf movie at Stage size interlou ActionScript 2.0 3 05-04-2007 11:16 AM
loading single assets from a shared library analogtranslator ActionScript 2.0 0 01-03-2006 02:34 AM


All times are GMT. The time now is 11:55 AM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.