Okay Darrell,
Your file worked. I was able to run with ,45, after uploading
it to the server. I believe I understand why this was happening.
You can tell me if I’m wrong, if it matters. Below version
,115, the player RSL’s are not signed and the player loads
the swc file, not the swz file.
This became apparent to me when I saw that on the FLEX Build
Path-->Library Path Tab, there existed a build path library of:
framework.swc.
Expanding this library revealed an RSL URL property with the
signed library -- framework_3.0.189825.swz – as the value.
Underneath the RSL URL as an attached property is listed the
Failover RSL URL with a value of -- framework_3.0.189825.swf --.
I’m a simple man, so I’ll just put it this
way… When the player can’t make sense of an swz file
because it can’t load signed files, it looks for the swf
file. Since the swf is not signed, it has a digest that links it
with the application to provide security protection. For some
reason the framework_3.0.189825.swf library that came with the sdk
and by default was being used by my application was not linked
properly. By the way, this happened on a new install to a virgin
machine.
Okay, I used the ant file, and had to modify it to get it to
work. For one, it’s not well formed, missing a /java end tag.
Second, and this is what I need you to verify for me, I don’t
know why the line
OpenElementTag--arg line="--digest.rsl-file
@{rsl-dir}/@{swc-name}.swf --digest.swc-path
@{swc-dir}/@{swc-name}.swc" --CloseElementTag
would work because the swc-name needs to be framework in
order for the optimizer to output it with the correct name (at
least to stay within the naming conventions we are using). So what
happens is the argument line --digest.rsl-file
@{rsl-dir}/@{swc-name}.swf cannot find the swf that was created by
the optimizer since the swc-name variable does not match the name
that was created with the optimizer (--output
'@{rsl-dir}/@{swc-name}_3.0.${build.number}.swf' =
framework_3.0.189825.swf). I tried to use the ${build.number}
again, but it must be getting assigned from the metadata of the
optimizer, I can’t quite figure it out. I finally got it to
work, by hard coding the name in like so…
OpenElementTag--arg line="--digest.rsl-file
@{rsl-dir}/framework_3.0.189825.swf --digest.swc-path
@{swc-dir}/@{swc-name}.swc"--CloseElementTag
I’ll get back into my Ant documentation and see if I
can figure out how to code for that.
I am attaching the build file I created. Place it in the
root\sdks\3.0.0\frameworks directory and it should work right out
of the box. It is setup to use the standard directories. This is a
windows installation, but it should work on Linux.
I hope we can put this to rest. Please correct me if I have
misunderstood what is happening. You have my heartfelt thanks for
your assistance and if you're at the 360 conference, let me know
and I'll buy you a draft.
Sincerely,