Offset when using swf-files and nodemarkertemplate

Q&A about the latest versions
Post Reply
Rainmaker
Posts: 88
Joined: Fri Jan 05, 2007 4:13 pm

I have a problem with the use of swf files in nodemarkertemplates. The swf-file is displayed, but there is an offset an it seems that it can not be fixed. No matter what I do the swf is always offset downwards the right. Does anyone know how to fis this problem?
User avatar
Hopki
Gnome
Posts: 13025
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi,
Not seen this, do you have a link?
Regards,
Hopki
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
User avatar
Hopki
Gnome
Posts: 13025
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi
Try the attached SWF for your tests, this positions perfectly for me.
Regards,
Hopki
Attachments
swf hotspot 2.swf
(644 Bytes) Downloaded 2952 times
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
Rainmaker
Posts: 88
Joined: Fri Jan 05, 2007 4:13 pm

Hi,

I have used two graphics that did not have the same size. Now that they have the same size it's no problem to implement a radar in flash . In htmls5 everthing works the same way, but it is not possible to animate the radar. No matter what command I use, movements or scaling is not performed on the radar. Do you have any idea?

Regards
User avatar
Hopki
Gnome
Posts: 13025
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi,
What do you mean exactly you can not animate the radar?
You cant use a gif or flash element as a beam?
Remember a gif needs to be in the external loader.
Regards,
Hopki
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
Rainmaker
Posts: 88
Joined: Fri Jan 05, 2007 4:13 pm

Hi,

the radarbeam is a PNG and it is a child of the grafic that is used in the nodemaker as "Clone as active". To make it move I used "rotate" and "pan north" in the modifiers of the radarbeam. In Flash everything is o.k. an the beam rotates correctly, but in html5 the beam does not move. I also tried to load the PNG with an external loader, but this was unsuccessful too.

Regards
User avatar
Hopki
Gnome
Posts: 13025
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi,
I understand what you are saying but this is not a good way of doing it.
What you will ed up with is all node markers having it sown radar and although you can not see them they will all be rotating and taking up resources.

The smarter way is to have just one beam and the node market has the action Activate, Change Element position $self, Target Beam.

This is shown in the project here: http://gardengnomesoftware.com/forum/vi ... =17&t=8089
Regards,
Hopki
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
Post Reply