Groups | Blog | Home
all groups > macromedia mobile and devices flashlite > january 2005 >

macromedia mobile and devices flashlite : Loading Jpegs


Wunderlake
1/24/2005 8:26:31 AM
Hello, I am doing a Flash newsletter prototype for mobile phones. The content
would include text and jpegs, of which the amount would extend beyond the
designated screensize and would require user to scroll. While I understand that
external text can be loaded into a text field, I'm not sure about Jpegs,
especially if the jpegs would need to be scrolled simultaneously with the text.
Does anybody have any idea how to go about doing it? Thanks!
Justin E-C
1/24/2005 8:46:20 AM
hi,

to have text and graphics combined, the easiest way is going to be to build a
swf and have the whole swf with all layout load dynamically. You could also
create a template with your text field and a slot for a specific sized image
then load the image separately into that slot.

to load a jpg dynamically, it will always need to be part of a swf for
anything based on Flash 4. You can either build your own swf or use one of
many server applications for loading images.
Tom Krcha
1/24/2005 9:35:55 AM
Hi Justin,

that isn't a constructive answer.

->Wunderlake
if you want to make dynamic newspaper you've to use JPG2SWF library and create
the swf from jpg on a server -side. Or you can use PHP Ming library. FlashLite
can load swf - Flash version 4, so use this.

JPG2SWF:

http://www.google.com/search?q=JPG2SWF+&sourceid=mozilla-search&start=0&start=0&
ie=utf-8&oe=utf-8&client=firefox-a&rls=org.mozilla:en-US:official

MING - PHP library for Flash
www.php.net/manual/cs/ref.ming.php
cheesewhisk
1/29/2005 9:50:02 AM
Justin E-C
1/31/2005 8:29:06 AM
Flex does indeed compile swfs on the fly from a variety of resources, however
the compiled swf will be in FLash 7 format which unfortunately won't be usable
for Flash Lite.

I would use ming or one of the other products that tom mentions. One that I
like is FlashWriter Toolkit. its just a few php pages, and requires nothing
else installed other than the basic install.
http://www.bronsonbeta.com/oldstuff/

(you just need to go into the flash utils page and change the version byte
from 5 to 4). As shipped, this has some incompatibilities with newer versions
of PHP. Back when I first used it, it worked on 4.07, I can't vouch for later
versions.
cheesewhisk
1/31/2005 12:03:20 PM
Is it possible to get this verified, as I'm sure I read that Flex can output flash 4 swf's.

AddThis Social Bookmark Button