Making .swf (flash format) in java
Is there support in java to easy create .swf? I mainly i just need to convert jpg and or gif to simple .swf files.
.swf is a proprietry extension for flash movies and so i'm pretty sure there is no standard class for producing them (although you may be able to find someone has make one avalible over the 'net, i doubt it though).
More to the point, converting a jpg or gif to flash sounds very pointless - jpgs and gifs are rater image types (raw pixel data) while flash is vector based (images drawn by geometrically defined shapes, thus giving smaller file sizes and infinite zoom). Yes flash files can contain gifs and jpgs but they remain as rater images simply embedded into the flash, so if you're using it as an alternate image type then its a waste of time (and probably give larger file sizes).
Why exactly do you want to do this?
Similar Messages
-
Hello
Is any body use java to insert text in preformed swf templates.
I use anotherbigidea api for this.
If anybody have experience to do this than plz. help me.
Thanks.swf is a proprietry extension for flash movies and so i'm pretty sure there is no standard class for producing them (although you may be able to find someone has make one avalible over the 'net, i doubt it though).
More to the point, converting a jpg or gif to flash sounds very pointless - jpgs and gifs are rater image types (raw pixel data) while flash is vector based (images drawn by geometrically defined shapes, thus giving smaller file sizes and infinite zoom). Yes flash files can contain gifs and jpgs but they remain as rater images simply embedded into the flash, so if you're using it as an alternate image type then its a waste of time (and probably give larger file sizes).
Why exactly do you want to do this? -
Does the Flash 8 and Flash Lite 2.0 has the same SWF file format?
Flash Lite 2.0 is based on the Flash Player 7 and supports
most of the features in that version of Flash Player, also, the
Flash Lite 2.0 provides serval features not avaliable in Flash
Player 7.
My Question:
I've download the File Format Specification of Macromedia
Flash (SWF) and Flash Video (FLV) Version 8 from Adobe web site,
but, I don't know whether the Flash Lite 2.0 has the same SWF file
format?
If the SWF file format is different, where can I get the file
format for Flash Lite 2.0?
Thanks in advance.
Sandy.> Flash Lite 2.0 is based on the Flash Player 7 and
supports most of the
> features
> in that version of Flash Player, also, the Flash Lite
2.0 provides serval
> features not avaliable in Flash Player 7.
>
>
My Question:
> I've download the File Format Specification of
Macromedia Flash (SWF) and
> Flash Video (FLV) Version 8 from Adobe web site, but, I
don't know whether
> the
> Flash Lite 2.0 has the same SWF file format?
> If the SWF file format is different, where can I get the
file format for
> Flash
> Lite 2.0?
Yes .. it is a little different .. got some extras and has
some
restrictions. But there is a lot that is the same.
There is a separate section on mobile devices (in the Adobe
site where you
can get info on the format (or at least, there was for flash
lite 1.x) -
Revision: 1384
Author: [email protected]
Date: 2008-04-24 07:54:58 -0700 (Thu, 24 Apr 2008)
Log Message:
Splitting DefineFont into the various DefineFont 1, 2, 3, etc SWF tag formats but retaining a common base DefineFont class so that embedded fonts are still retained as symbols for the SWF dictionary no matter what version of the SWF tag is used.
Also improving [Embed] so that it can recognize .TTC files as assets (previously these were only recognized through CSS @font-face rules).
QE: Yes, please add a test case for using [Embed] to embed fonts from a TTC file in addition to our tests for @font-face. Note that the AFEFontManager must be configured for this scenario.
Doc: No
Checkintests: Pass
Mxunit: AtEmbed Font suite: Pass
Modified Paths:
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/media/AbstractTranscoder.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/media/FontTranscoder.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/util/MimeMappings.java
flex/sdk/trunk/modules/compiler/src/java/flex2/tools/PreLink.java
flex/sdk/trunk/modules/swfutils/src/java/flash/fonts/CachedFontManager.java
flex/sdk/trunk/modules/swfutils/src/java/flash/swf/Dictionary.java
flex/sdk/trunk/modules/swfutils/src/java/flash/swf/MovieEncoder.java
flex/sdk/trunk/modules/swfutils/src/java/flash/swf/TagDecoder.java
flex/sdk/trunk/modules/swfutils/src/java/flash/swf/TagEncoder.java
flex/sdk/trunk/modules/swfutils/src/java/flash/swf/TagHandler.java
flex/sdk/trunk/modules/swfutils/src/java/flash/swf/TagValues.java
flex/sdk/trunk/modules/swfutils/src/java/flash/swf/builder/tags/FontBuilder.java
flex/sdk/trunk/modules/swfutils/src/java/flash/swf/tags/DefineFont.java
flex/sdk/trunk/modules/swfutils/src/java/flash/swf/tags/DefineFontAlignZones.java
flex/sdk/trunk/modules/swfutils/src/java/flash/swf/tags/DefineFontInfo.java
flex/sdk/trunk/modules/swfutils/src/java/flash/swf/tools/SwfxPrinter.java
Added Paths:
flex/sdk/trunk/modules/swfutils/src/java/flash/fonts/DefineFont3Face.java
flex/sdk/trunk/modules/swfutils/src/java/flash/swf/tags/DefineFont1.java
flex/sdk/trunk/modules/swfutils/src/java/flash/swf/tags/DefineFont2.java
flex/sdk/trunk/modules/swfutils/src/java/flash/swf/tags/DefineFont3.java
flex/sdk/trunk/modules/swfutils/src/java/flash/swf/tags/DefineFont4.java
Removed Paths:
flex/sdk/trunk/modules/swfutils/src/java/flash/fonts/DefineFontFace.javaRunning the script by python2 solves it for me:
su - mythtv -c "nice -n 19 python2 /usr/bin/tv_grab_nl_py --output ~/listings.xml"
Best regards,
Cedric -
Please help, need to import .swf/flash media
Hi all, have a little issue here. I have some SWF flash media and I want to bring it into imovie so I can edit it more effectivley then with qt. However, I have been haveing alot of trouble, most time I only get the audio part of it and no image. Most of the media is widescreen, I was able to export the media in qt to dv stream and then import it, however, it lost its widescreen look and was kinda squished from the sides if that makes sense, if anybody has expeirence with this type of media, please help.
NathanHi Nathan,
I've never "dared" to convert .swf, but I read a lot about problems doing so... probably the Quicktime section of this forum is better to ask...
maybe a much easier workaround is using tools as SnapzPro from Ambrosia; this tool claims to "record" any screen content (and audio) and convert it directly into any wanted format (as dv)...
just a thought....... -
Cfgrid not displaying in flash format
<cfform format="flash" width="1000"
action="editContact.cfm">
<cfgrid name="contact" query="contact_details"
selectmode="edit" insert="yes" delete="yes" height="200"
width="1000" align="middle">
<cfgridcolumn name="ID" display="no">
<cfgridcolumn name="FIRST_NAME">
<cfgridcolumn name="LAST_NAME" >
<cfgridcolumn name="JOB_TITLE">
<cfgridcolumn name="EMAIL" >
<cfgridcolumn name="PHONE">
</cfgrid>
<br>
<cfinput type="submit" value="submit" name="submit">
</cfform>
Hi, the code above using cfgrid in flash format used to
display perfectly. But after some time, without changing the code,
cfgrid is not displaying anymore. Any reasons why this is
happening? Thanks.What error do you see? Anything?
Try tracing the page request by using coldfusion/jrun's
sniffer.exe,
Charles, or some other
tool. See what is going on. If the applet is starting to load,
enable the java console and review the errors there.
Does this issue happen on multiple client machines or just
one? What version of CFMX7 are you using (run sysinfo from
cfadmin). -
How do I insert a movie in Flash format?
How do I import or insert a movie in Flash format to
Fireworks? Because I had no problem doing so with image files, but
when I try to import the .swf file, it brings "All readable
files"and .swf are not included. Please I am in a hurry with this,
help me.admaldo wrote:
> How do I import or insert a movie in Flash format to
Fireworks?
You can't. You need to do that in Dreamweaver.
Linda Rathgeber [PVII] *Adobe Community Expert-Fireworks*
http://www.projectseven.com
Fireworks Newsgroup:
news://forums.projectseven.com/fireworks/
CSS Newsgroup: news://forums.projectseven.com/css/
http://www.adobe.com/communities/experts/ -
Running a .swf (Flash file) in JMF
Hi,
In my application i have to run .swf(Flash file) file. I have to do it using Java API. Can i do it using JMF.If so, how to do it. Is there any other API available to run .swf files in java.
Thank you in advance.Hi,
I don't know as much as most users here, but I have put up
about 18 different photo galleries on my DW site (almost ready to
be published).
I had to go into each code page where I wanted the gallery to
appear and paste the swf etc code. And it had to be pasted into the
code page not the design page.
Now, when I click a link to the specific page and look at it
in the design view, all I see is a large grey object. I can go into
the page properties and look at it that way, but I usually just
view it in my browzers. This Flash album is designed to work in the
browzer, not actually on the DW design page unless I specifically
click something.
This may not help you, as I said, this is my first site and
photo album dealings.
Good Luck
Rere -
Move DeltaX in style change record in swf file format
Hi
can anybody suggest that MoveDeltaX field in
StyleChangeRecords of swf file format is a absolute value or a
relative value?
Document says its a relative! But what I observed by a sample
file created by macromedia flash publisher is absolute!!
If i need to scale a shape,Do I need to scale the
MoveDeltaX...as we are doing for DeltaX and DeltaY of
StraightEdgeRecord.
thankyou.Hi ,
Thx for replies , i followed as shown in above blog and went fine but there is mapping error as shown below,
xml format after pick by sender file adapter
<?xml version="1.0" encoding="utf-8" ?>
<MT_DMS_FINAL>
<Record>
<Row>
<FirstName>296501_000_00</FirstName>
</Row>
</Record>
</MT_DMS_FINAL>
xml file format from test tab in Message mapping
<?xml version="1.0" encoding="UTF-8"?>
<MT_DMS_FINAL>
<Record>
<Row>
<FirstName>296501_000_00</FirstName>
</Row>
</Record>
</MT_DMS_FINAL>
See above xml first statment is different , how to make it equal
Help
Srini -
Encore Help | Exporting projects to Flash format
This question was posted in response to the following article: http://helpx.adobe.com/encore/using/exporting-projects-flash-format.html
It strikes me that Adobe can't settle on what to call an Encore project that has been output to Flash.
Is it a "Web DVD"? That term is used repeatedly in the New Features section. Is it simply "Flash". The Build panel lists the format as "Flash" and the Output as "Flash (.swf)." Or is it a "Flash DVD" or a "Flash Project"? Both terms are used in this page.
Flash output is an important feature of Encore. It would be a good thing to use a consistent name for the assets you end up with after you output to Flash. -
Flash programming using Java!
I found there are tools to compile .net applications to SWF movies that can be run by Flash.
Are there any similar tools for Java, which can compile Java programs into SWF files?
Looking for a way to write my Flash movies using Java...
Thanks :)see if this is useful
http://www.anotherbigidea.com/javaswf/
Thanks, but I wanted to find a way to use Java syntax instead of Actionscript syntax when programming SWF files...
Basically a compiler similar to javac, but which produces swf binaries instead of .class binaries. -
Making a flash animation into link
> This message is in MIME format. Since your mail reader
does not understand
this format, some or all of this message may not be legible.
--B_3271770931_3721276
Content-type: text/plain;
charset="ISO-8859-1"
Content-transfer-encoding: 8bit
Hi all
Could someone tell me how to make a animation placed into
Dreamweaver
clickable? I just need a simple link to another page but I
can¹t find where
to link anything in. Is it a parameter that I need to set up?
Thanks
--B_3271770931_3721276
Content-type: text/html;
charset="ISO-8859-1"
Content-transfer-encoding: quoted-printable
<HTML>
<HEAD>
<TITLE>Making a flash animation into link</TITLE>
</HEAD>
<BODY>
<FONT FACE=3D"Verdana, Helvetica, Arial"><SPAN
STYLE=3D'font-size:12.0px'>Hi al=
l<BR>
Could someone tell me how to make a animation placed into
Dreamweaver click=
able? I just need a simple link to another page but I
can’t find where=
to link anything in. Is it a parameter that I need to set
up?<BR>
<BR>
Thanks</SPAN></FONT>
</BODY>
</HTML>
--B_3271770931_3721276--Thanks Urami
Nice and simple, thanks very much
Gaz
On 5/9/07 12:29 am, in article
fbkpp1$juf$[email protected], "urami_"
<[email protected]> wrote:
>
>
> Garry Bradley wrote:
>> Hi all
>> Could someone tell me how to make a animation placed
into Dreamweaver
>> clickable? I just need a simple link to another page
but I can¹t find where
>> to link anything in. Is it a parameter that I need
to set up?
>
> You need to make that within flash movie.
> You could use big invisible button on top of your entire
content
> or simple apply onMouseDown event to the timeline which
will make
> the whole stage clickable, follow by getURL action.
> -
How to import a .swf flash movie
I am trying to put this .swf flash file in keynote but it wont go in. I drag it in and a picture of a piece of film shows up...its not recognizing the format.
What and how can i convert this .swf flash file to be compatible with keynote.
ThanksHello Tara,
It's simple, I've developed an animation with Catalyst (took me 2 days...to learn a move forward) and i would like to use that animation inside a flash website. so i'm trying to load the Catalyst swf file animation inside my flash main movie without success !
I"m tryin to do : loadMovie("catalyst_animation.swf", TargetA); TargetA is an empty movie clip located a certain position.
the loadMovie("catalyst_animation.swf", 0); is working but this is not what i want for a clear reason (loading inside and at a certain position).
Thank you for our help. -
Edit .swf templates by using java
Hello
Is any body use java to insert text in preformed swf templates.
I use anotherbigidea api for this.
If anybody have experience to do this than plz. help me.& provide me a little example of this
ThanksI am trying to write a java program to read a swf file
into bytestream and then try to open the swf file from
the bytestream, can any friends here know is it feasibile?
If not, any other suggestion?Open with what? Which SWF (flash?) reader are you using?
After reading the swf bytestream then try
to manipulate its header information so that
user cannot open the swf file by double click the file.For most users simply renaming the extention from .swf to .AnythingElse will render it un-doubleclickable. -
Flash .swf Flash Player
Hello!
This is what I'm trying to do:
Create a .swf Flash movie as an interface that will hold
media controls (play, pause, stop, track bar, volume, remaining
time, mute, etc)
Have a side bar list with all the movies I can load up to the
player with the lenght.
Every movie that can be uploaded is a .swf flash movie that
may be a presentation with sounds and even interactivity (tutorial
like)
I have experience in several programming languages (php, c++,
javascript, java, asp, etc) and also with dreamweaver, a bit of
fireworks, and I'm learning Flash (I've learned some basic stuff
like the simple moving animations and buttons)
I'd also need some sort of file reading system to read some
config files, that will have the title of every movie, and maybe
the lenght???
I've been checking out the ways to embed video, like
MovieClip, MovieClipLoader, FLVPlayback, and now I'm confused... :(
What should I use to do what I intend to do? what would be
the best approach? what would be the easier approach?
I'd appreciate that you point me into the right direction,
what should I learn? where to look for the info?
Thanks in Advance!pi_player_assets.xml
is the my roots ../pi/pi_player_assets/pi_player_assets.xml
folder where the file was located originally so i left i there
As for the swfobject_modified.js file I know exactly where it's at
it's in a whole seperate location Dreamweaver created for called Scripts
Am I supposed to replace the original swfobject.js with swfobject_modified.js
Maybe you are looking for
-
Select in stored procedures 11g
I come from MS Sql Server, so select statements in Oracle are confusing, I have only 3 days experience with Oracle 11g I have managed to use SELECT INTO in my SP Can anyone provide an example of select using a for loop_+ AND an example of select us
-
[solved] emacs won't start
I'm interested in learning some lisp and it seems like emacs+slime is the way to go (even though I perfer vim). Seems like there is something weird with my configuration somewhere, because it won't run. $>emacs emacs: Invalid visual specification `Di
-
Change button name in a for-loop
Hi all, I would like to implement a 'for loop' to add buttons to my panel depending on the value of max_number. The postion of these buttons will also change with each passing of the loop. The code below implements this. But when I click the buttons
-
Using Router for wireless dial-up connection
Can anyone tell me if I can use a router to set up a wireless network when I only have a dial-up internet connection available? I have a desktop computer that seems not to have a wireless network card, so I guess I have to have that first. Then, do
-
Altering / Adding Publication Items
Hi all, I know that there had been similar requests to this in the past and I have read all of these and I still have an issue. I have also seen rekounas's code to use the ConsolidatorManager API to add/alter.. the publication items. I have tried to