Pages: [1]
  Print  
Author Topic: Passing values from website URL by GET method  (Read 235 times)
szox
Gaia Novice
*
Posts: 8


« on: September 08, 2010, 03:39:52 AM »

Hi,
I've been going throught the documentaion and forum searching for the answer : is it possible to pass values to as3 from website url, but I didnt find anything helpfull.

What I want to do:
I have a gallery and I'd like that each picture could be accessed by specific url.

I'd be glad if some one could tell me how can I achive this ?
Logged
zurie
Gaia User
**
Posts: 70


« Reply #1 on: September 08, 2010, 11:45:40 AM »

I am not sure I understand? 

the GET method is for forms? 

are you saying you want to type:

http://www.yourwebsite.com/#/gallery/images/01
http://www.yourwebsite.com/#/gallery/images/02
http://www.yourwebsite.com/#/gallery/images/03

etc and each URL is a different photo in your flash?

or are you trying to type

http://www.yourwebsite.com/gallery/images/01.html

and that auto loads

http://www.yourwebsite.com/#/gallery/images/01

you are looking for SWF address then, which is included with gaia.  and SEO indexing your site so google pulls up 20 pages one for each gallery image, and every URL you click in google goes to the corresponding URL.

like this??

www.intellichief.com/intellichief_features.html     goes to
http://www.intellichief.com/intellichief_features.html#/products/intellichief-features

www.intellichief.com/paperless_order_to_cash.html goes to :
http://www.intellichief.com/paperless_order_to_cash.html#/solutions/paperless-order-to-cash/automating-your-order-to-cash-process


look at:

http://www.google.com/#sclient=psy&hl=en&safe=off&site=&source=hp&q=site%3Aintellichief.com&aq=f&aqi=g4g-o1&aql=&oq=&gs_rfai=&pbx=1&fp=944ca012dfe9dd8c
Logged
szox
Gaia Novice
*
Posts: 8


« Reply #2 on: September 13, 2010, 12:36:40 AM »

Thanks for the answer.  What I meant was how to pass the value from URL address like here:
http://www.gaiaflashframework.com/index.php?action=post
the value for action is "post". In my case it would be www.website.com/index.php?image=1 (or 2, 3, 4... etc).

It dont need to be done exacly the same way i just need it to be dynamic, so I dont have to hardcode each image or address into code.
From your answer it seams that the first method would be closest to what Im looking for:

Quote

So the question is:
-is it possible to do it my way?
-how to do it the way you have described?

Logged
Pages: [1]
  Print  
 
Jump to:  

TinyPortal v1.0 beta 4 © Bloc