Flash + G2

hfcunha

Joined: 2007-06-19
Posts: 2
Posted: Thu, 2007-07-05 15:35

Hi
I'm trying to put into a flash page the fields login and password.
By clicking in a button, the flash redirect automatically to the gallery page for the user.
But i can't do it.
Someone helps me!!!!

Note: Sorry my english!

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Sat, 2007-07-14 22:45

i don't know about flash programming, but i assume you can redirect to a URL.. the gallery url should be something like: main.php?g2_controller=core.UserLogin&g2_form[username]=user&g2_form[password]=pass&g2_form[action][login]=1&g2_return=url-encoded-target

 
hfcunha

Joined: 2007-06-19
Posts: 2
Posted: Sun, 2007-07-15 01:26

I tried now and it doesn't did the login.
but i'll try again.
Tks!