[Extendflash] importPublishProfile
Jesse MacFadyen
jessem at ns8corp.net
Thu Aug 11 10:19:15 PDT 2005
It will work as long as you always move the neccessary classes to the USER'S classpath, Which means you have to know it before-hand or prompt the user for it.
I actually hadn't thought of this approach, it seems like a simple solution. The only concerns I would have would be the possibilty of overwriting a class or creating conflicts with what else was there ...
Cheers,
Jesse
----- Original Message -----
From: Martin Thornalley
To: ibis at cinestarfilmworks.com ; extendflash at flashguru.co.uk
Sent: Thursday, August 11, 2005 1:53 AM
Subject: RE: [Extendflash] importPublishProfile
I don't think this will work because after importing the publish settings there are no classpaths defined not even the current directory or the special folder $(LocalData)/Classes, so any packages referenced will not be resolved no matter where they are copied to.
------------------------------------------------------------------------------
From: extendflash-bounces at flashguru.co.uk [mailto:extendflash-bounces at flashguru.co.uk] On Behalf Of Ibis Fernandez
Sent: 10 August 2005 22:11
To: extendflash at flashguru.co.uk
Subject: RE: [Extendflash] importPublishProfile
Can't you just use the file access api to read any given file and just write a new file at the appropriate location? Seems to me like that would be the easiest approach in the first place.
- ibis
------------------------------------------------------------------------------
From: extendflash-bounces at flashguru.co.uk [mailto:extendflash-bounces at flashguru.co.uk] On Behalf Of Jesse MacFadyen
Sent: Wednesday, August 10, 2005 3:04 PM
To: extendflash at flashguru.co.uk
Subject: Re: [Extendflash] importPublishProfile
Yes I went through the same thing! This is a flash bug.
The only way I was able to achieve this was to write an app to put the desired classpath in the registry, call my jsfl to publish the entire project, then restore the registry.
Windows only unfortunatly, I am not sure how Flash stores the user-setting-classpath in a Mac environment.
In Windows the user classpath is stored in :
Registry.CurrentUser.Software.Macromedia.Flash7.ActionsInspector["Package Paths"]
Hope this helps,
Jesse
----- Original Message -----
From: Martin Thornalley
To: extendflash at flashguru.co.uk
Sent: Wednesday, August 10, 2005 10:01 AM
Subject: [Extendflash] importPublishProfile
I'm having some trouble with the importPublishProfile command. I'm trying to import an exported profile XML file with some pre-defined classpaths but whenever the profile is imported the classpaths are simply ignored although other settings are imported. I suspect this is not a jsfl problem though as doing the same thing manually through the Flash development environment results in the same problem. Has anyone else experienced this and managed to find a work around?
Thanks,
Martin
----------------------------------------------------------------------------
_______________________________________________
Extendflash mailing list
Extendflash at flashguru.co.uk
http://lists.flashguru.co.uk/mailman/listinfo/extendflash
--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.10.5/67 - Release Date: 8/9/2005
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.10.5/67 - Release Date: 8/9/2005
------------------------------------------------------------------------------
_______________________________________________
Extendflash mailing list
Extendflash at flashguru.co.uk
http://lists.flashguru.co.uk/mailman/listinfo/extendflash
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.flashguru.co.uk/pipermail/extendflash/attachments/20050811/4e97e08a/attachment.htm
More information about the Extendflash
mailing list