flash data integration:
I'm a web developer that is familiar with PHP and MySQL. I just started working
with a guy who has created a site in Flash for a client, and I've created the
backend in PHP. It was understood that all I'd have to do would be to PUT
information into the database and he'd pull it out on the site. Things have
changed and I've been asked to pull the data down for him.
I've Googled to find out that it's possible to get data from MySQL into Flash
via a textfile formated as such: 'myVar=[data]'. I don't know the specifics,
but I can figure that all out. However, I have two particular questions
regarding the data:
[b]1.)[/b] How does Flash handle HTML formatting? The CMS I've written allows
an administrator to input plain HTML and I store that in the database; how will
that translate into Flash? Does Flash have an HTML parser? I've been having
trouble filtering through searches on Google about using HTML to put Flash on a
page instead of Flash parsing HTML. I read on another forum that Flash has an
HTML 1.0 parser, but the post was dated August 2003.
[b]2.)[/b] I've also been storing images as BLOBs in MySQL. How do I go about
pulling these images out? Of the tutorials I've found on Google, all I can hit
with my searches are scenarios in which people store image [i]paths[/i] in the
database, and output them in the same textfile, 'myImage=/images/image.jpg'
etc.
[url=
http://forums.devarticles.com/web-development-40/flash-mysql-longblobs-9659 ..html]This unanswered forum post off-site[/url], is similar to what I'm trying
to do, but I'd need to display many images in a flash movie and I don't think
passing them via src would work.
I'm not necessarily asking for complete solutions for these problems, I just
need to be pointed in the correct direction, maybe a function or a document I'm
missing.