[Extendflash] importPublishProfile

Martin Thornalley Martin.Thornalley at theboardworks.co.uk
Thu Aug 11 10:53:35 PDT 2005


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["Packag
e Paths"]

 

Hope this helps,

    Jesse

	----- Original Message ----- 

	From: Martin Thornalley
<mailto:Martin.Thornalley at theboardworks.co.uk>  

	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


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.flashguru.co.uk/pipermail/extendflash/attachments/20050811/d20409cd/attachment-0001.htm


More information about the Extendflash mailing list