Behavior for calling static image instead of swf?

On our webpage we currently have a flash image running. We
also use a Dreamweaver behavior that takes a user without the Flash
Player installed to a separate page that has a static jpg image
instead of the Flash image.
Is there a script, behavior or method available that would
call the static jpg image instead of the Flash image for non-Flash
Player users without sending the user to a separate page?
Thanks.

You can add an image tag inside the object tag. Just make
sure the image tag is the last line before the closing tag of the
object here is an example

Similar Messages

  • For IE8, can I load static image instead of Edge animation (see page)?

    I'm just roughing out a new site and my Edge animation isn't showing in IE8. I've googled and can't find definitive info on whether Edge 4 has support for IE8. I'm assuming not. My question is... is there a way to load a static image for IE8 so at least there is an image to fill that space? This is just going to be a huge roadblock to me continuing to use Edge unfortunately! IE makes me crazy!!!!!!  http://www.duenorthdesign.com/hwt

    Well if you look at the code in the url you supplied they are serving NON-IE browsers <![if !IE]> desginated by the ! mark the css and scripts files that are needed to make edge run correclty. Looking at the code in your page you don't have any of those scripts attached.
    <![if !IE]>
    <!--Adobe Edge Runtime-->
        <script type="text/javascript" src="edge_includes/jquery-1.4.2.min.js"></script>
        <script type="text/javascript" src="edge_includes/jquery.easing.1.3.js"></script>
        <script type="text/javascript" src="edge_includes/edge.0.1.1.min.js"></script>
        <script type="text/javascript" src="edge_includes/edge.symbol.0.1.1.min.js"></script>
        <script type="text/javascript" charset="utf-8" src="index_edge.js"></script>
        <link rel="stylesheet" href="index_edge.css"/>
    <!--Adobe Edge Runtime End-->
       <![endif]>

  • Dynamically Calling Background Image instead of standard setting

    Hi all,
    There is a requirement that, based on some condition I have to display shaded background image, say 'zimage1' .so as a result it should print in all pages. If condition fails, we have to display other image, say 'zimage2' in background. If both fails, no need to display background image.
    If any body knew the solution please assist me in this regards.
    Thanks & Regards,
    Nagesh.

    Do any one knew how to set Dynamic Background (Watermark) Image instead of going for the standard setting in Page. (by selecting BACKGROUND PictureTab).
    I want to pass a variable kind of information to the following fields during runtime.
    ie.,
    Path: Page->Background Picture.
    Name: <Variable image name>
    Object: GRAPHICS
    ID: BMAP
    and other properties like Ouput Mode, Position..etc.
    That image should come at backgroudn for all the pages.
    Hope, you have understood the issue here.
    Please do update me with relevnat ideas, if any.
    Thanks & Regards,
    Nagesh.

  • Using swf file for very large static image

    i have a large photo that i need to use as a banner image in a website.  i have tried optimizing it for the web in fireworks -- to reduce the file size obviously -- but the client isn't happy with the resolution.  i haven't had this issue come up before but i see his point (to a degree), as the detail and sharpness of the original is far superior.
    i have almost no familiarity with creating with flash, but i remember reading somewhere that swf files do not have the same sizes as jpeg images.
    would it be feasible to include the single static image as a swf file to preserve its original resolution?  i mean, would that image as a swf file be smaller than the image as a jpeg?
    mille grazie.

    There are two things at play here... image quality (often harmed by compression) and image resolution (# of pixels width by height). What is the real problem?
    Whether you render your image as a GIF, JPG, PNG or SWF file, they will all have the same resolution.
    Packing an image in SWF should be a last resort as not everyone has Flash installed. For example, iPhone users cannot see SWF.

  • Show static image then play 2 .flv

    I want to have a player that shows a static image to begin with and then plays 2 short .flv files, one after the other and then reverts to the static image.
    I've found this, which works beautifully for the static image and one movie clip but I don't know how to add the second movie clip.
    startBtn.onRelease = function() {
    // make sure your video has an instance name of vid
    // and it is NOT set to auto play.
    vid.play();
    this._alpha = 0;
    var listenerObject:Object = new Object();
    listenerObject.stopped = function(eventObject) {
    startBtn._alpha = 100;
    vid.addEventListener("stopped",listenerObject);
    listenerObject.playing = function(eventObject){
    startBtn._alpha = 0;
    //Or you can use startBtn._visible = false
    vid.addEventListener("playing",listenerObject);
    Any help would be very welcome!
    Jeni

    thankyou again.
    that certainly sends the player back to the first movie but it stops after the first movie and doesn't play the second one again. Hitting the play button again, after that, just repeats the first movie. Any idea how I fix that?
    This is what I've got now:
    startBtn.onRelease = function() {
    // make sure your video has an instance name of vid
    // and it is NOT set to auto play.
    vid.play();
    this._alpha = 0;
    var listenerObject:Object = new Object();
    listenerObject.stopped = function(eventObject) {
    startBtn._alpha = 100;
    vid.addEventListener("stopped",listenerObject);
    listenerObject.playing = function(eventObject){
    startBtn._alpha = 0;
    //Or you can use startBtn._visible = false
    vid.addEventListener("playing",listenerObject);
    vid.addEventListener("complete",listenerObject);
    listenerObject.complete = function(eo:Object){
    if(!numCompleted){
    numCompleted=1;
    vid.contentPath="v4.flv";  vid.play();
    } else {
    vid.contentPath="v2.flv";

  • InDesign behavior for image links on virtual drive?

    When working with local InDesign files and local image links, I get warnings about missing links or modified links in case the images have been removed or updated since being placed in InDesign. When working with InDesign through Adobe Drive, the behavior seems to be radically different.
    For instance, I place an image from the virtual Z drive and save the InDesign file on the virtual Z drive.
    At a later time, the asset is removed from the DAM system (or moved so it is now mapped to a different local path).
    When I reconnect through Adobe Drive and open the InDesign file, I will not get a missing link error, instead the link will appear without a missing link icon but also without a path.
    Certain workarounds that we have implemented (e.g. remapping the path on the fly in case the asset has been moved) work when the originally placed image was a local file (i.e. occurs in the XMP with a C: path) but not when the originally placed image was retrieved through Drive (i.e. occurs in the XMP with a Z: path). Of course we would like to obtain consistent InDesign behavior regardless of whether the user connects through Drive or not.
    Has this different behavior for InDesign links been documented? Can I get any additional information about it?
    Thanks in advance.

    In the mean time I have done some more research. Basically the issue I am struggling with can be illustrated with the following simple scenario:
    1. Create a new InDesign file and place an image located at C:\Temp\link.jpg in it. Save the file to the C drive.
    2. Connect to your DAM through Drive which is mapped to the Z drive.
    3. Create a new InDesign file and place an image located at Z:\Temp\link.jpg in it. Save the file to the C drive.
    4. Copy both InDesign files without the links to a clean machine (which has no connection with Drive and no images in the C:\Temp folder).
    5. Open the first InDesign file. You will get a missing link error as expected.
    6. Open the second InDesign file. You do NOT get a missing link error.
    7. Create a new image on the clean machine and save it as "link.jpg" in the same folder as the copied InDesign files.
    8. Open the first InDesign file. You will get a warning about a modified link with the option to update the link.
    9. Open the second InDesign file. You do NOT get a warning about a modified link. You cannot update the link.
    So the problem is in steps 6 and 9.
    Why don't I get a missing link error in step 6?
    What will happen when I try to print the InDesign document at this stage (or try to export to high resolution pdf)?
    At this point the high resolution image link is not available so I assume the preview will be used.
    However the user is not at all aware of this. This could turn out to be a major issue for our adoption of Adobe Drive.
    Thanks in advance for any additional insight you can provide.

  • Optimize php page for browsers lacking flash, so that it replaces flash objects with static images

    Hello,
    I basically want to have my php pages with flash swf objects to be smart enough to replace the flash swf's with static images or other content for the non-flash user (iphone, ipad, etc.) who visits the website.  I guess this would be an option or perhaps a script that just sent the visitor to a version of the .php page that is tailored to them, a version of the page designed for non-flash users.
    I've done a little bit of reading up and have found that some people like to use DOM scripts like
    Unobtrusive Flash Objects (UFO) v3.22
    or what seems to be the successor:
    SWFObject 2.0
    What is better?  Is there a better script out there to use at this point?  Advice would be much appreciated.

    I guess I will reiterate this.
    I would like someone to tell me which one of these scripts that I have mentioned above would be best to use.
    What am I trying to do?  Well from my understanding these scripts allow me to have multiple versions of the website, so that it loads up with static images in place of the flash swf's for... NON FLASH USERS.
    The script will be able to detect whether the flash capabilities of the browser are sufficient, and if not display the web page accordingly.
    SO.  I'm looking for an answer as to what is the best script to use, if it's not one of the scripts I am asking about.
    @The Shocker.. if I wanted to research it on the net by googling, which I already have, I wouldn't be using this forum.  I'm looking for someone who is knowledgeable in this area of expertise to give me a recommendation, based on information they can give me that is logical and clear.  And then I can do further research once I feel I'm being sent in the right direction.
    Thanks in advance to anyone who would like to offer me some direction on this.

  • HT2534 I want to use an iTunes gift card as the back up for in app purchases for a so called free app instead of my credit card or having my bank account emptied.

    I want to use an iTunes gift card as the back up for in app purchases for a so called free app instead of my credit card or having my bank account emptied.
    How can I do this? I saw something about gift cards can only be used for music or movies, not apps.

    You can use an iTunes gift card for app, music, movies and other media.To redeem one see:
    iTunes Store: How to redeem a code

  • Showing image instead of flash for mobiles?

    I am just wondering if it is possible to show an image instead of flash content for mobiles?
    I want to allow the adobe sniffer to do its thing when it is people using pc and mac browsers and direct them to the plug in page to download the flash player if they need it, but is there a way to sniff for a mobile / smart phone browser and if they cant view flash it will show an image instead?
    Any help appreciated.

    You can use Javascript to detect the browser and platform for any given user. You can then parse that information to push the content that you want to use for the result. You can find a good write-up with example code here: http://www.quirksmode.org/js/detect.html

  • HT1539 I entered the download code for"THE HOST"but instead I got a copy of"Spring Breakers".How can I correct this?  I called a friend that has"Spring Breakers"and the codes are not even remotely alike!!! I did not want to download what I received!!What'

    I entered the correct download code for "THE HOST" but instead got a copy of "SPRING BREAKERS"! All of the prompts identified it as "The Host" but the final product was "Spring Breakers"! I called a friend who has a copy of that movie and the download codes are not even remotely alike!! How can I correct this error? I 'd rather have SyFy that a bubblegum teenager flick!! HELP ME, PLEASE?!

    Hello Old Dogg new tricks,
    Thanks for using Apple Support Communities.
    For more information on this, take a look at this article:
    How to report an issue with your iTunes Store, App Store, Mac App Store, or iBookstore purchase
    http://support.apple.com/kb/ht1933
    Best of luck,
    Mario

  • Displaying Static Image of a page in an application

    Hi All,
    Ultimately I'd like to design an app which displays a PDF, however I only really need a static image of the page... no toolbars, etc...
    I've successfully written the app with the Adobe Reader ActiveX component, but there are a few things left to desire.
    1. I can use setShowToolbar and setShowToolbar to disable them and get a fairly static view of the PDF (+/- the annoying tab bar on the left), however when it first renders the object, I see both the scroll bars and toolbars, then it flashes and removes the toolbar, then flashes again and removes the scrollbars. It doesn't seem to matter in what order I call loadFile, setShowToolbar, setShowToolbar... or the delay afterwards in which I wait to show the object. Any way to get rid of this?
    2. I've tried toying with the IViewObject::Draw method with no luck what so ever. I've tried numerous ways in my WM_PAINT message of my window to call this method in hopes of a static rendering to appear. The method returns S_OK, but I get nadda. I've followed examples of using the IWebBrowser object in this way to get a static web page, other than the fact that I call loadFile in the IAxAcroShim object first to give it something to show... This is my first app using an ActiveX component, so any help here would be appreciated.
    3. I noticed a lot of posts on how to remove the tab (nav) bar that appears on the right, and most peeps say "not possible". I tried the approach of finding the window by looking for "AVTabStripView", and just hiding it, and resizing the window with the doc in it to fill in the gap... works ok... The doc window being "AVPageView".

    Well, the ActiveX control is exactly what I want... to view a PDF in my app just the way it is. I was only trying to produce a static view to get rid of the annoying flashes that happen when the toolbar and scrollbars are disabled. I don't care that the user can re-enable them, or do what they want, I'm only showing it initially with the toolbar off since the window is small and I want to maximize the document in the window for the users benefit. So, perhaps "static" wasn't the best word for it.
    The purpose of the app is simply to display Adobe Reader as a child window inside of a full-screen app so that the user doesn't need to alt-tab continuously to compare data. The parent app runs in full-screen, with no "windowed" mode available. I'm using ActiveX instead of the app directly so that the PDF can the displayed in a portion of the screen that makes sense. And all the PDFs being displayed are single page... i.e. displaying a manual for a game, from within the game, but the window itself is decorated to go with the game...

  • Problem printing static images vs camera tool snapshots

    Hi.
    This question might be a matter of formatting instead of a developer question but since it is related to some VBA code I am using I thought it would be appropriate to post here.  If it isn't, can someone let me know which forum would be more appropriate?
    Here's the situation.  I have a workbook that has many tables on separate worksheets.  Then I have couple "summary" type of worksheets which contain camera tool snapshots of tables from different worksheets for easier viewing/printing. 
    Because of the heavy lag in recalculation time created by using camera tool snapshots, I have turned the snapshots into static images by removing the source range from their formula.  Instead, after making whatever changes I need in the data, I use a
    VBA macro to loop through each snapshot and briefly restore the source range formula so that it updates to reflect the latest table changes then clear the source range formula again, returning the snapshot to a static image.  This seems to work fine when
    I view the worksheets and makes the recalculation of the tables much faster when changing the data.
    However, I have encountered a new problem.  If I print the summary worksheets with the static images, each table is printed as smaller than when they are snapshots.  In other words, when the source range formula is set to the appropriate range
    and I print the sheet, everything looks fine.  When I clear the source range formula and print the sheet, each table is now horizontally smaller and some information in the last column is being cut off.  The images/snapshots have their size set to
    100% of the original and I have tried keeping "Relative to the original" checked and unchecked with no difference.  Does anyone know why this is happening?

    It may not be the images.  It may be the print options are set to auto scale the worksheet.  Try manually printing a one test page and try different print scale options.  Use Print Preview which will allow you to scale page sizes. 
    Often issues like this occur when you are trying to print more than one page at a time.  The scale on one page may be different from a second page.  Sometimes adding page breaks (horizontal and vertical) helps solves these issues.
    jdweng

  • Report deployed to new server does not display static image

    Hi,
    We have several web sites on a server running Windows Server 2008 R2 Standard, SP1, 64-bit.  It has installed .NET Framework 4 Client Profile and Extended, ver. 4.0.30319 (according to Control Panel->Programs, as well as c:\Windows\Microsoft.NET\Framework).  Two of the sites use many Crystal Reports, most of which include a static image as a logo. This image is embedded in each report; there is no stand-alone image file that gets deployed.
    Recently, we migrated to a new server, running the same version of Windows & .NET Framework.  As near as we can tell, the 2 servers are nearly identical, as far as configuration and permissions, etc. One notable exception is the DefaultAppPool, which is Classic on the original server and Integrated on the new. (When I changed the new server to Classic, the apps failed to run properly.)  The other exception is the old server is on a stand-alone box, while the new server is a virtual machine.
    For one of the apps on the new server, the embedded logo images are not displaying on the page.  Instead, there is a little red X with the word "Image".  For the other app on the new server, the reports display fine.  Furthermore, if I copy one of the "broken" rpt files from the "broken" app to the "good" app, the report displays correctly!  And of course, the same file displays correctly in all circumstances on the old server.
    This suggests to me that there is not a problem with the report file, per se', but rather with the environment to which it is deployed.  Permissions?  If so, where?
    Any suggestions would be much appreciated.
    Thanks.
    --d

    The search string 'crystal red x net' (search box in top right corner) should return a number of KBAs, docs, blogs, etc. See if any of those help.
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • How can i call a function of a swf-file which is embedded as a Resource in 3D-Annotation?

    Hi.
    I use a Flash-menu as an embedded *.swf in a 3D-Annotation. Now i want to trigger one of the ActionScript-Function out of the 3D-Annotation.
    How can i get access to that function?
    Cause of it is embedded, the callAS() Methods still not possible. But how else can i do that?
    Can u give me a simple example? How is the usability of Flashvariable in the Ressource-Tab of 3d-Annotation?
    Kind regards
    Florian

    It depends to some extent on how your SWF has been bound to the 3D scene. If you have bound it using a script, then you have a FlashMovie object that has a .call() method - but if you've attached it to something using the binding option on the Resources panel you will need to collect a reference first. If you know you are going to talk to the SWF it's best to bind it using JavaScript.
    Let us assume you have a SWF in the resources collection but it's not bound to anything. In the 3D scene there is an object called 'cube' on which the SWF must appear as a material, and the SWF has declared a function to the ExternalInterface engine that is called "myFunction", which expects a string as a variable. Here's what you would put in the script attached to the 3D scene:
    var fm = new FlashMovie("demo.swf");
    var matl = scene.meshes.getByName("cube").material;
    matl.useFlashMovie(fm);
    fm.call("myFunction","hello");
    The call() method is strictly typed - for example if your AS function expects a boolean and you sent it a string, it will not execute. There is also a limit on the possible returned variables - e.g. you cannot send back an Object.
    Note that commands sent in the other direction using ActionScript's ExternalInterface.call() method are targeted at  document-level by default, not at the 3D API - so if your AS is trying to call something it must exist as a document-level JavaScript function. It is possible to divert this traffic into the 3D API using the FlashEventHandler object, but it gets complicated as your code must implement XML encoding of the traffic - this is done automatically by the document-level script but not by the 3D API.
    To answer your second question, in the resources dialog you can define the FlashVars string which is passed to the SWF when it loads - this is the same URL-encoded set of variables that you would send to a SWF when embedding it in an HTML page. It's a static string; you cannot read or edit it with JavaScript but this means it will still work if the user disables the JavaScript engine.

  • JUNIT : how to call static methods through mock objects.

    Hi,
    I am writing unit test cases for an action class. The method which i want to test calls one static method of a helper class. Though I create mock of that helper class, but I am not able to call the static methods through the mock object as the methods are static. So the control of my test case goes to that static method and again that static method calls two or more different static methods. So by this I am testing the entire flow instead of testing the unit of code of the action class. So it can't be called as unit test ?
    Can any one suggest me that how can I call static methods through mock objects.

    The OP's problem is that the object under test calls a static method of a helper class, for which he wants to provide a mock class
    Hence, he must break the code under test to call the mock class instead of the regular helper class (because static methods are not polymorphic)
    that wouldn't have happened if this helper class had been coded to interfaces rather than static methods
    instead of :
    public class Helper() {
        public static void getSomeHelp();
    public class MockHelper() {
        public static void getSomeHelp();
    }do :
    public class ClassUnderTest {
        private Helper helper;
        public void methodUnderTest() {  // unchanged
            helper.getSomeHelp();
    public interface Helper {
        public void getSomeHelp();
    public class HelperImpl implements Helper {
        public void getSomeHelp() {
            // actual implementation
    public class MockHelper implements Helper {
        public void getSomeHelp() {
            // mock implementation
    }

Maybe you are looking for

  • How Do I Clone A DB

    Using SSMS I created a new DB (lets call it NEWDB) then I created a backup of the DB I wanted to Clone (lets call the File Clone.BAK).  Now when I attempt to restore NEWDB with CLONE.Bak I get an error message: "System.Data.SqlClient.SQLError: The ba

  • Cogs of death

    Hi, before I subject myself the the pains that are the helplines...can anyone help? On powering up my Vision box I get a single cog on the screen with a black line underneath.  The line slowly turns grey and when completely grey the screen flickers a

  • GUI Development Question

    Hi everybody! I'm quite new in ALBPM and I have some questions about it, especially about user interfaces. I've been developing JSP aplications (using MVC frameworks) for a long time, and I can't figure out how does it fit in the ALBPM world. What's

  • Camera Connection Kit + Sandisk Card Reader = KILL 16G CF card

    My camera connection kit with my sandisk card reader fried 2 16G CF card (1 Sandisk Extreme 60MB/s 16G and 1 Sandisk Ultra 30MB/s 16G). And I have a pair of 8G too and they've no problem, this makes me think that anything ABOVE 8G might be damage in

  • Im trying to update my itunes to 11 but im having a error message about security

    im trying to update my itunes to 11 but im having a error message about security