Latcho, Glen,

It's the 'Contents/Resources' folder.

So if you main movie does (for example):

loader.load(new URLRequest("movie2.swf"), new LoaderContext(false,
ApplicationDomain.currentDomain));

It will load the movie at:

myApp.app/Contents/Resources/movie2.swf

(I've just checked our Mac projector sourcecode... that's what's
working for us!)

HTH,
   Ian

On Tue, Oct 27, 2009 at 11:17 PM, Glen Pike <[email protected]> wrote:
> Hi,
>
>   I think it's relative to the project.app - the mac treats that as an
> "executable" - although this was on CS3 published cross-platform projector.
>  I had my project.app and projector.exe in the root of the CD and loading a
> swf file with the main application in, which in turn loaded files from a
> data dir:
>
>   project.app
>   projector.exe
>   main.swf
>   data/
>   --blah.xml
>
>   Hope this helps.
>
>   Glen
>
> Latcho wrote:
>>
>> Hello,
>>
>> Trying to publish a flash8 mac projector in CS4 turns out to be a tad
>> changed.
>> I published years ago in flash 8 on PC to a mac .HQX file and could put my
>> additional loadable swf files next to it.
>> Now in CS4 I'm forced to publish a mac .APP folder.
>> So this stuff will be used on a hybrid cdrom and loads several additional
>> swf's.
>> Anybody knows what the relative root is of the project when you load in
>> additional swf files ?
>> Am I supposed to add the additional loadable swf files next to the
>> project.app
>> or do I have to put them in the Resources folder on the level of movie.swf
>> and Flash Player.rsrc
>> CD:.
>> └───project.app
>> └───Contents
>> │ Info.plist
>> │ PkgInfo
>> │
>> ├───MacOS
>> │ Flash Player
>> │
>> └───Resources
>> │ document.icns
>> │ Flash Player.rsrc
>> │ icon.icns
>> │ mflv.icns
>> │ movie.swf
>> │
>> ├───cs.lproj
>> │ Localized.rsrc
>> │
>> ├───de.lproj
>> │ Localized.rsrc
>> ...
>>
>> Thanks,
>> Latcho.
>>
>> _______________________________________________
>> Flashcoders mailing list
>> [email protected]
>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>
>
> --
>
> Glen Pike
> 01326 218440
> www.glenpike.co.uk <http://www.glenpike.co.uk>
>
> _______________________________________________
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to