Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
May 21, 2012, 04:19:25 AM
Home
Forum
Documentation
Search
Help
Login
Register
Gaia Framework for Adobe Flash
>
Forum
>
Support
>
General Gaia Support
(Moderators:
Nemo
,
Ramiro
) >
Create new subpages dynamically (without scaffolding)
Pages: [
1
]
« previous
next »
Print
Author
Topic: Create new subpages dynamically (without scaffolding) (Read 226 times)
mugdiman
Gaia Novice
Posts: 2
Create new subpages dynamically (without scaffolding)
«
on:
November 28, 2011, 02:18:20 PM »
Hello, I am relatively new to gaia. I have a project where I have a page with a second and third level menu, that should be easy to update (from a separate XML and not site.xml). Each third level menu item should have a deeplink. So the question is if it is possible to create pages dynamically on the fly? Each item has the same structure and includes assets. I found references for externally loaded assets but not to create a complete gaia page with deeplinking from code.
Thank you, Dennis
«
Last Edit: November 28, 2011, 07:39:08 PM by mugdiman
»
Logged
steven
Gaia Author
Administrator
Gaia Evangelist
Posts: 3871
Re: Create new subpages dynamically (without scaffolding)
«
Reply #1 on:
November 28, 2011, 10:49:57 PM »
Can you be more specific about what you have in mind?
Logged
Steven Sacks | Gaia Author
Please support Gaia by
donating to the project!
mugdiman
Gaia Novice
Posts: 2
Re: Create new subpages dynamically (without scaffolding)
«
Reply #2 on:
November 28, 2011, 11:49:58 PM »
Ok I will try to:
I have one section careers that should have careers as sub menu items
index
nav
home
...
careers
category 1
career 1
career 2
category 2
career 3
I know it is easy build that structure in site.xml, but using scafolding I have the feeling it creates a different swf for each career ? I need only one template and I reuse with the values from XML (text, images) How is the concept of templating handled in gaia? Can each career still have its own url ?
if lets say the client wants to add a career later, do they have to scarfold again to reflect the change in the site? (means open flash)
Thanks, Dennis
Logged
Ramiro
Moderator
Gaia Addict
Posts: 861
interactive pragmatism
Re: Create new subpages dynamically (without scaffolding)
«
Reply #3 on:
November 29, 2011, 01:51:50 AM »
If your site.xml has pages pointing to the same swf file, Gaia will only create one fla and class, and re-use the same swf files within the different pages. Of course, you'll need your own implementation to place the correct content on each one.
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Downloads and Information
-----------------------------
=> * Download Gaia *
=> Lessons, Examples, Tips+Tricks, Mods and Utilities
=> Gallery
-----------------------------
Support
-----------------------------
=> General Gaia Support
=> Gaia AS3 Support
=> Gaia AS2 Support
=> Feature Requests
=> Non-Gaia Questions
-----------------------------
International Support
-----------------------------
=> Deutsche
=> Español
=> Français
=> Italiano
=> Português
=> 日本語
TinyPortal v1.0 beta 4 ©
Bloc
Loading...