is there a way to have a html file or a php file load into flash?
Thanks
| SitePoint Sponsor |
is there a way to have a html file or a php file load into flash?
Thanks





No, yo ucan load text created by a PHP script, or HTML but there are only a limited set of HTML tags that will render in a flash text field. Can you expand n what you are trying to do?
Please don't PM me with questions.
Use the forums, that is what they are here for.
Well I have an "inventory" page that I had bult with php3. I was just wondering if there was a way to import that into flash and still have it work right.





Well in short no. You can import the data into flash and use actionscript to display it. HTML is really justa presentation tool, in your php script you use PHP to get the data and build the page with html, it would be the same in flash you would use php to supply the data to Flash. You would use flash to take the data and display it.
Please don't PM me with questions.
Use the forums, that is what they are here for.
so if I take the php scripts and insert them into flash. it will show up?

No. You need to "import" your data from the PHP script by using load variables.
Check the latest on GeniusStartup.com
Affiliate Marketing for Beginners
How to Buy a Great Domain Name
How to Get a Kick-Ass Web Design for Under $99





or LoadVars() for MX which is preferred over loadVariables if using MX.
Please don't PM me with questions.
Use the forums, that is what they are here for.
I am using MX. I dont have a clue on how to do this so can someone give me a hand?
I need the php script... but how do I take it and insert it into a flash. Can someone give me an example of what the actionscript will look like?
How do I get it to line up the same way as in a HTML document?
If someone has an example they already made.. that might be helpful to use as a reference.
Thanks for all the help!
Jordan





You have a long way to go my friend, I would start with simple layouts in flash, text fields, repeating movie clips and data import through the LoadVars() object. Flash is not html ,while you have more freedom with layout in flash, you have to know how to use the tool.
There are some tutorials on PHP as a backend for flash at www.actionscript-toolbox.com
Please don't PM me with questions.
Use the forums, that is what they are here for.
Bookmarks