Load Flash files using JAVAswing

hi
At present i am using JDIC to load the flash files, is there any other option to load the flash files, if so kindly provide me the link for the same.
with Regards
A.Rajesh

Look here.
http://faq.javaranch.com/java/OtherOpenSourceProjectsFaq

Similar Messages

  • I can't enter any value in the Text field, after loading flash files

    Hi to all,
    In my Java application, I'm using a text field and a panel to load flash files. I'm using JDIC 0.9.1 to load the flash files in the panel. The flash files are created by Flash CS4.
    While running the application, I can't enter any value in the Text field, after minimize and maximize the application I can enter the values.
    This problem happens after change the jre version from 1.6 to 1.7.
    I'm getting the following exception while running the application.
    org.jdesktop.jdic.init.JdicInitException: java.io.IOException: The filename, directory name, or volume label syntax is incorrect
    at org.jdesktop.jdic.init.JdicManager.initBrowserNati ve(Unknown Source)
    at org.jdesktop.jdic.browser.WebBrowser.<clinit>(Unkn own Source)
    pls give me a solution.
    Thanks in advance...:)

    I can't enter any values in JTextField after loading the flash files., locking.

  • Creating uicomponents in loaded flash file

    hello flex developers. i have a flex application and a flash swf file. flex application loads this flash file (which contains different overlays and some logic) and creates some flex components (UIComponents like Buttons and Labels) inside it in some places (in some overlays).
    i've tried various options with UIMovieClip, ContainerMovieClip, FlexContentHolder and FlexComponentKit but none of them works... after i add a UIComponent to loaded flash file - the component doesn't get initialized.
    also i tried examples with custom flash components embedded directly into flex application, which inherit from UIMovieClip and ContainerMovieClip, and they work fine inside flex application. but if i paste them in flash file and then load inside flex application - i again see UIComponents not being initialized...
    please help.
    here is my source code:
    flexLoadUITest.zip (loads flash file and then tries to create a button inside its custom flash component, but the button doesn't get initialized...) - http://www.megaupload.com/?d=J9Y28JX0
    flexUISpriteTest.zip (uses embedded flash custom components and displays button properly) - http://www.megaupload.com/?d=YF9BLCW0
    also here is my plain source code from not working flexLoadUITest:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" minWidth="955" minHeight="600" addedToStage="onStageAdded(event)">
        <mx:Script>
            <![CDATA[
                import mx.controls.Button;
                import mx.core.UIComponent;
                import mx.flash.ContainerMovieClip;
                private var loader:Loader;
                private var wrapper:UIComponent;
                private var container1MC:ContainerMovieClip;
                private var btn:Button;
                private function onStageAdded(event:Event):void{
                    trace("onStageAdded");
                    wrapper = new UIComponent;
                    addChild(wrapper);
                    loader = new Loader();
                    loader.contentLoaderInfo.addEventListener(Event.COMPLETE,onComplete);
                    var loaderContext:LoaderContext=new LoaderContext();
                    loaderContext.applicationDomain=ApplicationDomain.currentDomain;
                    //loaderContext.securityDomain=SecurityDomain.currentDomain;
                    loader.load(new URLRequest("flash.swf"),loaderContext);
                private function onComplete(event:Event):void{
                    trace("onComplete");
                    loader.contentLoaderInfo.removeEventListener(Event.COMPLETE,onComplete);
                    loader.content.addEventListener(Event.ADDED_TO_STAGE,onContentAdded);
                    wrapper.addChild(loader.content);
                private function onContentAdded(event:Event):void{
                    trace("onContentAdded");
                    loader.content.removeEventListener(Event.ADDED_TO_STAGE,onContentAdded);
                    container1MC = loader.content["container1_mc"];
                    trace("container1MC is " + container1MC);
                    btn = new Button();
                    btn.label="deniska";
                    btn.width=btn.height=100;
                    btn.addEventListener(Event.ADDED_TO_STAGE,onBtnAdded);
                    container1MC.content=btn;
                    //container1MC.addChild(btn);
                private function onBtnAdded(event:Event):void{
                    trace("onBtnAdded");
                    btn.removeEventListener(Event.ADDED_TO_STAGE,onBtnAdded);
            ]]>
        </mx:Script>
    </mx:Application>

    got it, thanks. basically i don't want to spend time hacking UIComponents. to tell the truth i already have a custom UISprite logic to work with UIComponents, but it still using hacks... maybe you can recommend me some unified/modern way how to be able creating flex components dynamically and work with them in loaded swf files? simply these swfs are created by designers who work in Flash Professional. they draw there different animations, paste various assets and map some "content" for future dynamic components. of course i can create there non flex components, add sprites to these "content" areas, but i want flex UI components to appear there because they need to work close with system's core and various air/flex features. as i see flex component kit gives me ability to use some separate custom components created in flash with a small additional conversion of them. but these are all separate components, and i need to work with loaded swf file. are there any recommendations or guidelines for this direction? or maybe there is simply a tool/class that can be used/loaded into these swfs and make them fully capable for flex usage after loading?

  • Load multiple files using the same data load location

    has anybody tried loading multiple files using the same load locations. I need to do this as the data in these multiple files will need to be exported from FDM as a single export file. the problem i am facing is more user related. since these files will be received at different points of time, users will need a way to tell them what has been loaded and what is yet to be loaded.
    is it possible to throw a window on the web broser with OK and Cancel buttons from an event script?
    any pointers to possible solutions will be helpful

    was able to resolve this. the implementation method is as follows
    take a back up of previously imported data in the befcleardata event script. then in the beffileimport event append the data to the import file. there are many other intricacies but this is the broad implementation logic. it allowed my users to load multiple files without worrying about append or replace import type choices

  • Trying to load flash file in iWeb and when I enter info in the "html snippet" box a "missing plug-in" message comes up (although i have adobe flash player in, if that's the plug-in they're looking for). Anyone have any similar problems or solution. Thanks

    I'm trying to load flash file in iWeb and when i enter info in the "html snippet" box a "missing plug-in" message comes up (although i have Adobe Flash player installed, if that's the plug-in they're looking for). Anyone have any similar problems or solutions. Thanks

    when i publish my site and vew it the page on the web it just comes up with the file name w/ the ,swf and the "mising plug-in" message below. if i click on the file name it displays the flash file but gigantic (the entire height of the page).totally perplexed!
    anyway, here is the code.
    <object classid=”clsid:D27CDB6E-AE6D-11cf-96B8-444553540000”codebase=”http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0, 40,0”width=”244” height=”221” id=”ETrade_banner_Gumby_replay”><paramname=movie value=”ETrade_banner_Gumby_replay.swf”><param name=qualityvalue=high><param name=base value=”.”><embed src=”ETrade_banner_Gumby_replay.swf”quality=high width=”244” height=”221” name=”ETrade_banner_Gumby_replay”align=”” type=”application/x-shockwave-flash” pluginspage=”http://www.macromedia.com/go/getflashplayer”base=”.”></embed></object>

  • I am  unable to load GRAPHIC files using the transaction SFP.

    I am  unable to load GRAPHIC files using the transaction SFP.
    The error message says that there is no connection to the below given url.
       http://<hostname:8000>/sap/bc/fp/
    is it something like i have to activate this service in transaction sicf ?

    Try http://<hostname:8000>/sap/bc/fp/!
    ! at the end ..
    Regards
    Juan

  • Can I load gMax files using Java3D?

    Can I load gMax files using Java3D?
    I need to know this if I am going to use Java for my project.

    What format are the files in? Can you export as .3ds? If you can, there are loaders for these files.
    There are also loaders available for VRML, Obj, etc - see what you can export the file as.

  • Problem with loading flash files in applet

    hi
    using JEditpane i can load html pages but it's not supporting gif and flash files.is there any way to open a html page which contains flash and gif files.
    please help me...

    jeditpane does not support flash files etc, i am not sure if it even support applets if yes probably with some limited way, anyway flash files are not supported, but you can lanch system web browser to show content with flash like internet explorer, latest mustang will suport this

  • Loading Flash Files After Slide is Loaded.

    Is there a way to trigger a flash file to play once the captivate slide has fully loaded?
    Thank you.

    I did a bit of digging. The reason why this wasn't working is because the class in question was referenced by the nib files, but not in code. Therefore, while the code compiled and there were no warnings with the nib files, the linker was not linking the classes because no code used them directly.
    This can be fixed by going to the Project Settings, and on the Build tab, underneath the Linking heading, adding -ObjC to the Other Linker Flags section.

  • Loading Flash content using loadMedia??? Or else??? Has to be XHTML 1.0 Strict and WAG valid

    I have a new project into which i have to insert SWF into an HTML page using other way that the standard Abobe way to do it.
    I know about Flash Satay but i have 300s Flash files to insert and dont want to reopen each of them.
    My HTML pages have to W3C comply and as you know, the <classic id> or <embed> tag isnt valid regarding XHTML 1.0 Strict.
    Client, who insists that his media be accessible to EVERYBODY, suggested using
    "javascript:loadMedia('flashContainer','flv/v01.flv', '', '', 'fra', '','','', 'false');"><img src="images/flashFr.jpg" alt="" /></a></p>
    where loadMedia is a function with these parameters
    <!-- Parameters for loadMedia function
    loadMedia('mediacontainer', '<file>', '<caption>', '<image>', '<lang>', '<playId>', '<height>', '<width>', '<autostart>' )
    - mediacontainer - /* container that holds the player */
    - file - /* Specifies the location of the file to play. */ (.flv)
    - caption - /* Specifies the location of the xml-based captions file using the SMIL Timed Text format. */
    - image - /* Specifies the image to display when playing MP3 or FLV files. This FlashVar can also be used to display a preview image for other formats. Supported formats are JPG, SWF, PNG, and GIF. */
    - lang - /* Specifies the language of the player. */
    - playId - /* Element id of the player control */
    - height - /* Specifies the window height of the control. */
    - width - /* Specifies the window width of the control. */
    - autostart - /* AutoStart the loaded clip */
    -->
    Do you know about that? Can you help? Do you know any other way to insert Flash content with respect to:
    - Javascript on/off valid
    - XHTML 1.0 Strict valid
    - WAG valid.

    I am VERY concerned with the fact that my pages are not being properly validated and displayed.
    I have created two different sites using iWeb '08 and while I am satisfied with the ease of use, I am concerned that my sites are not being displayed correctly... in fact, the other day my friend who is a Mac whiz and who hosts my business website on his server... tried to visit the site that I created using iWeb '08 and had published to my .Mac account... it caused his browser to flat out crash! He said he hasn't seen anything like that in years!
    Here is the site I have begun to build http://www.mcleanmonowheel.com
    If you paste this url into http://validator.w3.org/ a slew of errors pop up.
    Is this the norm with iWeb or have I done something wrong on my end???
    -Patrick

  • Flash files using php

    I'm working on a site using php. When I place flash files in
    the page, I can view it with no problems. It's another story when I
    load everything up on a server. All I see is a white box where the
    flash movie is. I'm using Dreamweaver CS3 on a MacBook Pro. Any
    advice I can get would be much appreciated.

    You have a number of problems on that page.
    1. The Flash in the banner appears but the Flash in the body
    does not. I'm
    not sure why, but will examine further.
    2. The menu will fall behind the Flash element in the body
    when it expands.
    This will render your site non-navigable.
    3. Because you have used all-javascript menus, your site will
    not be
    spiderable by search engines, since they cannot find the
    links in the
    submenus when it is embedded in the javascript.
    4. Also, because of those menus, you render your page
    non-accessable, since
    screen assistive devices do not render javascript. In
    addition, anyone
    coming to your site with javascript disabled will not be able
    to navigate
    it.
    You can maybe deal with #1 by reading this -
    All Active content on a page will always rise to the top, so
    to speak,
    including Flash, certain form elements, Java applets, and
    Active X controls.
    This means that each of these will poke through layers. There
    is not a good
    cross-browser/platform reliable way to solve this issue, but
    if you can be
    confident in your visitors using IE 5+ or NN6+, then you can
    use the Flash
    wmode parameter (however, Safari does not support this
    properly!).
    Adobe articles:
    http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_15523
    http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_14201
    As for the rest, you should always have redundant, plain text
    navigation
    available on your site (or a plain text link to a sitemap
    page). But there
    are ways to do those menus where none of this is a problem -
    I'd rather see
    you use those methods than this one (which is also a ton of
    code).
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "jeremygouine" <[email protected]> wrote in
    message
    news:[email protected]...
    > Here is the link:
    >
    >
    http://glowingtreeproductions.com/BCS/media.php
    >
    > This is not the particular page it is going on, but it
    should suffice for
    > the
    > moment. I have a friend who got it working, but he said
    he didn't do
    > anything
    > I wasn't already doing. So, I have no clue. The biggest
    problem for me
    > is I
    > can't get any Flash files to work when they are uploaded
    on my server. I
    > appreciate all the help I can get.
    >

  • Loading exe file using loadMovieNum

    I have converted SWF into EXE using SWF Studio 2.2 to be able
    to run flash
    without havinf a FLASH player installed.
    It works fine except one feature. On clicking a picture it is
    supposed to
    load another movie using loadMovieNum()
    That other movie is too converted to EXE and loadMovieNum is
    called as
    loadMovieNum(another_movie.exe,0) which loads nothing though
    another_movie.exe is in the same folder as another_movie.swf
    which loads
    fine. I indicated the absolute path to another_movie.exe like
    "c:/folder1/folder2/another_movie.exe" - no joy.
    Does this mean that loadMovieNum loads SWF only and cannot be
    used to load
    EXE. If this is the case, how do I get round this?

    Thanks. Do you mean that the main exe file will serve as a
    projector for swf
    loaded into it?
    "the fleece" <[email protected]> wrote in
    message
    news:e6ov3j$gse$[email protected]..
    > no, you cant load up an exe.
    > but you dont have to, its just the main file that needs
    to be and exe,
    export the others as swf

  • Error while loading xml files using JDBC

    Hi,
    I am trying to load xml files into an xmltype table using JDBC calls and am getting this error for some files
    LPX-00200: could not convert from encoding UTF-8 to UCS2
    The xml files and our database are both UTF-8 encoded. The version of oracle that we have here is 9.2.0.6
    Any suggestions in this matter will be greatly appreciated.
    Thanks,
    Uma

    I also experienced this problem and unfortunately this solution didn't work for me given that the tag you suggested was already on the XML file.

  • Issue in How-To document "Load flat file using SAPGUI"?

    Hi,
    I'm having an issue with following lines in the How-To document.
    I've a characteristic "CHAR1" which is restricted with multuple values in the planning level.
    after the upload using this document, CHAR1 is being loaded incorrect & during my debugging I've noticed that program is changing CHAR1 values while executing following lines of code.
    It works fine, if i don't have a restriction for CHAR1 at planning level.
    It also works fine, if i restricted CHAR1 with a single value in level.
    It's not working as expected, if i restrict CHAR1 with multiple single values.
    incase of multiple single values restriction, following is happening.
    let's say i load following file & i restricted CHAR1 with values "aaaaa,fffff" in level.
    CHAR1 CHAR2 value
    aaaaa bbbbb 1000
    fffff eeeee 2000
    it's being loaded as follows. Program is changing all values of CHAR1 with 1st value of the restricted multiple values and in this case, it is "aaaaa".
    CHAR1 CHAR2 value
    aaaaa bbbbb 1000
    aaaaa eeeee 2000
    Has any one encountered the same problem?
    Marc,
    Could you please comment on this.
    >>> INSERT
    Set fixed fields
    LOOP AT ito_chasel INTO ls_chasel.
    READ TABLE ls_chasel-t_charng INTO ls_charng INDEX 1.
    IF sy-subrc = 0 AND ls_charng-option = 'EQ'.
    ASSIGN COMPONENT ls_chasel-chanm OF STRUCTURE ls_data-s_chas TO <f>.
    IF sy-subrc = 0.
    <f> = ls_charng-low.
    ENDIF.
    ENDIF.
    ENDLOOP.
    <<< INSERT
    Appreciate any help.
    Hari Immadi
    http://immadi.com
    SEM BW Analyst

    Marc,
    I still need to keep the lines of coding as I've few characteristics restrictied to single values & one characteristic restricted to multiple single values.
    when the coding is commented out, single value restricted characteristics are not getting populated with any value.
    I'm counting the table entries "ls_chasel-t_charng" and if entries are 1, then am activating the code. this seems to be working fine. Do you see any problems/issues with this?
    Hari Immadi
    http://immadi.com
    SEM BW Analyst

  • Loading accdb file using for each loop in to single target table

    I have 3 accdb file as below in single folder, in control flow I have created a for each loop to loop through all the below file.  In dataflow task I have created oledb source using connection manager to point to first file a1.accdb. I am trying
    to load all the file into single below mentioned target table, here It is only loading first file it is not looping through other two file.
    This I have tried to load .txt files and csv files it is working perfectly but similarly when I try to load access db file table it is not working, can any one of you help me?
    1. a1.accdb contains only one table  a1tab ( col1 col2 col3 )  
    2. a2.accdb  contains only one table  a2tab  ( col1 col2 col3 )
    3. a3.accdb  contains only one table  a3tab   ( col1 col2 col3 )
    I have a target table with similar structure as source
    Target table <TargetTable> Col1 Col2 Col3
    aak

    Thanks Arthur, please find below response
    How do you handle the different table names?  Cant we handle it in a similar manner, how we handle the .csv/.txt files with different name and similar structure for sources(multiple files) and target (single table)
    Is it good to drop the idea of for each loop and create a separate task for each accdb file? to be loaded to same target table( performance wise etc.. any justification would be helpful)
    You must handle the connection string dynamically?
    Can you help me with the logic for handling connection string dynamically
    aak

Maybe you are looking for

  • "Fan error" on Thinkpad X201s

    Hello, My X201s surprisingly overheated and soft-shut down. Upon rebooting the BIOS interrupted startup just to say "Fan Error" and shut down again. Has anyone seen this issue before? Up until now the fan has been working! I took the keyboard off, an

  • I have "upgraded" from Pages 2.0.2 to Pages 5.5.3 and can no longer customize my line spacing. Does anyone know if there are more than 4 options for line spacing?

    Is it possible to customize line spacing in Pages 5.5.3? My previous Pages 2.0.2 allowed me to choose spacing in 0.1 increments, but as far as I can tell Pages 5.5.3 only offers four options. Very limiting for creative documents.

  • Sending an email via alternative SMTP

    Hi, up until recently Mail would politely prompt me to choose an alternate SMTP setting if I had sent an email using a non-available server setting. Example: When at home my ISP requires me to use smtp.johndoe.com but when at work I use their relay s

  • OOD With multiple jFrames

    Hello All, I am writting an application which contains a nubmer of GUI classes which operate on the same data class. For example I have classes A, B, and C which extend jFrame and contain an ActionEvent which creates the next appropriate user interfa

  • KM Image file name for Microsoft Office 2003 documents

    We want to change the images which display for Microsoft Office 2003 files loaded into KM to something more recognizable, but we CANNOT find the image files for .XLS, .DOC, .PPT, etc. Any Ideas what they are called?  Are they in the standard image re