Welcome, Guest. Please login or register.
Did you miss your activation email?
05/21/12, 03:43
Home Help Search Login Register
News: Parsley Flex framework review featuring quiz application, in our Flex frameworks series
Flex SDK 4.5 mobile roadmap: begin with your mobile development
Swiz Flex framework review featuring quiz application
New homepage we release our new Homepage, take a look ...

+  Flash-db
|-+  General
| |-+  Flash MX 2004 (Moderators: Flash-db, Musicman, vesa kortelainen, Ronald Wernecke, Andresss, papachan)
| | |-+  .swf?id=1
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Print
Author Topic: .swf?id=1  (Read 1376 times)
ftb
Server what's that
*
Posts: 1


View Profile
« on: 07/12/05, 19:48 »

how does

.swf?id=1 or backgroundcolour=#000000

work?
i want to submit imfomation to a database so i can set swf?id=<thisnumber> using php
so i want flash to pick up that id and submit in with the flash file

so how do i do this? Huh
Logged
Jorge Solis
Administrator
Systems Administrator
*****
Posts: 14600


View Profile
« Reply #1 on: 07/13/05, 03:27 »

Hi ftb, welcome to the Boards!

To load data in Flash, check http://www.flash-db.com/Tutorials/loading/

To send check http://www.flash-db.com/Tutorials/saving/

Jorge
Logged

..:: Mazhar Hasan ::..
Mods
Systems Administrator
*****
Posts: 828


Cheers


View Profile WWW
« Reply #2 on: 07/13/05, 04:54 »

Just create a variable on main time line called id, & in your movie you can use it. But don't forget that in design time, this wont work. as the ?id=something would be given in html page. So follow these steps:

in your flash movie's main timeline, add this code:
var id;
_root.someTextfield.text id;

Export the swf & the html file. Open the html file in any text editor, search for filename part & replace the moviename.swf with moviename.swf?id=mazhar  & save the html file, now preview this file in any browser
Logged

Your wish is my command
Pages: [1] Print 
« previous next »
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!