Search the web
Sign In
New User? Sign Up
JavaSWF-Support · Support and discussion about the JavaSWF pure Java wrapper package for the Macromedia Flash file format
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 1130 - 1159 of 1162   Newest  |  < Newer  |  Older >  |  Oldest
Messages: Show Message Summaries   (Group by Topic) Sort by Date v  
#1159 From: "chillrobot" <david@...>
Date: Tue Oct 13, 2009 3:52 pm
Subject: Looking for example illustrating use of SWFTimelineBuilder
chillrobot
Offline Offline
Send Email Send Email
 
I need to get the position of every shape in every frame. It seems that I should
be able to read the SWF in the following way and thereby create an SWFTimeline
object, but it's not clear how to access the object within the builder...

public static void main( String[] args ) throws IOException
     {
         FileInputStream fis = new FileInputStream( args[0] );

         SWFTimelineBuilder builder = new SWFTimelineBuilder();
         TagParser parser = new TagParser( builder );
         SWFReader reader = new SWFReader( builder, fis );

         try {
             reader.readFile();
         } finally {
             fis.close();
         }
     }

Is this a correct use of SWFTimelineBuilder? If so, how does one access the
constructed SWFTimeline?

Perhaps one subclasses the builder, and gets access to the protected timeline
that way; but then, how does the subclass know when the timeline is completed?
By polling isEnded() ?

#1158 From: Prabakaran Srinivasan <cute_karan2@...>
Date: Thu Apr 16, 2009 6:54 am
Subject: Re: Re: Clarification regarding Clip Events
cute_karan2
Offline Offline
Send Email Send Email
 
Thanks Nick,
                   Sorry for the delayed reply...




________________________________
From: Nick Main <david.nick.main@...>
To: JavaSWF-Support@yahoogroups.com
Sent: Tuesday, April 7, 2009 10:57:31 PM
Subject: Re: [JavaSWF-Support] Re: Clarification regarding Clip Events


What Flash version are you dealing with ? If <=8 then those vars should
appear on the _root object (if I recall correctly). If >= 9 then the vars
are a property of the LoaderInfo associated with the movieclip:
http://help. adobe.com/ en_US/AS3LCR/ Flash_10. 0/flash/display/ LoaderInfo.
html#parameters

On Mon, Apr 6, 2009 at 10:37 PM, Prabakaran Srinivasan <
cute_karan2@ yahoo.com> wrote:

> Thanks Nick,
> I found that code scriplet. I came across a strange
> situation, where a flash file has some query variables passed to the flash
> file (i.e. Flash Params). But, when this variable is accessed inside the
> flash file, it gives the value "undefined". Can you please tell me, when
> such scenarios will occur? Does encoding the URL of the Flash file, will
> stop the flash file from getting the value of the Flash params?
>
> Please let me know your clarifications on this.
>
> Cheers,
> Prabakaran Srinivasan.
>
> ____________ _________ _________ __
> From: Nick Main <david.nick.main@ gmail.com <david.nick. main%40gmail. com>>
> To: JavaSWF-Support@ yahoogroups. com <JavaSWF-Support% 40yahoogroups. com>
> Sent: Tuesday, April 7, 2009 1:13:52 AM
> Subject: [JavaSWF-Support] Re: Clarification regarding Clip Events
>
>
> Clip actions are part of the placeObject2 tag in SWFSpriteTagTypes. The
> actions are passed via the returned SWFActions interface.
>
> Parsed in TagParser::parsePla ceObject2.
>
> --- In JavaSWF-Support@ yahoogroups. com, Prabakaran Srinivasan
> <cute_karan2@ ...> wrote:
> >
> > Hi Nick,
> > ����������� Can you please tel me where the clip
> events will get parsed in the JavaSWF framework. I am using the old source
> code from sourceforge. net.
> >
> > Thanks in advance,
> > Prabakaran Srinivasan.
> >
> >
> >
> >
> > [Non-text portions of this message have been removed]
> >
>
> [Non-text portions of this message have been removed]
>
>
>

[Non-text portions of this message have been removed]







[Non-text portions of this message have been removed]

#1157 From: Nick Main <david.nick.main@...>
Date: Tue Apr 7, 2009 5:27 pm
Subject: Re: Re: Clarification regarding Clip Events
d_nick_main
Offline Offline
Send Email Send Email
 
What Flash version are you dealing with ? If <=8 then those vars should
appear on the _root object (if I recall correctly). If >= 9 then the vars
are a property of the LoaderInfo associated with the movieclip:
http://help.adobe.com/en_US/AS3LCR/Flash_10.0/flash/display/LoaderInfo.html#para\
meters

On Mon, Apr 6, 2009 at 10:37 PM, Prabakaran Srinivasan <
cute_karan2@...> wrote:

>   Thanks Nick,
>                     I found that code scriplet. I came across a strange
> situation, where a flash file has some query variables passed to the flash
> file (i.e. Flash Params). But, when this variable is accessed inside the
> flash file, it gives the value "undefined". Can you please tell me, when
> such scenarios will occur? Does encoding the URL of the Flash file, will
> stop the flash file from getting the value of the Flash params?
>
> Please let me know your clarifications on this.
>
> Cheers,
> Prabakaran Srinivasan.
>
> ________________________________
> From: Nick Main <david.nick.main@... <david.nick.main%40gmail.com>>
> To: JavaSWF-Support@yahoogroups.com <JavaSWF-Support%40yahoogroups.com>
> Sent: Tuesday, April 7, 2009 1:13:52 AM
> Subject: [JavaSWF-Support] Re: Clarification regarding Clip Events
>
>
> Clip actions are part of the placeObject2 tag in SWFSpriteTagTypes. The
> actions are passed via the returned SWFActions interface.
>
> Parsed in TagParser::parsePla ceObject2.
>
> --- In JavaSWF-Support@ yahoogroups. com, Prabakaran Srinivasan
> <cute_karan2@ ...> wrote:
> >
> > Hi Nick,
> > ����������� Can you please tel me where the clip
> events will get parsed in the JavaSWF framework. I am using the old source
> code from sourceforge. net.
> >
> > Thanks in advance,
> > Prabakaran Srinivasan.
> >
> >
> >
> >
> > [Non-text portions of this message have been removed]
> >
>
> [Non-text portions of this message have been removed]
>
>
>


[Non-text portions of this message have been removed]

#1156 From: Prabakaran Srinivasan <cute_karan2@...>
Date: Tue Apr 7, 2009 5:37 am
Subject: Re: Re: Clarification regarding Clip Events
cute_karan2
Offline Offline
Send Email Send Email
 
Thanks Nick,
                    I found that code scriplet. I came across a strange
situation, where a flash file has some query variables passed to the flash file
(i.e. Flash Params). But, when this variable is accessed inside the flash file,
it gives the value "undefined". Can you please tell me, when such scenarios will
occur? Does encoding the URL of the Flash file, will stop the flash file from
getting the value of the Flash params?

Please let me know your clarifications on this.

Cheers,
Prabakaran Srinivasan.




________________________________
From: Nick Main <david.nick.main@...>
To: JavaSWF-Support@yahoogroups.com
Sent: Tuesday, April 7, 2009 1:13:52 AM
Subject: [JavaSWF-Support] Re: Clarification regarding Clip Events


Clip actions are part of the placeObject2 tag in SWFSpriteTagTypes. The actions
are passed via the returned SWFActions interface.

Parsed in TagParser::parsePla ceObject2.

--- In JavaSWF-Support@ yahoogroups. com, Prabakaran Srinivasan <cute_karan2@
...> wrote:
>
> Hi Nick,
> ����������� Can you please tel me where the clip events
will get parsed in the JavaSWF framework. I am using the old source code from
sourceforge. net.
>
> Thanks in advance,
> Prabakaran Srinivasan.
>
>
>
>
> [Non-text portions of this message have been removed]
>







[Non-text portions of this message have been removed]

#1155 From: "Nick Main" <david.nick.main@...>
Date: Mon Apr 6, 2009 7:43 pm
Subject: Re: Clarification regarding Clip Events
d_nick_main
Offline Offline
Send Email Send Email
 
Clip actions are part of the placeObject2 tag in SWFSpriteTagTypes. The actions
are passed via the returned SWFActions interface.

Parsed in TagParser::parsePlaceObject2.


--- In JavaSWF-Support@yahoogroups.com, Prabakaran Srinivasan <cute_karan2@...>
wrote:
>
> Hi Nick,
> ����������� Can you please tel me where the clip events
will get parsed in the JavaSWF framework. I am using the old source code from
sourceforge.net.
>
> Thanks in advance,
> Prabakaran Srinivasan.
>
>
>
>
> [Non-text portions of this message have been removed]
>

#1154 From: Prabakaran Srinivasan <cute_karan2@...>
Date: Mon Apr 6, 2009 6:36 am
Subject: Clarification regarding Clip Events
cute_karan2
Offline Offline
Send Email Send Email
 
Hi Nick,
            Can you please tel me where the clip events will get parsed in the
JavaSWF framework. I am using the old source code from sourceforge.net.

Thanks in advance,
Prabakaran Srinivasan.




[Non-text portions of this message have been removed]

#1153 From: "infoligence_associates_software" <gurudatta_raut-itlogist@...>
Date: Sun Mar 1, 2009 4:55 pm
Subject: Re: Java Flash is the future for me ?
infoligence_...
Offline Offline
Send Email Send Email
 
Well thanks guys , i hav decided to move to GWT after looking at this demo

http://www.gwt-ext.com/demo/#panels


--- In JavaSWF-Support@yahoogroups.com, Logically Genius
<gurudatta_raut-itlogist@...> wrote:
>
>
> Hi people,
>
>
> It feels good to be in this group, its a surprise that this all was
happening in Nov 29, 2000 while i was being ruined by VB.Net, i mean
Java with Flash marriage, though seems like it never really took off
since.
>
>
> To tell u all the truth is that i am a nobody in Java and Flash,
thought i had learnt Java in 1997; i am a VB6 guy who has finally
decided to move on to the latest Java technologies. And actually this
is due to the NetBeans IDE maturity, cant afford to miss this Linux
train now.
>
>
> So i had been researching about what exactly i should be putting my
energies into, i am sure some of u will guide me in the pitfalls that
i may not see right now. But what i am doing is moving to Java since
M$ killed VB6 with .Net years ago and i dont want to be its victim again.
>
>
> After thinking for long (m still thinking) , i realized that Java
Applets with Java on server is actually the best deal out there for
database software development for small projects (my target market).
Though i can convince my customers to use JAVA on their machines, but
that will mean letting go the commercial web application development
since Applets are heavy weight on browsers even today, specially for
more complex UI apps. 
>
>
> So again and again i come back to same conclusion that somehow i
should be able to encapsulate Flash development with Java POJO such
that my users will see a Flash interface but it will act exactly like
Java Applets (i think GWT encapsulates JavaScript with Java so why not
do the same with Flash) and interact with Java on server as if its an
Java Applet.
>
>
> So my basic idea is not just to compile Java code to create Flash as
output but to have Java wrappers that interact with the flash (just
like RMI Stub) in the browser without having Java installed on the
client machine. All this because Flash is super light weight and with
caching it will only get more faster; And Java is the language that is
better than scripting anyday.
>
>
> I hope some dont get angry on all this, forgive my naiveness, i am
here to get diretions actually and am not a kid, but one way or other
i am staying in Java + NetBeans + Linux for a very long time now, the
time for this has finally arrived. If i make any sense then please
respond, that will inspire me
> to make more posts here and hope i am allowed to do so.
>
>
> Check these out,
> http://en.wikipedia.org/wiki/BlazeDS
>
> http://blogs.zdnet.com/Stewart/?p=177
>
> ^ ^ Can they be married ?
>
>
> Also read this one
http://www.intelligententerprise.com/channels/information_management/showArticle\
.jhtml?articleID=212300129
>  for those who think things with Flash and Java are a bygone era.
>
>
> Waiting for response,
>
> - Logically Genius
>
>
>
> PS> please add these link in the group description
> http://www.anotherbigidea.com/javaswf/
> http://epistemologicalengineering.blogspot.com/
>
>
>       Check out the all-new Messenger 9.0! Go to
http://in.messenger.yahoo.com/
>
> [Non-text portions of this message have been removed]
>

#1152 From: "Nick Main" <nickmain@...>
Date: Wed Feb 25, 2009 6:41 pm
Subject: RTMP - Re: Help needed for understanding AS3 instruction with opcode 0xDF
d_nick_main
Offline Offline
Send Email Send Email
 
I remember fixing something in ButtonRecord a while back - I will
check when I have time.

RTMP is Adobe's proprietary messaging protocol so it is not something
I know much about. However Adobe has committed to opening the spec
soon - see the press release: http://www.adobe.com/devnet/rtmp/

In the meantime, I think that the Red5 o/s media server has some rtmp
code in it that you could use.
http://code.google.com/p/red5/
and
http://ptrthomas.wordpress.com/2008/04/19/how-to-record-rtmp-flash-
video-streams-using-red5/

Let us know how that works.

--- In JavaSWF-Support@yahoogroups.com, Prabakaran Srinivasan
<cute_karan2@...> wrote:
>
> Hi Nick,
>            The source was the older one from the sourceforge. I
checked with the avm2overview.pdf and fixed it by myself.
> I guess there was another issue which i fixed for ButtonRecord2. I
think ButtonRecord2 missed some extra parameters like blend, filters
and etc.. I have fixed that too. Is that one fixed in the latest code
base in google?
>
> Also, can you please tell me how to deal with URL s that starts with
 rtmp://. How to make a request to an RTMP server from a java code? I
am rewriting the flash files in such a way that all the HTTP requests
or URL calls are routed through my code. So, am getting such rtmp://
url s in my Java code which the server is not able to interpret. Also,
when such a call is made over the HTTP, it just returns a 404 error.
Any small help on this would mean a lot to me. Please provide me any
examples or any documents related to this.
>
> Thanks for the help,
> Prabakaran Srinivasan.
>
>
>  
>
>
>
> ________________________________
> From: Nick Main <nickmain@...>
> To: JavaSWF-Support@yahoogroups.com
> Sent: Tuesday, February 24, 2009 7:20:46 PM
> Subject: [JavaSWF-Support] Re: Help needed for understanding AS3
instruction with opcode 0xDF
>
>
> Which codebase was this ? The older AVM2 parser on SF did have a bug
> relating to incorrect parsing of debug instructions - that was fixed
> in the Google Code version.
>
> --- In JavaSWF-Support@ yahoogroups. com, Prabakaran Srinivasan
> <cute_karan2@ ...> wrote:
> >
> > Hi All/ Nick,
> > ������������������ I tried
parsing an swf file of version 9, it did
> throw an Unknown Opcode exception 0xDF while being parsed. When i
> decompiled the file, i saw some debug, debug line statements inside
> the actionscript code. Is JavaSWF framework intelligent enough to
> handle such opcodes. Also, someone please explain which instruction
> that opcode 0xDF represents. If you guyz, need the flash file, let
me
> know..
> >
> > Thanks in advance,
> > Prabakaran Srinivasan.
> >
> >
> >
> >
> > [Non-text portions of this message have been removed]
> >
>
>
>
>
>
>
>
> [Non-text portions of this message have been removed]
>

#1151 From: Prabakaran Srinivasan <cute_karan2@...>
Date: Wed Feb 25, 2009 7:49 am
Subject: Re: Re: Help needed for understanding AS3 instruction with opcode 0xDF
cute_karan2
Offline Offline
Send Email Send Email
 
Hi Nick,
           The source was the older one from the sourceforge. I checked with the
avm2overview.pdf and fixed it by myself.
I guess there was another issue which i fixed for ButtonRecord2. I think
ButtonRecord2 missed some extra parameters like blend, filters and etc.. I have
fixed that too. Is that one fixed in the latest code base in google?

Also, can you please tell me how to deal with URL s that starts with  rtmp://.
How to make a request to an RTMP server from a java code? I am rewriting the
flash files in such a way that all the HTTP requests or URL calls are routed
through my code. So, am getting such rtmp:// url s in my Java code which the
server is not able to interpret. Also, when such a call is made over the HTTP,
it just returns a 404 error. Any small help on this would mean a lot to me.
Please provide me any examples or any documents related to this.

Thanks for the help,
Prabakaran Srinivasan.


 



________________________________
From: Nick Main <nickmain@...>
To: JavaSWF-Support@yahoogroups.com
Sent: Tuesday, February 24, 2009 7:20:46 PM
Subject: [JavaSWF-Support] Re: Help needed for understanding AS3 instruction
with opcode 0xDF


Which codebase was this ? The older AVM2 parser on SF did have a bug
relating to incorrect parsing of debug instructions - that was fixed
in the Google Code version.

--- In JavaSWF-Support@ yahoogroups. com, Prabakaran Srinivasan
<cute_karan2@ ...> wrote:
>
> Hi All/ Nick,
> ������������������ I tried parsing an swf
file of version 9, it did
throw an Unknown Opcode exception 0xDF while being parsed. When i
decompiled the file, i saw some debug, debug line statements inside
the actionscript code. Is JavaSWF framework intelligent enough to
handle such opcodes. Also, someone please explain which instruction
that opcode 0xDF represents. If you guyz, need the flash file, let me
know..
>
> Thanks in advance,
> Prabakaran Srinivasan.
>
>
>
>
> [Non-text portions of this message have been removed]
>







[Non-text portions of this message have been removed]

#1150 From: "Nick Main" <nickmain@...>
Date: Tue Feb 24, 2009 2:00 pm
Subject: Call for issues
d_nick_main
Offline Offline
Send Email Send Email
 
It's time to start logging all the issues and missing features so we
can start powering through them.

If you can start sending me your bugs and requests to (at gmail)
david-dot-nick-dot-main, I'll get them entered in the issues list:
http://code.google.com/p/j2swf/issues/list

Also - anyone mind moving to a Google group instead of this Yahoo one ?

#1149 From: "Nick Main" <nickmain@...>
Date: Tue Feb 24, 2009 1:50 pm
Subject: Re: Help needed for understanding AS3 instruction with opcode 0xDF
d_nick_main
Offline Offline
Send Email Send Email
 
Which codebase was this ? The older AVM2 parser on SF did have a bug
relating to incorrect parsing of debug instructions - that was fixed
in the Google Code version.

--- In JavaSWF-Support@yahoogroups.com, Prabakaran Srinivasan
<cute_karan2@...> wrote:
>
> Hi All/ Nick,
> ������������������ I tried parsing an swf
file of version 9, it did
throw an Unknown Opcode exception 0xDF while being parsed. When i
decompiled the file, i saw some debug, debug line statements inside
the actionscript code. Is JavaSWF framework intelligent enough to
handle such opcodes. Also, someone please explain which instruction
that opcode 0xDF represents. If you guyz, need the flash file, let me
know..
>
> Thanks in advance,
> Prabakaran Srinivasan.
>
>
>
>
> [Non-text portions of this message have been removed]
>

#1148 From: Prabakaran Srinivasan <cute_karan2@...>
Date: Tue Feb 24, 2009 10:17 am
Subject: Help needed for understanding AS3 instruction with opcode 0xDF
cute_karan2
Offline Offline
Send Email Send Email
 
Hi All/ Nick,
                   I tried parsing an swf file of version 9, it did throw an
Unknown Opcode exception 0xDF while being parsed. When i decompiled the file, i
saw some debug, debug line statements inside the actionscript code. Is JavaSWF
framework intelligent enough to handle such opcodes. Also, someone please
explain which instruction that opcode 0xDF represents. If you guyz, need the
flash file, let me know..

Thanks in advance,
Prabakaran Srinivasan.




[Non-text portions of this message have been removed]

#1147 From: "satchmobu" <sascha@...>
Date: Mon Feb 23, 2009 1:48 pm
Subject: Re: Updatedet source version of baseline zip?
satchmobu
Offline Offline
Send Email Send Email
 
Thanks Nick for making that code work again.

What would be good replacement code for the "MovieBuilder" example
with your preferred low level api (e.g parse existing swf to change
images,fonts,text)? Do you have an example for that?

kind regards
Sascha

#1146 From: "Nick Main" <nickmain@...>
Date: Sat Feb 21, 2009 6:47 am
Subject: Re: Updatedet source version of baseline zip?
d_nick_main
Offline Offline
Send Email Send Email
 
I added that code back, and made it compile, at
http://code.google.com/p/j2swf/source/browse/#svn/trunk/j2swf/src/legacy

I don't think the "Movie" model will be enhanced any more - that was
the reason it wasn't migrated over from sourceforge. JavaSWF/j2swf is
really about the low-level file format parsing/writing and I've never
been really satisfied with any of the higher-level models or abstractions.

May revisit that when the j2avm project is stable. One of the first
things to be done will be to make j2swf usable when translated and
running in the Flash player - for generating and loading SWF on the
fly inside Flash apps.

--- In JavaSWF-Support@yahoogroups.com, "satchmobu" <sascha@...> wrote:
>
> thank you Nick,
>
> I have checked out the code from code.google.com
> But where is the com.anotherbigidea.flash.movie package?
>
> regards
> Sascha
>
> --- In JavaSWF-Support@yahoogroups.com, "Nick Main" <nickmain@> wrote:
> >
> > The active codebase is at http://code.google.com/p/j2swf/
> >
> > --- In JavaSWF-Support@yahoogroups.com, "satchmobu" <sascha@>
> > wrote:
> > >
> > > Hello,
> > >
> > > I tried running example ReadMovie with sources from subversion and
> > the
> > > baseline.zip but there are some changes that block compiling.
> > > Where can I found updated sources of com.anotherbigidea.flash.movie
> > > that work with latest SVN trunk.
> > >
> > > thank you
> > > Sascha
> > >
> >
>

#1145 From: "satchmobu" <sascha@...>
Date: Fri Feb 20, 2009 9:51 am
Subject: Re: Updatedet source version of baseline zip?
satchmobu
Offline Offline
Send Email Send Email
 
thank you Nick,

I have checked out the code from code.google.com
But where is the com.anotherbigidea.flash.movie package?

regards
Sascha

--- In JavaSWF-Support@yahoogroups.com, "Nick Main" <nickmain@...> wrote:
>
> The active codebase is at http://code.google.com/p/j2swf/
>
> --- In JavaSWF-Support@yahoogroups.com, "satchmobu" <sascha@>
> wrote:
> >
> > Hello,
> >
> > I tried running example ReadMovie with sources from subversion and
> the
> > baseline.zip but there are some changes that block compiling.
> > Where can I found updated sources of com.anotherbigidea.flash.movie
> > that work with latest SVN trunk.
> >
> > thank you
> > Sascha
> >
>

#1144 From: "Nick Main" <nickmain@...>
Date: Thu Feb 19, 2009 3:45 pm
Subject: Re: Updatedet source version of baseline zip?
d_nick_main
Offline Offline
Send Email Send Email
 
The active codebase is at http://code.google.com/p/j2swf/

--- In JavaSWF-Support@yahoogroups.com, "satchmobu" <sascha@...>
wrote:
>
> Hello,
>
> I tried running example ReadMovie with sources from subversion and
the
> baseline.zip but there are some changes that block compiling.
> Where can I found updated sources of com.anotherbigidea.flash.movie
> that work with latest SVN trunk.
>
> thank you
> Sascha
>

#1143 From: "satchmobu" <sascha@...>
Date: Thu Feb 19, 2009 12:32 pm
Subject: Updatedet source version of baseline zip?
satchmobu
Offline Offline
Send Email Send Email
 
Hello,

I tried running example ReadMovie with sources from subversion and the
baseline.zip but there are some changes that block compiling.
Where can I found updated sources of com.anotherbigidea.flash.movie
that work with latest SVN trunk.

thank you
Sascha

#1142 From: Logically Genius <gurudatta_raut-itlogist@...>
Date: Tue Jan 20, 2009 5:38 am
Subject: Java Flash is the future for me ?
infoligence_...
Offline Offline
Send Email Send Email
 
Hi people,


It feels good to be in this group, its a surprise that this all was happening in
Nov 29, 2000 while i was being ruined by VB.Net, i mean Java with Flash
marriage, though seems like it never really took off since.


To tell u all the truth is that i am a nobody in Java and Flash, thought i had
learnt Java in 1997; i am a VB6 guy who has finally decided to move on to the
latest Java technologies. And actually this is due to the NetBeans IDE maturity,
cant afford to miss this Linux train now.


So i had been researching about what exactly i should be putting my energies
into, i am sure some of u will guide me in the pitfalls that i may not see right
now. But what i am doing is moving to Java since M$ killed VB6 with .Net years
ago and i dont want to be its victim again.


After thinking for long (m still thinking) , i realized that Java Applets with
Java on server is actually the best deal out there for database software
development for small projects (my target market). Though i can convince my
customers to use JAVA on their machines, but that will mean letting go the
commercial web application development since Applets are heavy weight on
browsers even today, specially for more complex UI apps. 


So again and again i come back to same conclusion that somehow i should be able
to encapsulate Flash development with Java POJO such that my users will see a
Flash interface but it will act exactly like Java Applets (i think GWT
encapsulates JavaScript with Java so why not do the same with Flash) and
interact with Java on server as if its an Java Applet.


So my basic idea is not just to compile Java code to create Flash as output but
to have Java wrappers that interact with the flash (just like RMI Stub) in the
browser without having Java installed on the client machine. All this because
Flash is super light weight and with caching it will only get more faster; And
Java is the language that is better than scripting anyday.


I hope some dont get angry on all this, forgive my naiveness, i am here to get
diretions actually and am not a kid, but one way or other i am staying in Java +
NetBeans + Linux for a very long time now, the time for this has finally
arrived. If i make any sense then please respond, that will inspire me
to make more posts here and hope i am allowed to do so.


Check these out,
http://en.wikipedia.org/wiki/BlazeDS

http://blogs.zdnet.com/Stewart/?p=177

^ ^ Can they be married ?


Also read this one
http://www.intelligententerprise.com/channels/information_management/showArticle\
.jhtml?articleID=212300129
 for those who think things with Flash and Java are a bygone era.


Waiting for response,

- Logically Genius



PS> please add these link in the group description
http://www.anotherbigidea.com/javaswf/
http://epistemologicalengineering.blogspot.com/


       Check out the all-new Messenger 9.0! Go to http://in.messenger.yahoo.com/

[Non-text portions of this message have been removed]

#1141 From: Prabakaran Srinivasan <cute_karan2@...>
Date: Fri Nov 14, 2008 1:29 pm
Subject: Possibilities of getting all the instructions available in a function
cute_karan2
Offline Offline
Send Email Send Email
 
Hi All,
       Can anyone help me out in getting the information about the different set
of instructions available in a function.

According to me, the pushed values are written to the stream once a getVariable
or setVariable instruction comes. But i need to track the set of instructions
available on a function.

So, if somebody can give me a clue about this, it would be of great help.

Let me tell you guyz, why i need to track it.

Say for eg, a function has a movieclip loadMovie Call such as

mc_temp.loadMovie(url);

I want to rewrite this as follows

mc_temp.loadMovie(rewriteUrl(url)); where rewriteUrl is my API to update the
url.

The instruction set for mc_temp.loadMovie(url); is as follows

#1    push url
#2    getVariable
#3    push 1 "mc_temp"
#4    getVariable
#5    push "loadMovie"
#6    callMethod
#7    pop

I want to track the url going in as a parameter. So, Iam trying to track the
instructions in ActionParser.java.
But I am not able to rewrite to pass the url to my API, coz the instructions
would have been written to the stream, by the time i realise that it s a
loadMovie call. So, If  I am able to get all the instructions available in a
function, i can traverse through it to find whether there are any loadMovie call
and act accordingly.

So, somebody, please help me out in achieving this.

Thanks in advance,
Prabakaran Srinivasan.




[Non-text portions of this message have been removed]

#1140 From: Prabakaran Srinivasan <cute_karan2@...>
Date: Wed Oct 8, 2008 6:16 am
Subject: Help needed in capturing the url in loadMovie API of MovieClip
cute_karan2
Offline Offline
Send Email Send Email
 
Hi All,
        Can anyone suggest me anyways of capturing the url that will be passed
to the loadMovie API in MovieClip.

This would be of great help.

Thanks,
Prabakaran Srinivasan.




[Non-text portions of this message have been removed]

#1139 From: Jeffrey Remling <remlingj@...>
Date: Fri Sep 26, 2008 1:43 pm
Subject: Tutorial
remlingj
Offline Offline
Send Email Send Email
 
Hi all,
I've been assigned to make a virtual aquarium and whereas I can handle the logic
behind it, I've always avoided computer graphics like cholera.  Can anyone
recommend a good tutorial for linking and directing .swf images to Java objects?
Thanks.

#1138 From: Prabakaran Srinivasan <cute_karan2@...>
Date: Tue Sep 23, 2008 2:03 pm
Subject: Re: clipactions implemented
cute_karan2
Offline Offline
Send Email Send Email
 
Hi David,
            Thanks for the update. Can you send me the code that you have added
for changing the values of the getURL and getURL2. It will be of great help..

Thanks in advance,
Prabakaran Srinivasan.



----- Original Message ----
From: David Peterson <david_peterson4146@...>
To: JavaSWF-Support@yahoogroups.com
Sent: Tuesday, September 23, 2008 5:19:29 PM
Subject: Re: [JavaSWF-Support] clipactions implemented


1. I am not currently using defineshape4 or linestyle2.
2. JavaSWF writes back the version of the input file to the output file, so kind
of by definition, JavaSWF supports any version....

Now having said that, it is more of a question of what tags do you support. The
only additional support that I have added to JavaSWF is to a) support
clipactions b) support changing the url values in getUrl and getUrl2.

Thanks.
Dave

----- Original Message ----
From: leesing Ong <leesing_ong@ yahoo.com>
To: JavaSWF-Support@ yahoogroups. com
Sent: Tuesday, September 23, 2008 12:58:00 AM
Subject: Re: [JavaSWF-Support] clipactions implemented

Hi David

Do you happen to be using DefineShape4 and LineStyle2 which are tags not
supported by the released javaSWF?
What version of SWF are you producing using javaSWF?

Thanks
Lee

----- Original Message ----
From: David Peterson <david_peterson4146 @ yahoo.com>
To: JavaSWF-Support@ yahoogroups. com
Sent: Tuesday, September 23, 2008 6:29:49 AM
Subject: [JavaSWF-Support] clipactions implemented

I implemented clipaction support in the framework if anyone is
interested in the code, please contact me. I'd add it to a repository
if there is one, just point me to where it resides.

[Non-text portions of this message have been removed]

[Non-text portions of this message have been removed]






[Non-text portions of this message have been removed]

#1137 From: David Peterson <david_peterson4146@...>
Date: Tue Sep 23, 2008 11:49 am
Subject: Re: clipactions implemented
david_peters...
Online Now Online Now
Send Email Send Email
 
1.  I am not currently using defineshape4 or linestyle2.
2.  JavaSWF writes back the version of the input file to the output file, so
kind of by definition, JavaSWF supports any version....

Now having said that, it is more of a question of what tags do you support.  The
only additional support that I have added to JavaSWF is to a) support
clipactions b) support changing the url values in getUrl and getUrl2.

Thanks.
Dave



----- Original Message ----
From: leesing Ong <leesing_ong@...>
To: JavaSWF-Support@yahoogroups.com
Sent: Tuesday, September 23, 2008 12:58:00 AM
Subject: Re: [JavaSWF-Support] clipactions implemented


Hi David

Do you happen to be using DefineShape4 and LineStyle2 which are tags not
supported by the released javaSWF?
What version of SWF are you producing using javaSWF?

Thanks
Lee

----- Original Message ----
From: David Peterson <david_peterson4146@ yahoo.com>
To: JavaSWF-Support@ yahoogroups. com
Sent: Tuesday, September 23, 2008 6:29:49 AM
Subject: [JavaSWF-Support] clipactions implemented

I implemented clipaction support in the framework if anyone is
interested in the code, please contact me.  I'd add it to a repository
if there is one, just point me to where it resides.

[Non-text portions of this message have been removed]






[Non-text portions of this message have been removed]

#1136 From: leesing Ong <leesing_ong@...>
Date: Tue Sep 23, 2008 4:58 am
Subject: Re: clipactions implemented
leesing_ong
Offline Offline
Send Email Send Email
 
Hi David

Do you happen to be using DefineShape4 and LineStyle2 which are tags not
supported by the released javaSWF?
What version of SWF are you producing using javaSWF?

Thanks
Lee



----- Original Message ----
From: David Peterson <david_peterson4146@...>
To: JavaSWF-Support@yahoogroups.com
Sent: Tuesday, September 23, 2008 6:29:49 AM
Subject: [JavaSWF-Support] clipactions implemented


I implemented clipaction support in the framework if anyone is
interested in the code, please contact me.  I'd add it to a repository
if there is one, just point me to where it resides.






[Non-text portions of this message have been removed]

#1135 From: "David Peterson" <david_peterson4146@...>
Date: Mon Sep 22, 2008 10:29 pm
Subject: clipactions implemented
david_peters...
Online Now Online Now
Send Email Send Email
 
I implemented clipaction support in the framework if anyone is
interested in the code, please contact me.  I'd add it to a repository
if there is one, just point me to where it resides.

#1134 From: "Ong Lee Sing" <leesing_ong@...>
Date: Thu Sep 18, 2008 11:11 am
Subject: SWFTagTypes::tagDefineShape bug producing CURVEEDGE line... Need help
leesing_ong
Offline Offline
Send Email Send Email
 
Hi

I am following the example "How to create a simple movie at the file
format level" on the web.

The example works fine but I got this weird error when I try to draw a
longer line. The function SWFShape::Line actually draws a CURVEDEDGE
line instead of a straightline when I increase the dx, dy to the
following values....

SWFWriter writer = new SWFWriter( "C:\\temp\\swf\\SWFFileLevel.swf" );
SWFTagTypes swf = new TagWriter( writer );
SWFCustomTags CITag = (SWFCustomTags) swf;
CIShape CIObject;

swf.header( 5,     //Flash version
                     -1,    //unknown length
                     800000,
                     800000,
                     12,    //frames per sec
                     -1 );  //unknown frame count
swf.tagSetBackgroundColor( new Color(255,255,255) );

  //--define a shape\
  Rect outline = new Rect( -2000, -2000, 80000, 80000 );

shape = swf.tagDefineShape2(3, outline);
         shape.defineFillStyle( new Color( 255, 0, 0 ) );
         shape.defineLineStyle( 40, new Color( 0, 0, 0 ) );
         shape.setFillStyle1( 1 );
         shape.setLineStyle( 1 );
         shape.move( 2000, 2000 );  //move coords are absolute

         //******************ERRER***************
         //This value caused the defineShape tag to draw a CURVEEDGE
         //line when i use a swf decompiler to see.
         //Other values like in the example are fine....
         shape.line( 8388, 79666 );
         shape.done();

Any one has any idea whether I have used the API incorrectly or this
is a known bug?

Please help.

Thanks

Lee Sing

#1133 From: "odolu" <odolu@...>
Date: Fri Aug 29, 2008 6:20 pm
Subject: Re: Creating an image of a swf frame????????
odolu
Offline Offline
Send Email Send Email
 
--- In JavaSWF-Support@yahoogroups.com, "franck_lepretre"
<franck_lepretre@...> wrote:
>
> I uploaded QtJava.zip.
> That should include all necessary files now.
> Good luck
> Franck
>

I ve download zip file and extract as QTJava folder in lib folder of my
NetBeans project. There is no compilation error but while debugging it
says unsatisfyinglinkerror at the second line of the below code :s

SWF2Images swf2images = new SWF2Images();
swf2images.createImage("c:\\ibmr.swf", "c:\\ibmr.jpeg");

#1132 From: "Nick Main" <nickmain@...>
Date: Mon Aug 25, 2008 4:38 pm
Subject: Re: Doubt regarding the instructions
d_nick_main
Offline Offline
Send Email Send Email
 
Excellent !

The debug player is available from the Flash Player Support center:
http://www.adobe.com/support/flashplayer/downloads.html

This page has some details of configuring and locating the flash log file:
http://livedocs.adobe.com/flex/201/html/wwhelp/wwhimpl/common/html/wwhelp.htm?co\
ntext=LiveDocs_Book_Parts&file=logging_125_04.html

Hope that helps.

--- In JavaSWF-Support@yahoogroups.com, Prabakaran Srinivasan
<cute_karan2@...> wrote:
>
> Hi Nick,
>                 Thanks a lot. I was able to figure out this issue
yesterday. I did not update the jump offset of the branching
instruction iffalse, which was the root cause. Iam using the normal
flash player. Can you please tell me where i can download this debug
player? Where the flash logs will be stored.. This will be helpful for
my future endeavours.
> Once again, Thanks a lot.
> Cheers,
> Prabakaran Srinivasan.
>
>

#1131 From: Prabakaran Srinivasan <cute_karan2@...>
Date: Thu Aug 21, 2008 6:52 am
Subject: Re: Re: Doubt regarding the instructions
cute_karan2
Offline Offline
Send Email Send Email
 
Hi Nick,
                Thanks a lot. I was able to figure out this issue yesterday. I
did not update the jump offset of the branching instruction iffalse, which was
the root cause. Iam using the normal flash player. Can you please tell me where
i can download this debug player? Where the flash logs will be stored.. This
will be helpful for my future endeavours.
Once again, Thanks a lot.
Cheers,
Prabakaran Srinivasan.



----- Original Message ----
From: Nick Main <nickmain@...>
To: JavaSWF-Support@yahoogroups.com
Sent: Thursday, August 21, 2008 2:22:16 AM
Subject: [JavaSWF-Support] Re: Doubt regarding the instructions


Hey Prabakaran,

Are you using the debug player ? When the verifier chokes like this
it writes a dump of the bytecode into the flash log. That includes
all the instructions in the current method, along with stack and local
variable states. This info would be useful in figuring out the problem.

The verifier will check the bytecode before execution to make sure
that the stack and local var state is compatible with the instructions.
This error could mean that you've inserted instructions which will
leave the stack empty before an instruction which is expecting one
value to be on the stack.
It could also mean that there are several different execution paths
(e.g. from looping or conditional expressions) through the point where
verification failed, and that when following one path the stack has 1
item and when following the other it has zero.

Again - getting hold of the flash log will pinpoint the error.

The AVM2 Overview document gives some explanation of the two stacks.
Briefly - the scope stack is used to hold the list of objects/scopes
that will be searched when looking for a property by name. The
execution stack holds all the other instruction operands and results.
I don't know, but guess that the verifier won't check the scope
stack, other than to make sure it is not empty.

If you have trouble interpreting the flash log, post it here or send
it to me directly.

Good luck.

--Nick

--- In JavaSWF-Support@ yahoogroups. com, Prabakaran Srinivasan
<cute_karan2@ ...> wrote:
>
> Hi Nick/ Anybody,
> ��� ��� ��� ��� ��� ��� I have a
clarification regarding an error
message which the flash player displays. I tried injecting
some�instructions into existing methods available in the Actionscript
Version 3 classes. When i try to execute the file in which i injected
my code, the player displays an error message saying
> Verify Error : 1030 Stack depth is unbalanced 1 != 0.
> I checked with many of the forums and the solution i found was, the
SWF file has been corrupted. I can understand that i have done
something wrong with the code injection. But i just want to understand
the meaning of the error message given above.
> What does that 1 and 0 stand�for????
> The player gives an error saying the stack depth is unbalanced.
> Which stack does it refer to, the scope stack or the operand stack?
> Also please let me know the usage of these 2 stacks when dealing
with the instruction sets of the methods.
> I hardly understand anything from the error message.
> Please help me..
> Thanks in advance,
> Prabakaran Srinivasan.
>
>
>
>
> [Non-text portions of this message have been removed]
>






[Non-text portions of this message have been removed]

#1130 From: "Nick Main" <nickmain@...>
Date: Wed Aug 20, 2008 8:52 pm
Subject: Re: Doubt regarding the instructions
d_nick_main
Offline Offline
Send Email Send Email
 
Hey Prabakaran,

Are you using the debug player ?  When the verifier chokes like this
it writes a dump of the bytecode into the flash log.  That includes
all the instructions in the current method, along with stack and local
variable states.  This info would be useful in figuring out the problem.

The verifier will check the bytecode before execution to make sure
that the stack and local var state is compatible with the instructions.
This error could mean that you've inserted instructions which will
leave the stack empty before an instruction which is expecting one
value to be on the stack.
It could also mean that there are several different execution paths
(e.g. from looping or conditional expressions) through the point where
verification failed, and that when following one path the stack has 1
item and when following the other it has zero.

Again - getting hold of the flash log will pinpoint the error.

The AVM2 Overview document gives some explanation of the two stacks.
Briefly - the scope stack is used to hold the list of objects/scopes
that will be searched when looking for a property by name. The
execution stack holds all the other instruction operands and results.
  I don't know, but guess that the verifier won't check the scope
stack, other than to make sure it is not empty.

If you have trouble interpreting the flash log, post it here or send
it to me directly.

Good luck.

--Nick

--- In JavaSWF-Support@yahoogroups.com, Prabakaran Srinivasan
<cute_karan2@...> wrote:
>
> Hi Nick/ Anybody,
> ��� ��� ��� ��� ��� ��� I have a
clarification regarding an error
message which the flash player displays. I tried injecting
some�instructions into existing methods available in the Actionscript
Version 3 classes. When i try to execute the file in which i injected
my code, the player displays an error message saying
> Verify Error : 1030 Stack depth is unbalanced 1 != 0.
> I checked with many of the forums and the solution i found was, the
SWF file has been corrupted. I can understand that i have done
something wrong with the code injection. But i just want to understand
the meaning of the error message given above.
> What does that 1 and 0 stand�for????
> The player gives an error saying the stack depth is unbalanced.
> Which stack does it refer to, the scope stack or the operand stack?
> Also please let me know the usage of these 2 stacks when dealing
with the instruction sets of the methods.
> I hardly understand anything from the error message.
> Please help me..
> Thanks in advance,
> Prabakaran Srinivasan.
>
>
>
>
> [Non-text portions of this message have been removed]
>

Messages 1130 - 1159 of 1162   Newest  |  < Newer  |  Older >  |  Oldest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help