Java :: Adding Flash In Swing Components?
Apr 19, 2010I am creating a swing application, I like to add Flash in that application. Can we add flash in Swing components?
View 3 RepliesI am creating a swing application, I like to add Flash in that application. Can we add flash in Swing components?
View 3 RepliesI'm going to embed Flex components into Java app, just embedding swf into JFrame. Does anybody know how to use EZ JCOM ? I don't know what is Flash COM or Flash ActiveX.
View 1 RepliesI am trying to develop an application with eclipse (java swing) and I wonder if I can add Flash animations in the JButton or JPanel
View 1 RepliesI am trying to use EZJCOM to run swf files from java (swing). Using the wizard interface I generated the java classes for flash10.ocx.* issue * - at runtime it stops saying Exception in thread "main" java.lang.UnsatisfiedLinkError: no EZJcomLib18 in java.library.path at java.lang.ClassLoader.loadLibrary(Unknown Source)I searched on my disk - there is no EZJcomLib18.dll.
View 1 Repliesi hava two text boxs in flex.have to add two txt boxs values in back end java and have to return back to third text box in flex.
View 1 RepliesI've been adding some components to a Flex 4 app (it was originally Flex 3 but has been ported). Some of these components make the app go blank when it loads. I'm not even able to see the loading progress bar. Just white.
For example, adding
<s:controlBarContent>
<s:Button label="Admin" />
</s:controlBarContent>
To the root tag causes this. I also was able to make it happen when I tried setting a custom components skin from my style sheet instead of from the skinClass property.
I am looking for reusable open source components. The level of depth, breadth and hopefully quality that I'm looking for is similar to this. Although I need them in programming languages C#, Java and Flex (which I often use in my projects), other languages such as PHP, Perl, Python, Ruby etc. are welcome. I see this as a big help for other programmers who have similar needs such as mine.
I plan to eliminate code duplication when building a large scale (in terms of code size) project by using this components and focus more on the business logic of it. Is there an open source (Java) or Codeplex (Microsoft) component implementation that does this that I'm not aware of?The main point that I want to address for this question is to avoid interdeveloper duplication. Interesting case found in Pragmatic Programmer: An audit for government computer systems have been made showed 10,000 different programs having their own version for Social Security number validation.
I have a dozen different custom components in my flex app. I want to use an external xml config file to load the components at run-tine. Can someone tell me whats the best way to architect this? I want to load these components and add dataProviders and event liseners to them at runtime.
View 1 RepliesI'm working on a pure ActionScript 3 AIR app, which is my first all AS3 AIR app. One thing I'm having a problem with is adding components to the app so I can see them, here is an example of the code I'm running:
public class iPhoneAIRApp_demo1 extends Sprite
{
protected var context:PhoneAppContext;
[Code]....
but when I run this example I don't see anything.
I guess that using Flex has made it easy for me where I can just drag components to the design view and Flex does the back ground work to add the component to the stage.
What is the process for adding visual elements to a pure AS3 project?
I'm working with the CoverFlow library by Doug McCune.
In the example included, he has created some panels inside a CoverFlowContainer. There are other examples of him populating the coverflow from an RSS feed on the page linked above but he doesn't include the source for these :(
I will eventually be retrieving data from a web service to add to the coverflow however I'm starting with this simple example:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" horizontalAlign="center" verticalAlign="middle" xmlns:containers="com.dougmccune.containers.*" creationComplete="init()">
[Code]....
I've defined some panels in the mxml and set creationComplete=init() so that the new panel I've created in ActionScript will be added to the CoverFlow container.
When I launch the application it displays the two predefined panels but not the one I have created in ActionScript.
im having trouble adding a progressbar components to a loader...all the images load and the progress bars too but the progress bars only change when they reach 100% and they do not disapper either..
View 2 RepliesI am trying to ape the MS Paint application in Flash. I have a small point that I want to get cleared. I want to set the thickness of the line that I am drawing.I want to add a numeric stepper to stage dynamically. Only when I click on option to draw line the numeric stepper must appear on stage. It must be removed when I select another component.How can I add it at runtime. I got tutorials and references in which the stepper is always there on the stage. But I want it only when I want to draw the line.
View 2 RepliesI've a custom component where I do some graphics (e.g draw a line) and dynamically add a subcomponent (e.g a label) to it.
If I base the component off Group (which is recommended as per docs since its a spark component) then when I dynamically add a label the graphics part disappears.
However if I base it off Canvas this doesn't happen.
Why is that the case?
Here is the code.
MyComponent.as
public class MyComponent extends Group
{
public var x1:int;
[Code].....
I am created a dynamically adding a VBox, that contains two images. Into a Custom Component that is derived from UIComponent. The problem is the Vbox that contains the two image is only a really tiny size. I would like the VBox stretch to the size of the two images. This is how I am creating the Vbox....
[Code]...
im working on a project tats in a dark rook ive ot the lightbuld to flicker and glow but i want it to swing realsitcly across the screenas if it
View 1 RepliesI've been looking all over for a script that lets you grab an object, it swings as you move it around, and then lets you throw it. I've seen this in games and goofy Flash sites.
View 2 RepliesI have a client-server multigame suite for PC ("kind of" cross-platform using cygwin), which is developed in Java(game menus and database management), C++ (server side), and adobe Flash (game graphics & interaction).
I have never tried to develop for android, so i have no experience.I am thinking of migrating this suite to google TV. So i would like someone with android experience to give a clue on the following :
1) Is it going to be easy to migrate the Java application to an Android application?
2) What kind of Flash support does Android have? Can it load directly swf applications? Does it have to load swf's through browser?
3) Can i find any kind of performance indexes for google TV hardware?
I need to load somehow the html code of a webpage A into a javascript string of another webpage B, on a different host. I know this is impossible to do with javascript alone because of the same origin policy, and I know I could do it loading the page via php on my server and then send results back to the user's client but I wouldn't be able to handle so many requests, so I need it to be done directly by the user's browser. I can use nearly whatever browser scripting language/applet framework common enough to be installed on the majority of my users' computers, like flash and java.On example, what if I use flash or java to load the external html code and then call a javascript callback function providing the source? Could this work?
View 2 RepliesIf one doesn't have the source code, the only to test is to send keystroke and mouse move so I found this product but it's not free and opensource price is not even known :([URL] Squish supports automating interactions and testing non-HTML/DOM elements, that is, native objects, which are embedded in a web page. This is done at a fairly abstract level, which means that mouse and text input can be recorded and replayed.
In addition it is possible to inspect embedded native objects with the Spy tool and to insert verifications for these native objects. All of a native object's public properties can be accessed in test scripts.
I'm working on a Flash project and someone recommended Red5 as a media streaming server. Do I need to know java to use build applications that use Red5 as their server?
View 2 RepliesI created a motion preset of a 3D text animation that made the text swing back and forth like a gate with the hinge on the far left side. However, when I apply the motion preset to other text, the text moves to a new location and the text swings closer to the center than the far left side. Moving the text only creates a travel path that further complicates matters.
what am I doing wrong with the motion preset? How can I save something into a preset and apply it to other things and have the animation work the way it was designed?
Do you know any flex component with the functionality such as horizontally collapsible window or panel I found arc90, but it folds vertically.
View 1 RepliesIs it bad practice/design to nest components inside components using Flex 4? Should I simply be creating components and inserting them into my main application as below, or doesn't it matter?
<com:MyComp1>
<com:MyComp2>
<com:MyComp3>
[code]....
how i can use actionscript component code in mmxl components,as in actionscript components we use classes ,but in mmxl component we can not use classes function, so how i can use actionscript component code in mmxl component
[Code]...
but i cant use this code in mmxl components how i can use public class DialogTitle extends HBox implements IBindingClient in mmxl component code,what are the way to use it,sorry i am newbie if it is silly question
I am a .NET Developer, but the question I am having is not related to .NETPlease keep this in mind even if my question sounds very trivial.This is my question:We have an swf in the browser, which communicates with a java extensionIts done using Smartfox Server(Used for MMO apllications)From the swf we are grabbing a portion of the screen as "Byte Array" in action script(3).And in Java, we are calling a function that converts the ByteArray to Image and then saves it.ur Java developer is encountering the errorSo basically, what I would like to know is this:How to accept the object type Byte Array from ActionScript in Java?Whats Java object type that is mapped to Byte Array in ActionScript?The conversion part is easy, I dare say. code in the ActionScript Section
public function savePhoto(uName:String, ba:ByteArray, descr:String):void{
var obj:Object = {};
obj.arr = ba;
[code]....
I tried with flex and java in the backend. In this, I am able to upload files till 100 MB using remote object (blazeDs) where we will read the file as byte array and send it to the java method. If the file size exceeds after that, then I get the run time error in IE.
View 1 RepliesI could play MIDI file where "filename" is a String type with "asd.mid" value. However, I tried to sent AIR's nativeprocess command to Java, it shown "could not read" error.
[Code]...
Meaning specifically, what steps do you go through when creating a new application using these tools?
View 1 RepliesI am using Flex 3 and make a call through a RemoteObject to a Java 1.6 method and exposed with BlazeDS and Spring 2.5.5 Integration over a SecureAMFChannel. The ActionScript is as follows (this code is an example of the real thing which is on a separate dev network);
[Code]...
I'm building a Facebook multiplayer game where the client side is in FLEX and the server side is in Java and I wanted to know if there is a guide on how to build the server clients managing system. When I say server clients managing system, I mean a server which many clients will connect to and will be able to choose between tables to join and play or to create their own table, same way as in texas holdem poker.
View 1 Replies