you need to escape the \ like so \\
appFile = appFile.resolvePath(fileString+\\personnel.xml);
trace(fileString+\\personnel.xml)
From: flashcoders-boun...@chattyfig.figleaf.com
[flashcoders-boun...@chattyfig.figleaf.com] on behalf of natalia
Or use a / which I think works both on PC and the mac (which \ will not, that
will only work on windows)
Forgive me if I'm wrong on that one.
From: flashcoders-boun...@chattyfig.figleaf.com
[flashcoders-boun...@chattyfig.figleaf.com] on behalf of Jim
: Re: [Flashcoders] Read and save xml file on disk
Just use File.separator, it will get you the correct one if you care.
Jim Hayes skriver:
Or use a / which I think works both on PC and the mac (which \ will not,
that will only work on windows)
Forgive me if I'm wrong on that one
Ah, I've just been there with IPA characters.
If you are using htmltext it's do able, though in the end I embedded the font
(deja-vu in my case, it's open source) since I also needed to set plain text.
The trick is to unicode escape the character, replace it with that escaped code
and set a
That's what you'd expect with *local* files, e.g. loading from a filesystem.
The filesystem will look for the file with the literal filename
my_swf.swf?id=33.
A web server, on the other hand, knows that anything after ? is not part of
the filename, and should be treated as a query string.
Are you sure this is not a security error due to the allow network /
allow local setting? I'm guessing that you may want to allow local file
access for the swf (somewhere in publish settings as I remember), or add
the img folder on your local drive to flash's trusted locations.
-Original
Naaa! It will still render anything in the title tag, I ran into this
myself! Very annoying, and you wouldn't really expect it.
Only way I found to fix it was to strip out that tag and it's
contents...
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Or cheaper still, email you the licence code, It's all you need!
Our company has some salespeople in the USA, that's what I do (though they do
send the disks whenever they're sending us something else).
Recently though, upgrade prices in UK do seem to have been more or less on a
par with the
Apparently, if you load the .swf as a byteArray then you can then use a
loader to load that as a swf, in the context of your application.
Normally that would be considered a potentially bad thing, but in your
case it looks like it could be exactly what you want to do.
Hth.
-Original
Pythagorus, innit?
The square root of the the sum of the difference in x squared and the
difference in y squared ? Or was I not listening in school way back
then?
I think there may be an inbuilt method in flash, mind you, but if there
is I don't know what it is.
-Original Message-
From:
That was the one I thought I'd heard of. But...
Too easy! Boring! Soh cah toa !
(and that as far as I can remember is actually the only useful thing I
did learn in school)
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ivan
Dembicki
Sent: 11 March 2008
It could just be windows set to not show file extentions for recognised
file types - personally one of my most hated features, but that's the
default and most people don't change it.
Just a possibility ?
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
I normally just set a default value for the second argument :
function someFunction(arg1:int,arg2:String=null):void
{
if(arg2==null)
{
//whatever.
}
//some code ...
}
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
13 matches
Mail list logo