Archive

Archive for October, 2004

SP2 and Flash

October 26th, 2004 Comments off

Microsoft’s SP2 is impacting web development, specifically cd-rom development. This is caused by new “local machine lockdown” procedures that attempt to make the viewing of local web-based material with IE safer. We always use web-based technologies for CD-rom based content and these new “features” are causing glitches in user experience. One work-around is a “Mark of the Web” comment line you sinply add at the top of your HTML code:

<!-- saved from url=(0017)http://localhost/ -->

Be careful though. It works but … if a page that uses this technique links to another that does not, the link will fail to do anything at all. It will fail silently. This happened to me when I linked to ppt files.

link:

http://www.macromedia.com/devnet/logged_in/wanbar_sp2.html

Categories: Uncategorized Tags:

V2 ScrollPane

October 23rd, 2004 Comments off

Should be more like scroll pain! I am working on version 2 of my runningmap site. My new version uses v2 components where version 1 uses v1 components. The scrollPane component does not act like it use to. New are “progress” and “complete” events that are useful. One would think that calling refreshPane() after “complete” broadcasts would make sense, but refreshPane() itself causes “complete” to broadcast, so don’t call that method on complete.

This discovery came from a problem I was having with the loading of content into a scrollPane. I have a large jpg (approx 3000 x 3000 pixels) loading dynamically and it gets cut off when you scroll around. Plus, my zoom function (adjusting scale of content) does not refresh propery, even when using scrollPane.redraw(true). I put the jpg in an swf and the opposite happened, there is extra space around the image and it does not redraw properly on zoom. SOLUTION: if I place a border around the jpeg (a box behind it on the stage) and compile the swf, this version loads into scrollPane perfectly and zooms in and out as expected by adjusting the scale and then calling the redraw(true) method.

Categories: Uncategorized Tags: