Building a Flash Loading Project.

Special forum to share and discuss skins for Pano2VR and Object2VR
Post Reply
User avatar
Hopki
Gnome
Posts: 13032
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi
Been asked about this several times now so I thought I would post it.

This is an Object2VR project, but the loader can be built using Object2VR or Pano2VR.
The Drop down menu just sets different text / file paths to an external image/SWF loader.

How this works is you build a blank or null project.
Then this project has the menu to load external SWF files.

This can be really basic or elaborate.
Basic version:

You only need one external image/SWF loader with the file path to the first SWF file to be shown.
Then just add buttons with the following actions:
Mouse Click => Set Text => Text: (file path to next SWF) => Target: external image/SWF loader.
Thats it, as you click the button the set text action will direct the external image/SWF loader to the next SWF and display it.

Elaborate version:
Download and open the attached zip and you will see the folder, object_loader.
Inside the folder you will see the following files:

1) null_object.jpg
2) dropdown_menu_object_loader.ggsk
object_loader.o2vr (main project file)
object_loader.swf
swfobject.js
index.html

There is also two folders that contain SWF files from Object2VR, object_toy_01.swf and object_toy_02.swf.
The index.html file opens with the embedded object_loader.swf.
This in turn loads the object_toy_01.swf file and displays it.

If you look at the skin you will see menu_button_a and menu_button_b.
As well as all the other actions you will see the the action that changes the SWF file:
Mouse Click => Set Text => Text: object_toy_01/object_toy_01.swf => Target: flash_loader.

Of course this can also load SWF files from Pano2VR.

As another possibility you can also use the Add Flash SWF element rather than the external loader so all the SWF files are embedded. This would be good if the object are small in file size as you would end up with only one SWF for the complete project.

Regards
Hopki
Attachments
object_loader.zip
(1.55 MiB) Downloaded 479 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/
User avatar
Shytsko
Posts: 80
Joined: Sat Dec 31, 2011 10:56 am
Location: Minsk, Belarus
Contact:

Hi, Hopki! A good solution for displaying goods online store. Thank you. :D
LiaoCK
Posts: 9
Joined: Thu Jan 12, 2012 5:10 pm

Hi Hopkin ,
I open the object_loader.o2vr and I saw the actions on the skin... i changed your file with my file ... then i edited the index.html ( changed to myfile.swf ... the i creatted the file ... it were creatted myfile.html and myfile.swf .... in this point ... what is the relation of index.html ( your file ) and the creatted file myfile.html ??
And have some difference between your file swfobject.js and the file was creatted p2q_embed_object.js ??

Even i tried to rename all my files to the same names as yours and replace then ... but unsucessfull
I opened via index.html and myfile.swf but unsucessfull ...

Can you help me ?
Thanks
Liao
User avatar
Hopki
Gnome
Posts: 13032
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi Liao
It sounds like you are using an older version of the program.
Make sure you have downloaded the latest build of Object2VR or Pano2VR as they both use the swfobject.js file instead of the p2q_embed_object.js.

I would not use my files, instead build your own project and just use mine as a reference.
You can use the skin files in your own projects.

This is just a skin with an external image/swf loader and you are using buttons to change the file path by using a set text action.
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: 13032
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi
Please find attached a zip containing a HTML5 loader with Flash fullback.
Its not as good, but does work in the iPhone and iPad.
Regards
Hopki
Attachments
flash_html5_object_loader 2.zip
(2.98 MiB) Downloaded 390 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/
Post Reply