Jump to content
Software FX Community

HTTPS, Flash, and .NET Graphs.


User (Legacy)

Recommended Posts

Ok so my app works fine with http.

Now I need to work with https.

I find out that my flash loading page uses

http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0

So I download the file and stick it on my web server so that I don't need to

go out to get it. I just set the path = Flash/swflash.cab in the code.

So it is not much of a suprise when I see that the chartFX graph uses.

http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#Version=5,0,0,0

Problem is that I don't see how I can modify the code it generates at

runtime.

Is there a way of setting the path that it looks at for the swflash.cab

file?

Also would version 6 work?

Second The .NET graph.

works fine then with https I get a "Failed to download chart TrustFailure".

I have set the site as a trusted site and even tried setting the privacy

settings to the lowest level.

How do I get around this.

If I can not get around the security settings is ther a way to detect before

hand so that I can display the flash widget instead?

Thanks in advance,

George.

Link to comment
Share on other sites

About the flash Codebase.

You can modify the URL generated by the FlashWriter by writing code like...

FlashWriter flashWriter = new SoftwareFX.ChartFX.Flash.FlashWriter();

flashWriter.Codebase = http://yourserver/flash/swflash.cab;

chart1.OutputWriter = flashWriter;

Note that when you just set "Flash" as the HtmlTag property we use a "clean"

flash writer so you will not be able to customize this, I can see that this

is not optimal so we will address this in a future version/service pack by

allowing the default flashwriter to read from a registry key, this will

allow you to use "Flash" at design time and still get some level of

customization.

>> Also would version 6 work?

Flash 6.0 should read ChartFX flash files (we default to V5 flash files)

without any problem, note that there is a Version property in the

FlashWriter, this controls the version of flash we write to. e.g. Flash 6

supports compression while previous versions do not, also strings maybe

saved Ansi or Unicode in V5 or before but in V6 they are only saved as

Unicode.

Please note that we will really generate the URL as follows

Codebase=FlashWriter.CodeBase#version=FlashWriter.Version,0,0,0

So if you want us to generate Flash 6 files (you can then apply compression

to your flash files) set the Version to V6. At this moment we do not allow

you to "force" a download of Flash build 6,0,12,7. Please let us know if

this is something you need.

About https

When our internet client control needs to download the chart files, it can

only access the "current" http credentials if you make sure we are running

with Full Trust, you mentioned you added your site to "trusted sites", did

you set the .NET security settings to full trust in the "trusted sites" zone

?

--

Regards,

JC

Software FX Support

"Curious George" <mu330__@hotmail.nospam> wrote in message

news:gKyRvI5gDHA.3296@WEBSERVER1...

> Ok so my app works fine with http.

>

> Now I need to work with https.

>

> I find out that my flash loading page uses

>

http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0

> So I download the file and stick it on my web server so that I don't need

to

> go out to get it. I just set the path = Flash/swflash.cab in the code.

>

> So it is not much of a suprise when I see that the chartFX graph uses.

>

http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#Version=5,0,0,0

> Problem is that I don't see how I can modify the code it generates at

> runtime.

> Is there a way of setting the path that it looks at for the swflash.cab

> file?

> Also would version 6 work?

>

>

> Second The .NET graph.

> works fine then with https I get a "Failed to download chart

TrustFailure".

> I have set the site as a trusted site and even tried setting the privacy

> settings to the lowest level.

>

> How do I get around this.

>

> If I can not get around the security settings is ther a way to detect

before

> hand so that I can display the flash widget instead?

>

> Thanks in advance,

> George.

>

>

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...