[swfmill] unable to generate swf displaying image
tuneer.sharma
tuneer.sharma at techblue.co.uk
Fri Aug 24 02:00:51 PDT 2007
Dear Ralf
i m trying to generate a swf file using swfmill ,which should display
images and text
i create xml ,pass it through swfmill ,then i obtain a swf file
swf file displays just text and not image
*
* NB* : i converted swf back to xml(SWFML) i found that xml (SWFML)
comtains information about the jpeg image
xml used by me:
<?xml version="1.0" encoding="iso-8859-1" ?>
<movie width="320" height="240" framerate="12">
<background color="#ffffff"/>
<frame>
<library>
<clip id="picture" import="1.jpg"/>
<clip id="jpegpic" import="2.jpg"/>
</library>
<font id="vera" import="Fonts/vera.ttf" glyphs="0123456789"/>
<textfield id="hellobox" width="200" height="50" size="10" font="vera"
text="hello world!"/>
<place id="hellobox" name="output" depth="10"/>
</frame>
<frame/>
<frame/>
</movie>
thanks
Ralf Fuest wrote:
> Hello Tuneer,
> I didn't understand what you are trying to achieve. What do you mean by
> "XML containing media data"? Do you use simple or basic mode?
> Please try to describe your problem more clearly.
>
> Ralf
>
>
>> i m new to swf mill ,trying basic xml for generation of swf containing images
>>
>> i m facing an issue in using SWFMILL for generation of SWF from
>> XML data ,when i pass XML containing media data through SWFMILL
>> ,it generates SWF containing both text and media info , but it
>> displays only text.
>>
>> (how i know there is media data in swf created through swfmill
>> ???????? when i convert that SWF file back to XML(SWFML)
>> that XML contains info corresponding to that media data)
>>
>> for generation of SWF from XML i m using standard format for
>> creating XML defined in the SWFMILL tutorial,
>>
>>
>> I have converted SWF (already running )to XML its schema and
>> structure were same as XML(SWFML) i obtained on converting back SWF
>> (created by me) to XML
>> , What i feel ,the problem is because of some missing parameter
>> (defining image location or size), i am looking for that.....
>>
>>
>> moreover i am able to to extarct back the image from swf file( which i created )
>>
>> one more thing i did:
>> i took a SWF file created its xml(swfml),replaced its jpeg string with jpeg string data from my swfml file
>> then created swf from modified swfml ,then the image was getting displayed
>>
>
>
> _______________________________________________
> swfmill mailing list
> swfmill at osflash.org
> http://osflash.org/mailman/listinfo/swfmill_osflash.org
>
More information about the swfmill
mailing list