Not getting a true swf resize when resizing swf in captivate

I am using Captivate to generate a certain animation, that is
an external swf, played by a larger swf. OK, this is unusual.
The original problem is that when I authored the captivate to
the correct size (110 x 110 pixels), the animated text letters were
unacceptably aliased, choppy. No problem I thought. I'll simply
create a captivate 220x220, then publish at 50% size and thus have
an anti-aliased and good looking text in my little animation. And
it does look good when I preview it in Captivate.
However I notice that when I use the master swf to play the
reduced captivate swf (I do not define in the master swf what size
the reduced captivate swf should display at), it keeps wanting to
display at 220x220! This is very odd. Is captivate not really
natively reducing the size of the swf when I publish to be reduced?
Your help would be appreciated!

Instead of extending JPanel in ColeMain, why not extend JFrame?? Then you will be able to explicitly set the size.
From your main method, you will be able to remove the part where you instantiate the new JFrame. You only have to instantiate the instance of class ColeMain.
Use the setSize method on the JFrame simply by using setSize(int,int), instead of myframe.setSize().

Similar Messages

  • [svn:bz-trunk] 21394: bug fix for watson 2887837 Not getting duplicate session detected error when same flex client id is used from two different HTTP sessions in CRX .

    Revision: 21394
    Revision: 21394
    Author:   [email protected]
    Date:     2011-06-16 12:34:13 -0700 (Thu, 16 Jun 2011)
    Log Message:
    bug fix for watson 2887837 Not getting duplicate session detected error when same flex client id is used from two different HTTP sessions in CRX.
    get the sessions id before we invalidate the duplicate session.
    Checkintests pass
    Modified Paths:
        blazeds/trunk/modules/core/src/flex/messaging/endpoints/BaseHTTPEndpoint.java

    For our profect I think this issue was caused as follows:
    Believing that remoting was full asynchronous we fired a 2 or 3 remote calls to the server at the same time ( within the same function ) - usually when the users goes to a new section of the app.
    This seemed to trigger the duplicate http session error since according to http://blogs.adobe.com/lin/2011/05/duplication-session-error.html  two remote calls arriving before a session is created will cause 2 sessions to be created.
    Our current solution ( too early to say it works ) is to daisy chain the multiple calls together .
    Also there seemed to be an issue where mobile apps that never quit ( thanks Apple! )  caused the error when activated after a few hours.
    I guess the session expires on the server and the error above occurs on activation.
    So the mobile apps now ping the server with a remote call when activated after sleeping for more than one hour.
    All duplicate http errors are silently caught and reported.
    Fingers crossed we won't get any more!

  • Can not get wifi to turn on when I swipe it

    Can not get wifi to turn on when I swipe it

    Is this your problem:
    iOS: Wi-Fi or Bluetooth settings grayed out or dim
    It is frequently a hardware problem and an appointment at the Genius Bar of an Apple store is in order.

  • Not getting synchronization with audion , vedio when merging

    Hi ,
    Nice to see your reply.First of thanks for it.
    Yes Now I am dumping the captured frames directly to .mov file .
    In that process I am doing compression using compressJPEG techinique [ORI] Image I/O in Java Advanced Imaging concept .
    When Cpatured image byte array size after compression = 226956 ( using Image I/O)
                                       = 753974 ( using compressJPEG)
    The following snippet shows how I am updating Buffer with my frames ( in a
         class PlayerSourceStream implements PullBufferStream ).
         recordArea = my screen size ( 0,0,1284,1024);
         Here I am using below mentioned format for Buffer object
         VideoFormatformat = new VideoFormat(VideoFormat.JPEG,
         new Dimension(recordArea.width, recordArea.height),Format.NOT_SPECIFIED,Format.byteArray,(float) frameRate);
    public void read(Buffer buffer) throws IOException
                   long lastFrameTime=0;
                   long time = 0;
                   if (!GlobalStorage.isRecodring() && !GlobalStorage.getPauseState())
                        start = System.currentTimeMillis();     
                        //We are done. Set EndOfMedia.
                        listener.recordingStopped();
                        System.out.println("Done reading all images.");
                        buffer.setEOM(true);
                        buffer.setOffset(0);
                        buffer.setLength(0);
                        buffer.setFormat(format);
                        ended = true;                         
                        return;
                   else
                        byte[] data = null;
                        if (!GlobalStorage.getPauseState())
                             System.out.print(". recordArea: "+recordArea);
                             try
                                  Thread.sleep(200);
                             catch(Exception e)
                             /*time = System.currentTimeMillis();
                             while(time-lastFrameTime < 200)
                                  try
                                       Thread.sleep(50);
                                  catch(Exception e)
                                  time = System.currentTimeMillis();     
                             lastFrameTime = time;
                             BufferedImage bImage = captureScreen(recordArea);
                             //data = ImageKit.toByteArray(bImage, 0.5f);
                             Image capImage = bImage.getScaledInstance(recordArea.width, recordArea.height, bImage.SCALE_DEFAULT);
                             //data = CompressImagePNG(capImage);
                             data = CompressImageJPG(capImage);                         
                             System.out.println("==> CompressImageJPG : "+data.length);
                             //System.out.println("==> CompressImagePNG : "+data.length);
                             //System.out.println("==> ImageKit.toByteArray CompressImage : "+data.length);
                             //data = getCompressByte(capImage);
                             listener.frameRecorded(false);
                             nextImage++;
                   //System.out.println("==========> nextImage :" + nextImage);
                        buffer.setData(data);
                        buffer.setOffset(0);
                        if (data == null)
                             buffer.setLength(0);
                        else
                             buffer.setLength(data.length);
                        buffer.setFormat(format);
                        buffer.setFlags(buffer.getFlags() | Buffer.FLAG_KEY_FRAME);
    Mean while I am recording Audio with following snippet.
    AudioFormat audioFormat = new AudioFormat(AudioFormat.Encoding.PCM_SIGNED, //     the audio encoding technique
                        22050.0F,// sampleRate          the number of samples per second
                        16, // sampleSizeInBits the number of bits in each sample
                        2, // channels          the number of channels (1 for mono, 2 for stereo, and so on)
                        4, // frameSize          the number of bytes in each frame
                        22050.0F,// frameRate     the number of frames per second
                        false); // bigEndian     indicates whether the data for a single sample is stored in big-endian byte order (<code>false</code> means little-endian)
    AudioSystem.write(m_audioInputStream,m_targetType,m_outputFile); ( it is in a separate run() of a Thread )
    Here I am not applying any compressing technnique in Audio file creation.
    To merge these two I ma using Merge.java which is mentioned in below link
    http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/solutions/Merge.html
    Here I am getting 3 problems
    1.Final out file merge.mov file size is getting more.
    Example : = 2 min Recording = 80MB
    2.More over I am not getting synronization in merge.mov file with audio, video.
    Video is completing before Slider reaches to end point when I play the movie.
    Need clarifications:
    1) Should I Compress the Audio also ?
    2) Which VideoFormat is better to in creation .mov file.
    x.WAV (only audio), y.MOV (only video) = > z.MOV ( merge.mov)
    I will be appriciate if i get any information need ful inofrmation.
    I dig the google almost I visted all related links and forum questions.
    Please try to help with code.

    Hi Thanks for reply .................if you want code what I am using to create .mov file ( by captured images) (which is input file to Merge)
    Just see here once... Please try it once on different resolutions .......if possible try to reply with resolution code.
    Please its very needful to me......please send ASAP. One more thing I want to mention is " app is target platform is MAC and UBUNTU"
    Please modify some code to execute .....hope you can execute it.
    Here I mentioned the main core logic to capture the screen :
    Here recordArea rect = > public static Rectangle recordArea = new Rectangle(Toolkit.getDefaultToolkit().getScreenSize());
    class PlayerSourceStream implements PullBufferStream
              float frameRate;
              VideoFormat format;
              //BufferedImage image;
              int nextImage = 0; // index of the next image to be read.
              boolean ended = false;     
              public PlayerSourceStream() throws IOException
                   frameRate = 2.1f; //1280 * 1024               
                   //frameRate = 4f; //1024 * 768
                   format = new VideoFormat(VideoFormat.JPEG,
                             new Dimension(recordArea.width, recordArea.height),Format.NOT_SPECIFIED,Format.byteArray,(float) frameRate);          
              public boolean willReadBlock()
                   return false;
              public void read(Buffer buffer) throws IOException
                   System.out.println("==> GlobalStorage.isRecodring() :"+GlobalStorage.isRecodring());
                   System.out.println("==> GlobalStorage.getPauseState() :"+GlobalStorage.getPauseState());
                   if (nextImage>0 && !GlobalStorage.isRecodring() && !GlobalStorage.getPauseState())
                        start = System.currentTimeMillis();     
                        //We are done. Set EndOfMedia.
                        listener.recordingStopped();
                        System.out.println("Done reading all images.");
                        //logger.debug("Done reading all images.");
                        buffer.setEOM(true);
                        buffer.setOffset(0);
                        buffer.setLength(0);
                        buffer.setFormat(format);
                        ended = true;                    
                        return;
                   else
                        byte[] data = null;
                        if (nextImage < 1 || !GlobalStorage.getPauseState())
                             System.out.print(".");
                             try
                                  Thread.sleep(140);
                                  //Thread.sleep(200);
                             catch(Exception e)
                             BufferedImage bImage = captureScreen(recordArea);
                             data = ImageKit.toByteArray(bImage, 0.5f);
                             //Image capImage = bImage.getScaledInstance(recordArea.width, recordArea.height, bImage.SCALE_DEFAULT);                                                  
                             //System.out.println("==> CompressImageJPG : "+data.length);     
                             //logger.debug("==> ImageKit.toByteArray CompressImage : " + data.length);
                             System.out.println("==> ImageKit.toByteArray CompressImage : " + data.length);
                             listener.frameRecorded(false);
                             nextImage++;
                             /*buffer.setData(data);
                             buffer.setOffset(0);
                             buffer.setLength(data.length);
                             buffer.setFormat(format);
                             buffer.setFlags(buffer.getFlags() | Buffer.FLAG_KEY_FRAME);*/
                        buffer.setData(data);
                        buffer.setOffset(0);
                        if (data == null)
                             buffer.setLength(0);
                        else
                             buffer.setLength(data.length);
                        buffer.setFormat(format);
                        buffer.setFlags(buffer.getFlags() | Buffer.FLAG_KEY_FRAME);
              * Return the format of each video frame. That will be JPEG.
              public Format getFormat()
                   return format;
              public ContentDescriptor getContentDescriptor()
                   return new ContentDescriptor(ContentDescriptor.RAW);
              public long getContentLength()
                   return 0;
              public boolean endOfStream()
                   return ended;
              public Object[] getControls()
                   return new Object[0];
              public Object getControl(String type)
                   return null;
         }

  • Delta Records is not getting updated in delta queus when changes done

    Hi All,
    In Quality system , when a user makes a change to an order's ship-to address, the changes are "triggering" a delta record into the delta tables for BI to extract. This can be seen via tcode rsa3's delta tester.
    In Productionn System, when the user makes the exact same change, nothing is added to the delta table and the changes never come over to BI unless a full extract is request for the order.
    Why changes not getting updated, please give your inputs.
    Thanks & Regards,
    Venkat Vanarasi.

    Do you have your V3 update job active and running? THis job wites changes to the delta queue. Of course your datasource has to been initialized and a delta queue should be setup. You can check it in RSA7.
    Regards,
    Juergen

  • Data not getting displayed in ALV grid when run in background

    Hello experts!
    Could anyone help me out please?
    I need to display an ALV grid in the background. My requirements are as follows:
    I first display an ALV grid in the foreground based on some input parameters. The user selects a few records for updating it and clicks on the "update" button. On the click of this button another report must be called and here the ALV report is displayed in the background.I am using "reuse_alv_grid_display" to display the grid.
    I am using Import/Export to get the selected rows in my called report. When i execute this report in the foreground i get the ALV grid along with the data. But when i execute it in the background, i get only the grid with the fieldnames and not the data when i check in SP01.
    Thanks in advance!
    Smitha

    Hi Smitha,
    If you are able to see in SP01 and only see the output layout or "List contains no data" shows clealry that the data is not getting passed in the called program or the data is not being used correctly in the called program.
    Cheers
    VJ

  • Future price is not getting updated as current price when period changed

    Hi all,
    We follow the following procedure to update standard price in material master. Our organization is a manufacturer of pharma products. ( System is not live yet)
    We have BoM's for all FG's and all FG's & SFG's are having Price control indicator as "S". Rest other materials are valuated for Moving Average price.
    > Run T-code CK11n for the FG.
    > Check whether costs of utilities and final product is as per the cost sheets prepared manually (10-20% difference acceptable)
    > Do not save it and goto CK40n tcode. Mark and release price of FG's & SFG's for the current date (eg: 16.01.2008). Now as 10th period of year 2008 was not open at that time and only 9 th period of year 2007 was open, the prices were updated as "FUTURE PRICE" in costing-2 view of material master.
    > Now that when i am opening 10th period (both financial period and inventory period), my future price is not getting updated as my CURRENT PRICE in material master as my standard price.
    Pls. reply to this urgently.

    Hi,
    I am sure about it that when CK40n was done for a future date when some n-1 period was open, the costs released would get updated as future price.
    When the period for which future price was updated is opened as current period, the future price automatically gets updated as current price and is also set as standard price in accounting 1 view.
    But i m unable to identify why is not working.

  • Pricng not getting distributed at item level when given at header level-

    Dear all
    We are using pricing procedure in Delivery for certain freight condition types...
    When a condition type ZFRT is given manual pricing at header level,it is not getting distributed equally at item level..
    Can u tell us what exactly the problem..
    The same condition type while using in Sales order,distributes pricing to all items ...when given at header level...
    Group condition tick mark is put.Priicng is at header level tick mark is put..

    Hi,
       Go to header level of the delivery document and in conditions tab press "update" and do carry out new pricing and then give the header condition value and press activate.
    Reward me if it helps.
    Regards,
    kishore.

  • I did not get facetime in my iphone when my account is linked to the u.s

    guys i brought the iphone in the united arab emirates [dubai] during my visit there for a meeting but then when i came back to new york and updated to ios7 it did not have facetime in it even when my apple id is from the us.....help me

    Doesn't matter where your AppleID is from.  It matters where the PHONE is from.  All phones sold in the UAE have had FaceTime removed, effectively at the hardware level.  There is no way to get FaceTime on that phone.  Ever.  No matter if you update the iOS (as you discovered), or take the phone out of the UAE (as you've also discovered).  If you want FaceTime, you'll have to purchase a brand new phone.

  • Why since the new i06 update do I not get my notifications on texts when my iphone 4 is in lock screen?

    Why since the new i06 update can I not get my notifications sound for texts when my iphone4 is in lock screen?

    You already have a thread going on this...
    Anyone having problems with their phones after i06 update?

  • I can not get FF 8 to resize the foreground window when I press ctrl + to zoom in, Is there a fix?

    I am stuck with FF 3.6 because FF 8 does not resize the java script window properly when zooming in on a web page. See http://www.titantv.com/ for an example web page.
    Is there a fix?
    I have tried disabling all add ons viewing with original default settings. Nothing seems to work. So I am stuck using FF 3.6 which is the last version of FF that works with Java.

    That would make things worse for you.
    See '''http://kb.mozillazine.org/Resizing_oversize_window'''
    Use Alt+SpaceBar to move or resize, especially if you have a problem grabbing edges of a window.
    You can use JavaScript to resize windows with a bookmark, but there are severe limitations, see
    : http://kb.mozillazine.org/Resizing_oversize_window#JavaScript_no_longer_allowed_to_resize_windows
    '''Setting up:'''
    # use '''about:config''' to change '''services.sync.prefs.sync.dom.disable_window_move_resize''' to '''false'''.
    # Invoke bookmark anywhere but from the location bar which almost eliminates use of keyworded bookmarklets which was the most beneficial method. But there are ways of getting around that.
    '''To invoke a keyworded bookmarklet from the location bar'''
    # Bring up about:config
    # "Ctrl+L" to back to the location bar instead of within Filter
    # invoke your keyworded bookmark, which can include substitution
    # return to your previous tab, Ctrl+W will close current tab
    '''To invoke your keyworded bookmarklet from the Bookmarks sidebar''', set up a folder with your
    resize bookmarks in it and include a [http://kb.mozillazine.org/Dev_:_Firefox_Chrome_URLs Chrome URL] bookmark for '''about:config'''
    Name: ---about:config---- within resize folder containing Javascript resize/move
    :Location: chrome://global/content/config.xul
    '''steps:'''
    # "Ctr+B" bring up Bookmarks sidebar
    # search on resize javascript
    # invoke about:config in a new tab, Ctrl+click on the about:config chrome bookmark you included
    #"Ctrl+L" to return to the Location bar
    # invoke a resize bookmark from display in sidebar
    # "Ctrl+W" to close the about:config tab, maybe you'll return from where you came from
    All of my resize bookmarks have a keyword shortcut usually named by width, and can be seen in the following:
    * http://dmcritchie.mvps.org/firefox/kws.htm also look for link to k.html

  • Since upgrading to iOS 6 I am not getting prompted for my password when I update apps. Why is this?

    When I updated apps on my ipad2 and iphone4S I used to get prompted for my password within a certain time.  So I could update a couple and then 10 minutes later if I wanted to download or update something else I would need to put in my password again. Since I upgraded to iOS6, I don't believe I am prompted for my password the same amount of times. I updated an app this am after not using iPad through the night and it just updated, no password required. This has me concerned now because sometimes I bump buttons by accident and now I will be charged for these accidents. What has happened to Apple's brilliant security?

    They've changed it in iOS and updates (and updates ONLY) do not require a password since it is really unnecessary as they have it on record that you were the one who bought the app. Why is more security needed, you aren't going to be charged for anything?
    Next time you update and app go to the App Store and try to buy something. You will be asked for your password.

  • Not getting contacts from address phone when using Add Invitees in iCal

    Until recently, i notice when i type in 'Add invitees' for any event, it does not retrieve contacts from my address book.
    I am running 10.6.4 and ical version 4.0.1 (1374).
    any help would be appreciated.

    j,
    ...i ran software updates and i do not see an entry to update ical to 4.0.3. so do i get the latest version?
    If you ran software update your system version should be Mac OS X (10.6.5), and iCal should be Version 4.0.4.
    Try downloading and installing the Mac OS X v10.6.5 Update (Combo).
    ;~)

  • Macbook pro is not getting turn on and further when i press power button the green orange light suddenly changes to green again, moreover battery meter is not working

    Hi
    Last night my macbook pro gets off automatically when battery gets empty and in the morning it isn't turning on. When i connect the charger, the light on the charger turns green to orange (showing that it is charging) but when i press the power button it suddenly changes to green again. I thought there must not be any connection between the charger light and the power button. And battery meter was running fine.
    When it tried this again and again the charger light disappear and battery meter also stops working, when i clearly observe it there is a very dim green light in the charger (not observable in the light) and the laptop is still not showing any change.
    please help!

    Try Resetting the System Management Controller (SMC)
    Apple - Batteries - Notebooks

  • How do you share one iTunes with two phones but not get each other's apps when you sync?

    My husband doesn't want to have the kid's apps or my apps download on his iphone when he syns to our one iTunes library....suggestions?

    Each device will ONLY sync what you select.
    Just do not select the apps that you do not want.  Only select the apps that you do want.

Maybe you are looking for