You can subscribe to this list here.
2001 |
Jan
|
Feb
(16) |
Mar
(22) |
Apr
(129) |
May
(47) |
Jun
(49) |
Jul
(60) |
Aug
(92) |
Sep
(60) |
Oct
(42) |
Nov
(74) |
Dec
(39) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2002 |
Jan
(38) |
Feb
(94) |
Mar
(52) |
Apr
(82) |
May
(27) |
Jun
(19) |
Jul
(1) |
Aug
(12) |
Sep
(1) |
Oct
(8) |
Nov
(15) |
Dec
(18) |
2003 |
Jan
(22) |
Feb
(5) |
Mar
(1) |
Apr
(2) |
May
(3) |
Jun
(12) |
Jul
(1) |
Aug
(3) |
Sep
(3) |
Oct
(28) |
Nov
(1) |
Dec
|
2004 |
Jan
|
Feb
|
Mar
(1) |
Apr
(2) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
2005 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(2) |
Jun
|
Jul
|
Aug
(3) |
Sep
|
Oct
|
Nov
|
Dec
(1) |
2006 |
Jan
(2) |
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: <ma...@su...> - 2006-07-28 09:39:00
|
I've seen this discussed in several places and looked at the JavaDocs about it, but I'm trying to figure out how to programmatically generate an SWF file directly from the Java objects. This is what I have so far: package test; import java.awt.geom.*; import java.io.*; import com.iv.flash.api.*; import com.iv.flash.api.text.*; import com.iv.flash.util.*; public class TestJGenerator { public static void main(String[] args) throws Exception { Script script = new Script(1); script.setMain(); FlashFile ff = FlashFile.newFlashFile(); ff.setMainScript(script); Frame frame = script.newFrame(); Text text = Text.newText(); TextItem item = new TextItem("Hello World", null, 36 * 20, AlphaColor.red); text.addTextItem(item); text.setBounds(0, 0, 100 * 20, 100 * 20); frame.addInstance(text, 1, new AffineTransform(), null); FlashOutput output = ff.generate(); BufferedOutputStream bos = new BufferedOutputStream(new FileOutputStream(new File("example.swf"))); bos.write(output.getBuf(), 0, output.getSize()); bos.flush(); bos.close(); } } It renders without errors but the page is entirely blank. Could I get a reference to some resources on learning how to do this or could someone correct whatever I'm doing wrong here? Thank you, Matt |
From: Cool C. <cap...@ya...> - 2006-02-16 17:02:14
|
Hello, I want to now if it is possible to do this: Program p = new Program(); p. getTimer(); //Calculates the number of milliseconds since the Player was started (an integer). //This number is pushed to the stack. an write this number of milliseconds to a Java Int variable. It is possible to pass this number of milliseconds to a methode as parameter for example to gotoFrame(---) Any help will be appreciate Thanks Capwello --------------------------------- Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs exceptionnels pour appeler la France et l'international.Téléchargez la version beta. |
From: Kraus B. <ra...@ya...> - 2006-01-11 22:06:10
|
Hello, if somebody now how to implement a slider (with progress bar) and / or a thumbnail in JGenerator, please let me now. Thanks Ranrul --------------------------------- Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs exceptionnels pour appeler la France et l'international.Téléchargez la version beta. |
From: Kraus B. <ra...@ya...> - 2006-01-11 22:05:36
|
Hello, if somebody now how to implement a slider (with progress bar) and / or a thumbnail in JGenerator, please let me now. Thanks Ranrul --------------------------------- Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs exceptionnels pour appeler la France et l'international.Téléchargez la version beta. |
From: Kraus B. <ra...@ya...> - 2005-12-19 14:45:49
|
Hello, how can I include a java.awt.image in JGenerator. Thanks Ranrul --------------------------------- Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs exceptionnels pour appeler la France et l'international.Téléchargez la version beta. |
From: Dmitry S. <dm...@jz...> - 2005-08-17 01:15:45
|
Jeremy, Another thing to do if my previous email won't help is to add USEOUTLINES flag to the textfield. > I'm trying to use the JGenerator classes to allow me to change certain > text in my flash movies. The text is in a Dynamic TextField on the > stage, using a font that is embedded in the document's library (and > exported for runtime). The textfield is given an instance name. > > i just added some simple code to the Generator.java class to change the > text, and so far so good: > > > // Code lives just after the file object is initialized > > Instance instance = file.getMainScript().findInstance > ("myTextField"); > System.out.println("instance: " + instance); > System.out.println("class: " + instance.getClass()); > System.out.println("flashdef: " + instance.def); > System.out.println("class: " + > instance.def.getClass()); > > if ( instance.def instanceof TextField ) { > TextField tf = (TextField)instance.def; > tf.setInitText("GENERATED!"); > } > > > This works, however, it only lets me use characters that were embedded > in the Dynamic TextField (via the Character options in the Flash IDE) > > I'd like to allow any characters at all, and the text must stay anti- > aliased. The reason i embedd the font in the first place is because > its the only way to keep the text antialiased, even without > JGenerator. (it would also be good if the generated swf only embedded > the characters that were used in the end) > > so I tried using some of JGenerators font classes, but this just makes > all my text disappear! > > Instance instance = file.getMainScript().findInstance > ("lbl_search_for"); > System.out.println("instance: " + instance); > System.out.println("class: " + instance.getClass()); > System.out.println("flashdef: " + instance.def); > System.out.println("class: " + > instance.def.getClass()); > > if ( instance.def instanceof TextField ) { > TextField tf = (TextField)instance.def; > tf.setInitText("GeNERATED!"); > Font arial = FontDef.load("Arial.fft"); > System.out.println("glyphs: " + > arial.getNumGlyph()); > System.out.println("index!: " + arial.getIndex > ('!')); > System.out.println("index@: " + arial.getIndex > ('@')); > tf.setFont(arial, 18); > } > > Would definitely appreciate help! > > My only requirements are that I can change some text in a flash movie > based on an instance name. So any solution would help, either changing > my code or the way I set my Flash movie up. > > -Jeremy LaCivita > > PS: the reason i need to do it this way is that the original SWFs need > to be usable without any jgenerator interaction, so i can't put any > jgenerator specific stuff in my movies. > > > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Jgen-devel mailing list > Jge...@li... > https://lists.sourceforge.net/lists/listinfo/jgen-devel > > -- Dmitry Skavish |
From: Dmitry S. <dm...@jz...> - 2005-08-17 01:11:25
|
Jeremy, If you have access to the original fla and can change it then I recommend to embed all characters into the swf, JGenerator will leave only those which are used. If you can't change swf then the only option is to load the font yourself. What you already do seems to be right, the only problem is that font height has to be multiplied by 20, so instead of 18 put 360 there. If it does not help let me know. > I'm trying to use the JGenerator classes to allow me to change certain > text in my flash movies. The text is in a Dynamic TextField on the > stage, using a font that is embedded in the document's library (and > exported for runtime). The textfield is given an instance name. > > i just added some simple code to the Generator.java class to change the > text, and so far so good: > > > // Code lives just after the file object is initialized > > Instance instance = file.getMainScript().findInstance > ("myTextField"); > System.out.println("instance: " + instance); > System.out.println("class: " + instance.getClass()); > System.out.println("flashdef: " + instance.def); > System.out.println("class: " + > instance.def.getClass()); > > if ( instance.def instanceof TextField ) { > TextField tf = (TextField)instance.def; > tf.setInitText("GENERATED!"); > } > > > This works, however, it only lets me use characters that were embedded > in the Dynamic TextField (via the Character options in the Flash IDE) > > I'd like to allow any characters at all, and the text must stay anti- > aliased. The reason i embedd the font in the first place is because > its the only way to keep the text antialiased, even without > JGenerator. (it would also be good if the generated swf only embedded > the characters that were used in the end) > > so I tried using some of JGenerators font classes, but this just makes > all my text disappear! > > Instance instance = file.getMainScript().findInstance > ("lbl_search_for"); > System.out.println("instance: " + instance); > System.out.println("class: " + instance.getClass()); > System.out.println("flashdef: " + instance.def); > System.out.println("class: " + > instance.def.getClass()); > > if ( instance.def instanceof TextField ) { > TextField tf = (TextField)instance.def; > tf.setInitText("GeNERATED!"); > Font arial = FontDef.load("Arial.fft"); > System.out.println("glyphs: " + > arial.getNumGlyph()); > System.out.println("index!: " + arial.getIndex > ('!')); > System.out.println("index@: " + arial.getIndex > ('@')); > tf.setFont(arial, 18); > } > > Would definitely appreciate help! > > My only requirements are that I can change some text in a flash movie > based on an instance name. So any solution would help, either changing > my code or the way I set my Flash movie up. > > -Jeremy LaCivita > > PS: the reason i need to do it this way is that the original SWFs need > to be usable without any jgenerator interaction, so i can't put any > jgenerator specific stuff in my movies. > > > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Jgen-devel mailing list > Jge...@li... > https://lists.sourceforge.net/lists/listinfo/jgen-devel > > -- Dmitry Skavish |
From: Jeremy L. <je...@jl...> - 2005-08-13 01:31:47
|
Hi List, I'm trying to use the JGenerator classes to allow me to change certain text in my flash movies. The text is in a Dynamic TextField on the stage, using a font that is embedded in the document's library (and exported for runtime). The textfield is given an instance name. i just added some simple code to the Generator.java class to change the text, and so far so good: // Code lives just after the file object is initialized Instance instance = file.getMainScript().findInstance ("myTextField"); System.out.println("instance: " + instance); System.out.println("class: " + instance.getClass()); System.out.println("flashdef: " + instance.def); System.out.println("class: " + instance.def.getClass()); if ( instance.def instanceof TextField ) { TextField tf = (TextField)instance.def; tf.setInitText("GENERATED!"); } This works, however, it only lets me use characters that were embedded in the Dynamic TextField (via the Character options in the Flash IDE) I'd like to allow any characters at all, and the text must stay anti- aliased. The reason i embedd the font in the first place is because its the only way to keep the text antialiased, even without JGenerator. (it would also be good if the generated swf only embedded the characters that were used in the end) so I tried using some of JGenerators font classes, but this just makes all my text disappear! Instance instance = file.getMainScript().findInstance ("lbl_search_for"); System.out.println("instance: " + instance); System.out.println("class: " + instance.getClass()); System.out.println("flashdef: " + instance.def); System.out.println("class: " + instance.def.getClass()); if ( instance.def instanceof TextField ) { TextField tf = (TextField)instance.def; tf.setInitText("GeNERATED!"); Font arial = FontDef.load("Arial.fft"); System.out.println("glyphs: " + arial.getNumGlyph()); System.out.println("index!: " + arial.getIndex ('!')); System.out.println("index@: " + arial.getIndex ('@')); tf.setFont(arial, 18); } Would definitely appreciate help! My only requirements are that I can change some text in a flash movie based on an instance name. So any solution would help, either changing my code or the way I set my Flash movie up. -Jeremy LaCivita PS: the reason i need to do it this way is that the original SWFs need to be usable without any jgenerator interaction, so i can't put any jgenerator specific stuff in my movies. |
From: Dmitry S. <dm...@jz...> - 2005-05-02 11:09:31
|
> Does JGen have a way of creating bitmap files from SWF input? can > someone point me to the relevant API area? we did this functionality for macromedia only, it's not available for free download (that was their requirement). > also, does it compile Flash4 actionscript? all the "tellTarget" etc > type syntax (I am targeting flashlite devices) yes, it does. -- Dmitry Skavish |
From: dc <li...@pi...> - 2005-05-02 09:56:22
|
hi all - Does JGen have a way of creating bitmap files from SWF input? can someone point me to the relevant API area? also, does it compile Flash4 actionscript? all the "tellTarget" etc type syntax (I am targeting flashlite devices) tx! /dc |
From: <sk...@us...> - 2004-10-12 21:11:43
|
To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at ge...@gu.... Project jgen has an issue affecting its community integration. This issue affects 1 projects. The current state of this project is 'Failed'. For reference only, the following projects are affected by this: - jgen : Flash 5 Content Generation Full details are available at: http://brutus.apache.org/gump/public/jgen/jgen/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -DEBUG- Sole output [jgen.jar] identifier set to project name -INFO- Failed with reason build failed -INFO- Failed to extract fallback artifacts from Gump Repository The following work was performed: http://brutus.apache.org/gump/public/jgen/jgen/gump_work/build_jgen_jgen.html Work Name: build_jgen_jgen (Type: Build) Work ended in a state of : Failed Elapsed: 8 secs Command Line: java -Djava.awt.headless=true -Xbootclasspath/p:/usr/local/gump/public/workspace/xml-xerces2/java/build/xercesImpl.jar:/usr/local/gump/public/workspace/xml-xerces2/java/build/xml-apis.jar:/usr/local/gump/public/workspace/xml-xalan/java/build/xalan-unbundled.jar:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar org.apache.tools.ant.Main -Dgump.merge=/usr/local/gump/public/gump/work/merge.xml -Dbuild.sysclasspath=only jar [Working Directory: /usr/local/gump/public/workspace/jgen] CLASSPATH : /opt/jdk1.4/lib/tools.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-stylebook.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/public/workspace/jakarta-commons/jxpath/dist/commons-jxpath.jar:/usr/local/gump/public/workspace/jdom/build/jdom.jar:/usr/local/gump/public/workspace/jakarta-velocity/bin/velocity-12102004.jar:/usr/local/gump/public/workspace/avalon-trunk/runtime/logkit/target/deliverables/jars/avalon-logkit-12102004.jar:/usr/local/gump/public/workspace/avalon-tools/tools/magic/target/deliverables/jars/avalon-tools-magic-12102004.jar:/usr/local/gump/public/workspace/dist/junit/junit.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-12102004.jar:/usr/local/gump/public/workspace/jakarta-commons/beanutils/dist/commons-beanutils-core.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-api.jar:/usr/local/gump/public/workspace/jakarta-servletapi-4/lib/servlet.jar:/usr/local/gump/public/workspace/logging-log4j/log4j-12102004.jar:/usr/local/gump/public/workspace/logging-log4j/log4j-chainsaw-12102004.jar:/usr/local/gump/public/workspace/logging-log4j/log4j-lf5-12102004.jar:/usr/local/gump/public/workspace/jaxen/target/jaxen-12102004.jar:/usr/local/gump/public/workspace/jakarta-commons/jexl/dist/commons-jexl-12102004.jar:/usr/local/gump/public/workspace/xml-batik/batik-12102004/lib/batik-util.jar:/usr/local/gump/public/workspace/xml-batik/batik-12102004/lib/batik-swing.jar:/usr/local/gump/public/workspace/xml-batik/batik-12102004/lib/batik-css.jar:/usr/local/gump/public/workspace/xml-batik/batik-12102004/lib/batik-bridge.jar:/usr/local/gump/public/workspace/xml-batik/batik-12102004/lib/batik-xml.jar:/usr/local/gump/public/workspace/xml-batik/batik-12102004/lib/batik-svg-dom.jar:/usr/local/gump/public/workspace/xml-batik/batik-12102004/lib/batik-awt-util.jar:/usr/local/gump/public/workspace/xml-batik/batik-12102004/lib/batik-transcoder.jar:/usr/local/gump/public/workspace/xml-batik/batik-12102004/lib/batik-gui-util.jar:/usr/local/gump/public/workspace/xml-batik/batik-12102004/lib/batik-dom.jar:/usr/local/gump/public/workspace/xml-batik/batik-12102004/lib/batik-ext.jar:/usr/local/gump/public/workspace/xml-batik/batik-12102004/lib/batik-svggen.jar:/usr/local/gump/public/workspace/xml-batik/batik-12102004/lib/batik-parser.jar:/usr/local/gump/public/workspace/xml-batik/batik-12102004/lib/batik-extension.jar:/usr/local/gump/public/workspace/xml-batik/batik-12102004/lib/batik-gvt.jar:/usr/local/gump/public/workspace/xml-fop-maintenance/build/fop.jar:/usr/local/gump/public/workspace/avalon-trunk/runtime/framework/api/target/deliverables/jars/avalon-framework-api-12102004.jar:/usr/local/gump/public/workspace/avalon-trunk/runtime/framework/legacy/target/deliverables/jars/avalon-framework-legacy-12102004.jar:/usr/local/gump/public/workspace/avalon-trunk/runtime/framework/impl/target/deliverables/jars/avalon-framework-impl-12102004.jar:/usr/local/gump/public/workspace/rhino/build/rhino_12102004/js.jar:/usr/local/gump/packages/resin-3.0.8/lib/resin.jar:/usr/local/gump/public/workspace/jgen/lib/ftp.jar --------------------------------------------- [javac] public class SWFRenderer implements org.apache.fop.render.Renderer { [javac] ^ [javac] /usr/local/gump/public/workspace/jgen/build/src/com/iv/flash/fop/SWFRenderer.java:140: incompatible types [javac] found : java.util.List [javac] required: java.util.Vector [javac] Vector fontInfos = Configuration.getFonts(); [javac] ^ [javac] /usr/local/gump/public/workspace/jgen/build/src/com/iv/flash/fop/SWFRenderer.java:150: incompatible types [javac] found : java.net.URL [javac] required: java.lang.String [javac] String fontFile = configFontInfo.getEmbedFile(); [javac] ^ [javac] /usr/local/gump/public/workspace/jgen/build/src/com/iv/flash/fop/SWFRenderer.java:156: incompatible types [javac] found : java.util.List [javac] required: java.util.Vector [javac] Vector triplets = configFontInfo.getFontTriplets(); [javac] ^ [javac] /usr/local/gump/public/workspace/jgen/build/src/com/iv/flash/fop/SWFRenderer.java:426: cannot resolve symbol [javac] symbol : method elements () [javac] location: class java.util.ArrayList [javac] Enumeration e = area.getChildren().elements(); [javac] ^ [javac] /usr/local/gump/public/workspace/jgen/build/src/com/iv/flash/fop/SWFRenderer.java:470: cannot resolve symbol [javac] symbol : method elements () [javac] location: class java.util.ArrayList [javac] Enumeration e = page.getLinkSets().elements(); [javac] ^ [javac] /usr/local/gump/public/workspace/jgen/build/src/com/iv/flash/fop/SWFRenderer.java:477: cannot resolve symbol [javac] symbol : method elements () [javac] location: interface java.util.List [javac] Enumeration f = linkSet.getRects().elements(); [javac] ^ [javac] /usr/local/gump/public/workspace/jgen/build/src/com/iv/flash/fop/SWFRenderer.java:519: cannot resolve symbol [javac] symbol : method elements () [javac] location: class java.util.ArrayList [javac] Enumeration e = area.getChildren().elements(); [javac] ^ [javac] /usr/local/gump/public/workspace/jgen/build/src/com/iv/flash/fop/SWFRenderer.java:543: cannot resolve symbol [javac] symbol : method getBackgroundColor () [javac] location: class org.apache.fop.layout.Area [javac] ColorType bg = area.getBackgroundColor(); [javac] ^ [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -deprecation for details. [javac] 9 errors BUILD FAILED /usr/local/gump/public/workspace/jgen/build.xml:69: Compile failed; see the compiler error output for details. Total time: 8 seconds --------------------------------------------- To subscribe to this information via syndicated feeds: - RSS: http://brutus.apache.org/gump/public/jgen/jgen/rss.xml - Atom: http://brutus.apache.org/gump/public/jgen/jgen/atom.xml ============================== Gump Tracking Only === Produced by Gump version 2.1.0-alpha-0003. Gump Run 49001212102004, brutus:brutus-public:49001212102004 Gump E-mail Identifier (unique within run) #25. -- Apache Gump http://gump.apache.org/ [Instance: brutus] |
From: Jago M. <ja...@fl...> - 2004-04-21 16:31:05
|
The JGenerator uses MX components instead of Generator objects. We ported a product from MM Generator to JGenerator successfully. There is a SetEnvironment component, where you enter the data source, instead of putting it in the added data source text field you get when you install the Flash 5 Generator authoring extensions. After that, you just use as MM Generator. It works great. If you have any other questions, you can email me offlist. thanks, Jago ja...@ce... =20 -----Original Message----- From: jge...@li... [mailto:jge...@li...] On Behalf Of Richard C. Hidalgo Lorite Sent: Wednesday, April 21, 2004 8:42 AM To: jge...@li... Subject: [Jgen-devel] Authoring Extensions. Please Help! The web designer working with me has upgrade to Flash MX 2004 and I need him to include Generator Objects at his scripts. I've read at JZox Downloads->Related Products that "You simply will not be able to author Flash templates (.swt files) without these extensions. The extensions work with Flash 4 and 5. Macromedia did not release (and it seems is not going to) Generator Extensions for Flash MX. But don't worry, we are going to release JGenerator for Flash MX anyway!"=20 but then... How is Web Designer supposed to proceed in order to use generator objects and variables at the script? Is there an easy way for him to include something like placeholders and letting me to include generator datasources and objects in some programatic way? Please, give me any advice. I've based a lot of my project planning in using jgenerator but i woulb be not able to do so if my web designer is not allowed to use generator features. Thx in advance. rich ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=3D1470&alloc_id=3D3638&op=3Dcli= ck _______________________________________________ Jgen-devel mailing list Jge...@li... https://lists.sourceforge.net/lists/listinfo/jgen-devel |
From: Richard C. H. L. <ri...@ar...> - 2004-04-21 15:38:03
|
The web designer working with me has upgrade to Flash MX 2004 and I need him to include Generator Objects at his scripts. I've read at JZox Downloads->Related Products that "You simply will not be able to author Flash templates (.swt files) without these extensions. The extensions work with Flash 4 and 5. Macromedia did not release (and it seems is not going to) Generator Extensions for Flash MX. But don't worry, we are going to release JGenerator for Flash MX anyway!" but then... How is Web Designer supposed to proceed in order to use generator objects and variables at the script? Is there an easy way for him to include something like placeholders and letting me to include generator datasources and objects in some programatic way? Please, give me any advice. I've based a lot of my project planning in using jgenerator but i woulb be not able to do so if my web designer is not allowed to use generator features. Thx in advance. rich |
From: Josh B. <des...@ya...> - 2004-03-16 17:01:31
|
Hello Jgen-developers.. My name is josh and i have an important question. If your MMgen does java in flash... can it do values? Check my quiz at www.fantasygamers.org/quiz.html <--i want my quiz to by in flash. Can i get the values and code into flash? please respond -josh |
From: <Cha...@Al...> - 2003-11-18 18:57:40
|
Hi All, I'm really new to JGenerator, so please excuse the silly questions.. How can I go about generating a Flash slide show out of a bunch of images and an mp3 file for music? I'd also like it to have a menu bar so that you can skip to any picture you would like to see. Is it possible to create a clever enough template that would make this possible? Or would I have to use the API to programmatically add the objects (the images, the sound, and the menu items) myself? Thanks in advance, Chad btw.. is there any more documentation available regarding the source code? |
From: dave <da...@my...> - 2003-10-29 23:39:12
|
Is MP3 Layer 3 the only sound format supported by JGen? |
From: Dmitry S. <dm...@jz...> - 2003-10-27 03:16:33
|
Jago, > We've tried every combination possible - even blank fields. One thing about > that 'stop' parameter. Usually bool's come up as a drop down - this one is > an input field (string). That is already fixed. > we've tried '0', 'false' 'FALSE' ... but no > love.... We'll keep digging, but if there's anything you can think of that > might be affecting the behavior it would be great. This is for the Flash 5 > style Objects, not the components... I thought about that a bit more and here is what you need to do. Wrap Insert MP3 object into empty movie clip and set stream to true and stop to false. Then just drop this movie clip (with Insert MP3 inside) to a frame where you need your sound to start. It will be looping unless you set stop to true. > -----Original Message----- > From: Dmitry Skavish [mailto:dm...@jz...] > Sent: Thursday, October 23, 2003 4:03 PM > To: Jago Macleod > Cc: jge...@li... > Subject: Re: [Jgen-devel] Loop an mp3 file > > > >>Is it possible to loop an mp3 file using the Insert mp3 File Object? It >>seems as though that is what the 'stop' parameter is there for, but >>doesn't seem to be working for me. Any thoughts? > > > I guess you need to set 'stream' to false and 'stop' to false. It should do > the trick. > > -- > Dmitry Skavish > > > > ------------------------------------------------------- > This SF.net email is sponsored by: The SF.net Donation Program. > Do you like what SourceForge.net is doing for the Open > Source Community? Make a contribution, and help us add new > features and functionality. Click here: http://sourceforge.net/donate/ > _______________________________________________ > Jgen-devel mailing list > Jge...@li... > https://lists.sourceforge.net/lists/listinfo/jgen-devel > > -- Dmitry Skavish |
From: Dmitry S. <dm...@jz...> - 2003-10-25 23:06:46
|
> Is it possible to loop an mp3 file using the Insert mp3 File Object? It > seems as though that is what the 'stop' parameter is there for, but > doesn't seem to be working for me. Any thoughts? I guess you need to set 'stream' to false and 'stop' to false. It should do the trick. -- Dmitry Skavish |
From: Dmitry S. <dm...@jz...> - 2003-10-24 04:31:11
|
> I'm trying to upgrade some old Generator files, and would like to export > them as Flash 6 files using the JGen MX components. In the old > paradigm, you'd enter a datasource in the Flash Authoring environment - > through the Set Environment panel. > > our data source presently is of the form: > fgjdbc:///?driver=sun.jdbc.odbc.JdbcOdbcDriver&url=jdbc:odbc:{someVal}&userid=someUser&password=someReadOnlyPass&query={someQuery}; > > Old MM templates have been running successfully on JGenerator using this > Flash 5 export as usual... but... not when I try on Flash 6. > > I've been trying to get the same datasource to work in my MX - authored > / Flash 6 exported tests. I'm trying to use the setEnvironment and / or > setEnvironment2 components. What is the difference between these two? > Will they work for this type of datasource? All I see is exmamples of > xml data sources.... Yes, they will work just fine. SetEnvironment is datasource of type: NAME,VALUE name1, value1 name2, value2 name3, value3 name4, value4 SetEnvironment2: name1, name2, name3 value11, value12, value13 value21, value22, value23 -- Dmitry Skavish |
From: Jago M. <ja...@fl...> - 2003-10-24 00:01:41
|
We've tried every combination possible - even blank fields. One thing about that 'stop' parameter. Usually bool's come up as a drop down - this one is an input field (string). we've tried '0', 'false' 'FALSE' ... but no love.... We'll keep digging, but if there's anything you can think of that might be affecting the behavior it would be great. This is for the Flash 5 style Objects, not the components... Thanks, jago -----Original Message----- From: Dmitry Skavish [mailto:dm...@jz...] Sent: Thursday, October 23, 2003 4:03 PM To: Jago Macleod Cc: jge...@li... Subject: Re: [Jgen-devel] Loop an mp3 file > Is it possible to loop an mp3 file using the Insert mp3 File Object? It > seems as though that is what the 'stop' parameter is there for, but > doesn't seem to be working for me. Any thoughts? I guess you need to set 'stream' to false and 'stop' to false. It should do the trick. -- Dmitry Skavish |
From: Jago M. <ja...@ce...> - 2003-10-23 19:46:29
|
hi, I'm trying to upgrade some old Generator files, and would like to export them as Flash 6 files using the JGen MX components. In the old paradigm, you'd enter a datasource in the Flash Authoring environment - through the Set Environment panel. our data source presently is of the form: fgjdbc:///?driver=sun.jdbc.odbc.JdbcOdbcDriver&url=jdbc:odbc:{someVal}&useri d=someUser&password=someReadOnlyPass&query={someQuery}; Old MM templates have been running successfully on JGenerator using this Flash 5 export as usual... but... not when I try on Flash 6. I've been trying to get the same datasource to work in my MX - authored / Flash 6 exported tests. I'm trying to use the setEnvironment and / or setEnvironment2 components. What is the difference between these two? Will they work for this type of datasource? All I see is exmamples of xml data sources.... all help much appreciated. thank you, Jago Macleod |
From: Jago M. <ja...@fl...> - 2003-10-21 22:43:42
|
Hi, Is it possible to loop an mp3 file using the Insert mp3 File Object? It seems as though that is what the 'stop' parameter is there for, but doesn't seem to be working for me. Any thoughts? Jago Macleod |
From: Dmitry S. <dm...@jz...> - 2003-10-14 18:42:11
|
> Well there is good news and bad news. I was finally able to get a swf > file generated using the code below. However when I run the SWF, > nothing seems to happen. Initially I did not set the background color > which gave me a white box. I thought maybe the text was white as well > which is why I couldnt see it. So I changed the background to black but > now I just have a black box? Im getting closer I can feel it :-) well you are close, the only thing which seems to be wrong is datasource parameter for ticker command :) > command.addParameter("datasource", "#Hello World"); here are links which I hope will help you with that: http://www.jzox.com/docs.jsp?content=objects_list.jsp http://www.jzox.com/docs.jsp?content=datasources_format.jsp -- Dmitry Skavish |
From: Dave P. <da...@my...> - 2003-10-14 18:33:26
|
Well there is good news and bad news. I was finally able to get a swf file generated using the code below. However when I run the SWF, nothing seems to happen. Initially I did not set the background color which gave me a white box. I thought maybe the text was white as well which is why I couldnt see it. So I changed the background to black but now I just have a black box? Im getting closer I can feel it :-) Util.init("../classes"); System.out.println("Starting TickerTest"); FlashFile file = FlashFile.newFlashFile(); // create default flash file Script script = new Script(1); // create main script with 1 frame script.setMain(); file.setMainScript(script); // set main script for the file script.setBackgroundColor(new SetBackgroundColor(new Color(0, 0, 0))); Frame frame = new Frame(); Instance instance = frame.addInstance(new Script(), 1, null, null); GenericCommand command = new TickerCommand(); command.setInstance(instance); command.addParameter("datasource", "#Hello World"); command.addParameter("orient", "horizontal"); command.addParameter("mask", "false"); command.addParameter("stepsize", "8"); command.addParameter("itemspace", "5"); command.addParameter("halign", "left"); command.addParameter("valign", "top"); command.addParameter("instancename", ""); instance.setCommand(command); StandardContext context = new StandardContext(); System.out.println("GOT HERE"); file.processFile(context); FlashOutput fob = file.generate(); BufferedOutputStream bos = new BufferedOutputStream(new FileOutputStream("E:\\Docs\\projects\\OTD\\tmp\\tickertest.swf")); bos.write(fob.getBuf(), 0, fob.getSize()); bos.close(); System.out.println("Wrote File"); On Tue, 2003-10-14 at 11:08, Dmitry Skavish wrote: > > Util.init("../classes"); > > System.out.println("Starting TickerTest"); > > FlashFile file = FlashFile.newFlashFile(); // create default > > flash file > > Script script = new Script(); // create main script with 1 > > frame > > script.setMain(); > > file.setMainScript(script); // set main script for the file > > //int startFrame = 1; > > //Frame frame = script.getFrameAt(1); > > Frame frame = new Frame(); > > > Instance instance = frame.addInstance(script, 1, null, null); > > script here has to be new Script() for the instance, i.e. change it to > > Instance instance = frame.addInstance(new Script(), 1, null, null); > > GenericCommand command = new TickerCommand(); > > command.setInstance(instance); > > > > command.addParameter("datasource", "text.txt"); > > command.addParameter("orient", "horizontal"); > > command.addParameter("mask", "false"); > > command.addParameter("stepsize", "8"); > > command.addParameter("itemspace", "5"); > > command.addParameter("halign", "left"); > > command.addParameter("valign", "top"); > > command.addParameter("instancename", ""); > > > > instance.setCommand(command); > > StandardContext context = new StandardContext(); > > context.setValue("filename", "tickertest.swf"); > > you need to set values to the context only if you use variables in command > parameters (variables things like {varname}), so no need to setValue here > > if you got some exception then send the exception stacktrace as well. |
From: Dmitry S. <dm...@jz...> - 2003-10-14 18:06:57
|
> Util.init("../classes"); > System.out.println("Starting TickerTest"); > FlashFile file = FlashFile.newFlashFile(); // create default > flash file > Script script = new Script(); // create main script with 1 > frame > script.setMain(); > file.setMainScript(script); // set main script for the file > //int startFrame = 1; > //Frame frame = script.getFrameAt(1); > Frame frame = new Frame(); > Instance instance = frame.addInstance(script, 1, null, null); script here has to be new Script() for the instance, i.e. change it to Instance instance = frame.addInstance(new Script(), 1, null, null); GenericCommand command = new TickerCommand(); > command.setInstance(instance); > > command.addParameter("datasource", "text.txt"); > command.addParameter("orient", "horizontal"); > command.addParameter("mask", "false"); > command.addParameter("stepsize", "8"); > command.addParameter("itemspace", "5"); > command.addParameter("halign", "left"); > command.addParameter("valign", "top"); > command.addParameter("instancename", ""); > > instance.setCommand(command); > StandardContext context = new StandardContext(); > context.setValue("filename", "tickertest.swf"); you need to set values to the context only if you use variables in command parameters (variables things like {varname}), so no need to setValue here if you got some exception then send the exception stacktrace as well. -- Dmitry Skavish \ |