Image content not defined in TileList

I have two images on a canvas, one is directly on the canvas using inline code, the other is embedded in a tilelist. Both images render. When I click and drag the inline image, the drag proxy appears normally. When I click and drag the image in the tile list, I get an error when I try to make a copy of the bitmap. This is occurring because the content of the image in the tile list is NULL, even though the source value is correct and the image has been loaded. I'm assuming this is some sort of itemRenderer issue, but I'm not clear on how it retains the source of the image, but not the content. If it's duplicating the image and referencing another bitmap, how do I access that bitmap?
The code is below with the exception of the image.
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="init()">
<mx:Script>
    <![CDATA[
        import mx.collections.ArrayCollection;
        import mx.managers.DragManager;
        import mx.core.DragSource;
        [Bindable] private var images:ArrayCollection=new ArrayCollection;
            private function init():void{
                i.source="images/1.png"; //set image source that is placed directly on canvas, this image has a drag proxy
                var i2:Image=new Image; //create new image to be added into tile list, this image does not have a valid drag proxy because content is missing
                i2.source="images/1.png";
                images.addItem(i2);
            private function mouseMoveHandlerTileList(event:MouseEvent):void
                var tl:TileList=TileList(event.currentTarget);
                var image:Image=tl.selectedItem as Image;
                if (image){
                    //Here the image contains the correct source, but no content.
                    initiateDrag(event, image);
            private function mouseMoveHandlerImage(event:MouseEvent):void
                var image:Image=Image(event.currentTarget);
                if (image){
                    //Here the image does contain content
                    initiateDrag(event, image);
            private function initiateDrag(event:MouseEvent, image:Image):void{
                    var dragInitiator:Image=image;
                    var ds:DragSource = new DragSource();
                    ds.addData(image, "item");
                    var dragProxy:Image = new Image;
                    var data:BitmapData=Bitmap(image.content).bitmapData.clone(); //image.content is not null for imageon canvas, but is null for image in tile list
                    dragProxy.source=new Bitmap(data);
                    DragManager.doDrag(dragInitiator, ds, event, dragProxy);
    ]]>
</mx:Script>   
    <mx:Canvas id="c" width="100%" height="100%">
        <mx:Image id="i" mouseMove="mouseMoveHandlerImage(event)" x="400" y="400"/>
        <mx:TileList id="t" dataProvider="{images}" mouseMove="mouseMoveHandlerTileList(event)"
            x="0" y="0"
            >
            <mx:itemRenderer>
                <mx:Component>
                    <mx:Image source="{data.source}"/>
                </mx:Component>
            </mx:itemRenderer>
            </mx:TileList>
    </mx:Canvas>
</mx:Application>

If this post answered your question or helped, please mark it as such.
Accessing items in containers when renders are used can be problematic, because Flex recycles the items for large data sets.
So this code works fine but uses a Repeater. You may have to do some thinking to rework your concept, but this works:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
  <mx:Script>
    <![CDATA[
      import mx.collections.ArrayCollection;
      import mx.managers.DragManager;
      import mx.core.DragSource;
      [Bindable] private var images:ArrayCollection=new ArrayCollection([
        "assets/images/BobSmith.jpg"
      private function mouseMoveHandlerTileList(event:MouseEvent):void {           
        var image:Image=Image(event.currentTarget);
        if (image){
          initiateDrag(event, image);
      private function mouseMoveHandlerImage(event:MouseEvent):void {           
        var image:Image=Image(event.currentTarget);
        if (image){
          initiateDrag(event, image);
      private function initiateDrag(event:MouseEvent, image:Image):void{
        var dragInitiator:Image=image;
        var ds:DragSource = new DragSource();
        ds.addData(image, "item");
        var dragProxy:Image = new Image;
        var data:BitmapData=Bitmap(image.content).bitmapData.clone(); //image.content is not null for imageon canvas, but is null for image in tile list
        dragProxy.source=new Bitmap(data);
        DragManager.doDrag(dragInitiator, ds, event, dragProxy);
    ]]>
  </mx:Script>   
  <mx:HBox>
    <mx:Canvas id="canvas" width="400" height="600" borderColor="0x000000" borderStyle="solid" borderThickness="3">
      <mx:Repeater id="rp" dataProvider="{images}">
        <mx:Image id="img" source="{rp.currentItem}" mouseMove="mouseMoveHandlerTileList(event)"/>         
      </mx:Repeater>
    </mx:Canvas>
    <mx:Image id="i" mouseMove="mouseMoveHandlerImage(event)" source="assets/images/BobSmith.jpg"/>
  </mx:HBox>
</mx:Application>

Similar Messages

  • App Rejected: Freezes on launch image, "content not loading"

    I've built and tested a newly finished iOS app on an iPad 1. It works fine.
    On submitting the app to Apple, I receive a rejection and the reason "No content was loaded". They attach a screenshot showing my launch screen and nothing else. The app seems to freeze there without ever starting to execute the code.
    Apparently, something goes haywire when the app is packaged as a distribution app and submitted. I don't use any ANEs in my project, and there are no external SWFs being loaded.
    Does anyone have any experience with this?

    May be they test not on the same device you have? We don't know what is your app and we can't help exactly. May be during launching image your app overloading CPU or trying ping some IP without Network access and waiting for feedback... There is no difference between AdHoc and AppStore market during testing. You can test on your device as adhoc with your UDID also AppStore distribution with same UDID. So problem in device.  PS. Let us know your test device model, app size (open IPA as ZIP folder, go inside and find most biggest file without extensions) and let us know it size in mb, adobe air sdk version that you are using.

  • Bootloader is not defined - facebook not showing images just text

    I tried to uninstall and install a fresh installation of FF, but I still cant see images in some website including facebook, I just showing text.
    I search the web and I saw that it happend to a lot of peoples but I coudln't find an answer.
    it is not relevant to image block (via content tab).
    whan I look at the 'Error Console' I see a lot of errors regarding bootloader is not defined and big_pipe is undifined.
    please help

    10x, but already check that - nothing is blocked -
    the problem is relate to the bootloader, which is undefined.
    one more thing - when I change the address to https I can see most of the images (but not all)

  • "Content account is not defined" error while trying to checkin a document

    Hi, all
    I am running ECM integration samples included on SDK (included on file ContentIntegrationSuite_10gR3_20081218.zip, folder "oracle-cis-10g\samples\CodeExamples\src\java\com\stellent\cis\sdk\samples"), and I got the error "Content account is not defined. Unable to validate user security." when running the ChekinFile.java sample.
    I could successfully run the ServerInfo.java with no problems, and I expected to run the other example as easily as that.
    Is there any configuration I must change on ECM to run this sample?
    The stack trace follows. Thanks in advance.
    com.stellent.cis.client.command.CommandException: Content item '1256149797205Content-Id-SDK' was not successfully checked in. Content account is not defined. Unable to validate user security.
         at com.stellent.cis.server.api.scs.impl.SCSCommand.executeRequest(SCSCommand.java:338)
         at com.stellent.cis.server.api.scs.impl.SCSCommand.execute(SCSCommand.java:222)
         at com.stellent.cis.client.command.impl.services.CommandExecutorService.executeCommand(CommandExecutorService.java:57)
         at com.stellent.cis.client.command.impl.CommandFacade.executeCommand(CommandFacade.java:158)
         at com.stellent.cis.client.command.impl.BaseCommandAPI.invokeCommand(BaseCommandAPI.java:84)
         at com.stellent.cis.client.api.scs.document.checkin.impl.SCSDocumentCheckinAPI.checkinFileStream(SCSDocumentCheckinAPI.java:707)
         at com.stellent.cis.sdk.samples.checkin.CheckinFile.execute(CheckinFile.java:87)
         at com.stellent.cis.sdk.samples.checkin.CheckinFile.main(CheckinFile.java:64)
    Caused by: com.stellent.cis.server.api.scs.request.SCSRequestException: Content item '1256149797205Content-Id-SDK' was not successfully checked in. Content account is not defined. Unable to validate user security.
         at com.stellent.cis.server.api.scs.request.impl.SCSRequestProcessor.checkBinderForErrors(SCSRequestProcessor.java:357)
         at com.stellent.cis.server.api.scs.request.impl.SCSRequestProcessor.validateResponse(SCSRequestProcessor.java:273)
         at com.stellent.cis.server.api.scs.request.impl.SCSRequestProcessor.processRequest(SCSRequestProcessor.java:118)
         at com.stellent.cis.server.api.scs.request.impl.SCSRequestFilterChain.doRequestFilter(SCSRequestFilterChain.java:61)
         at com.stellent.cis.server.api.scs.request.stream.SCSOptimizedPublishFilter.handleRequest(SCSOptimizedPublishFilter.java:128)
         at com.stellent.cis.server.api.scs.request.impl.SCSRequestFilterChain.doRequestFilter(SCSRequestFilterChain.java:58)
         at com.stellent.cis.server.api.scs.request.stream.SCSOptimizedRetrieveFilter.handleRequest(SCSOptimizedRetrieveFilter.java:250)
         at com.stellent.cis.server.api.scs.request.impl.SCSRequestFilterChain.doRequestFilter(SCSRequestFilterChain.java:58)
         at com.stellent.cis.server.api.scs.request.rewrite.SCSRewriteURLFilter.handleRequest(SCSRewriteURLFilter.java:140)
         at com.stellent.cis.server.api.scs.request.impl.SCSRequestFilterChain.doRequestFilter(SCSRequestFilterChain.java:58)
         at com.stellent.cis.server.api.scs.request.cache.impl.SCSServiceCacheFilter.handleRequest(SCSServiceCacheFilter.java:104)
         at com.stellent.cis.server.api.scs.request.impl.SCSRequestFilterChain.doRequestFilter(SCSRequestFilterChain.java:58)
         at com.stellent.cis.server.api.scs.request.impl.SCSRequestExecutorProxy.execute(SCSRequestExecutorProxy.java:105)
         at com.stellent.cis.server.api.scs.impl.SCSCommand.executeViaProxy(SCSCommand.java:353)
         at com.stellent.cis.server.api.scs.impl.SCSCommand.executeRequest(SCSCommand.java:335)
         ... 7 more

    Hi
    Issue is caused with the way parameters are passed from CIS 8.x onwards where when not giving a parameter that is a required one then it has to be set to blank. Like in the case for dDocAccount setting the value to blank string (i.e. "") would successfully check in the document.
    dDocAccount is a required additional paramter that needs to be supplied when checking in contents when UseAccounts=true is set in the config.cfg of the CS.
    From the CS checkin page when not specifying the Account it is set as blank which is why the the checkin goes through fine.
    This was not the case with CIS 7.6.1 where dDocAccount was not required to pass as parameter even if UseAccounts=true is set in the config.
    In case checkins have to be done without giving the Account then add the code for setting the dDocAccount to a blank string (i.e. "") and then recompile the java code and execute the it.
    Reason why CIS 7.6.1 did not show this behaviour is since CIS would set that (the value for account parameter) in the binder and pass it to the CS.
    Hope this helps
    Srinath

  • Need to resize to print  BUT do not want to crop image content PE 5.0

    I have scanned an image into PE 5.0 The dimensions are:
    Pixels: 2321x2915,
    Document: 7.737x9.717,
    Resolution: 300.
    I want to print this image so it fits in a 5x7 frame. It's a portrait and there isn't any room to crop to fit without losing valuable image content. I've tried everything (I think); using my printer options to print to size, resizing in PE 5.0, etc. I still end up with a 'cropped photo'. I tried scanning to a 5x7 size and I still get an irregular size image that won't fit in a 5x7 frame. Is there any way to scale the dimensions of this photo, maintaining aspect ratio, to fit a 5x7 frame without cropping any content?
    I have spent hours and hours trying to figure this out (very humbling experience :) - so any help will be greatly appreciated! Thank you.

    Mark & Juergen - thank you so much for your responses. Your examples are exactly what I got when I tried adding canvas and that's not what I wanted; it would only add canvas on two sides.
    I guess I've worked with spreadsheets too long, scaling to fit the paper is a slam dunk in Excel :) I was hoping for some creative work-a-round but I guess it's time to get a bigger frame and a custom mat. Thank you, I really appreciate your time and expertise.
    Kathy

  • VJO in not defined & image corrupt or truncated,only in FF & also safe mode but ok in private browsing

    VJO not defined & image corrupt or truncated
    I am getting this error when the computer renders some websites. It happens with ebay & on youtube. It shows the text but no pictures or background. I am running Windows 7 Home Premium 64bit and Firefox 4.0.1 it also happens in the newest version of FF & in safe mode , I have installed the latest Java runtime with no change ,but interstingly if I turn on "in private browsing" FF runs OK.
    I have run Firefox in safe mode, I have uninstalled completely using the APPS own uninstaller & then cleaned up all the files left behind with a 3rd party uninstaller I have updated Firefox to the newest release & rolled back to v4.0.1,I have disabled all addons & AV & malware apps (just for a minute)I have even tried a system restore. Also the "VJO not defined" only happens with FireFox & not with IE.interestingly FireFox runs fine if I enable "in private browsing"

    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    * Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove Cookies" from sites causing problems:
    * Tools > Options > Privacy > Cookies: "Show Cookies"

  • Content vendor is not defined.

    Hi, all.
    When I try to create a Delivery Unit from the Quick Launch in the Information Modeler, the following error message is shown:
        Cannot create Delivery Unit as content vendor is not defined for this system.
    Then, I found the 'content_vendor = UNDEFINED' in the indexserver.ini.
    Could you please let me know how I can fix this problem?
    Thank you very much,
    -mamoru

    Hey this solution is not working for me in SP06. The Dev_Guide says I should create a delivery unit in the Livecycle Manager(lm).
    The System Vendor in the indexserver.ini is already set correcly.
    If I try to create a delivery unit in the livecycle manager there is the following error message:
    Has anayone a tip?
    Greetings
    David

  • Image Content Item not available

    I am trying to add a new image content in Site Studio.
    I Click on the "New" icon -> "Copy" -> "From Local", choose the image (jpeg) and Fill Out the "Check-In" form. I see that the new content Item is added in the list of Images.
    1) I refresh the list. The newly added content is gone.
    2) I open my page inContributor mode. I go to image elementl and try to browse for this newly added image. I am not able to find it.
    3) I try searching for the image in UCM Search form - with the Content ID. I am still not able to find the content.
    So, I thought the content was not created in the first place and tried to upload my image again, with the same Content Id. It says my Content Id is not unique - only that I am not able to find the content with that Content Id.
    Can someone please help me debug this?

    So, another developer had created a Workflow (for testing some stuff) that will pickup all Images for Review. It was holding up all the images that I was uploading.
    Now, I got the workflow disabled. The Contents have gotten released, and those content are now available from the image element.
    Thanks.
    Edited by: 926653 on Nov 5, 2012 12:33 PM

  • Updating 4.01 on Mac - 1 hour & still going ? error msg tycpr is not defined (line 31) chrome://tycpr/content/tycpr.js

    Update APPEARS to be stuck in a loop - Unfortunately, I dismissed the progress window and can’t find how to get it back. But the Error Console keeps showing multiple entries with this message: tycpr is not defined chrome://tycpr/content/tycor.js Line 31
    Is it safe to just quit and try to update again after a reboot ?

    That is a problem with an extension (tycpr)
    * https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • Image content type in Site Asset Image library: The Preview and Thumbnail Preview columns do not display the picture of the item.

    I have two different Site Asset libraries.  The Site Asset Picture library has items of
    content type picture.  The Site Asset Image Library has items of
    content type image. 
    1) I do not quite understand the different between a picture content type versus an image content type. 
    2) the thumbnail and preview columns do not display the image in the Site Asset
    Image Library.  (the image does display in the thumbnail column of the Site Asset Picture library.)  I expected the image to display in the Site Asset Image Library the same as it does in the Site Asset Picture library. 
    Why doesn't it?
    Betty
    Betty Stolwyk

    I have subsequently found out that our "Site Asset Images" library is a Document Library to which someone must have replaced the Document content type with an Image content type.  I also found out that picture previews/thumbnails cannot be displayed
    in Document libraries.  So the problem was the library type, not the content type.
    So I simply created a new Picture Library (whose content type = picture) and copied the files into that and the thumbnails displayed just fine!
    I bet what led to this is the default "Site Assets" library that is created for a new Team site.  It is just a document library but sounds very similar to the "Assets" library.  I can imagine someone thinking the "Site Assets" library was a standard
    container for images, and simply changed the name to better identify the content! 
    As far as 'image' vs 'picture' content types, I noticed that a new Picture Library contains a content type of 'picture', but an Asset Library contains a content type of 'image' (as well as audio and video).  Although the 'image' content type has a few
    more fields than the 'picture' content type (picture content type does not have thumbnail), the actual Picture Library contains pretty much all the same fields, including the thumbnail.  So for all practical purposes, either library type can be used for
    storage of pictures.  I am guessing that the Pictures Library which uses the picture content type is for backwards compatibility purposes, and that the 'image' content type is newer, being derived from the new "Rich Media Asset" content type and used
    in the new Asset Library which can hold audio and video in addition to pictures.  
    Microsoft Help also mentioned that a Picture Library has a slide view which an Asset library does not.  So my take on that is that if you want the potential of seeing your pictures as a slide show, put them in a Picture library which is still using
    the 'picture' content type of previous SharePoint versions.  If you want to keep pictures organized with audio/video files, then put them into an Asset library which uses the  'image' content type derived from the new Rich Media Asset content type.
    Betty Stolwyk

  • Images are not displaying(PHP MySQL)

    Hi,
    I've created a database table (MySQL) to store file path of images stored in a folder but the only problem is that the images are not displaying on the web page. Here's the procedure that I've used:
    -Placed the cusor at the insertion point (div).
    -Then selected 'Insert image' from the insert menu.
    -Selected 'data sources' in the select image dialogue box.
    -Selected the 'path' field in the recordset containing the image details of the images I want to display.
    -Then OK.
    Here's the code generated:
    <td colspan="3" nowrap="nowrap"><img src="<?php echo $row_rsBanner['path']; ?>" width="950" height="141"/></td>
    Here's the client side code generated:
    <td colspan="3" nowrap="nowrap"><img src="C:/xampp/htdocs/Dirwebclient/banner3A_mod.png" width="950" height="141"/></td>
    But the funniest thing is that if I pull the image as a background of the <td> (table data) it displays perfectly.
    Here's the code:
    <td colspan="3" nowrap="nowrap" background="<?php echo $row_rsBanner['path']; ?>" width="950" height="141"></td>
    Can someone please give an idea of how I can pull the image using the <img> tag and not as a background.

    Here's the source code from the browser for pulling the photo;
    <td height="126" colspan="3"><p align="center"><img src="C:/xampp/htdocs/Dirwebclient/banner3A.png" alt="jpeg" width="950" height="124" /></p></td>
    And here's the source code for the whole page (It's quite long because I had not yet mastered CSS);
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title><style type="text/css">
    <!--
    @import url("links2.css");
    body {
    background-image: url();
    background-repeat: no-repeat;
    -->
    </style>
    <link href="style1.css" rel="stylesheet" type="text/css" />
    <link href="style2.css" rel="stylesheet" type="text/css" />
    <link rel="stylesheet" href="style.css" type="text/css" media="screen" />
    <!--
    a:link {
    text-decoration: none;
    a:visited {
    text-decoration: none;
    a:hover {
    text-decoration: none;
    a:active {
    text-decoration: none;
    -->
    </style>
    <link href="links.css" rel="stylesheet" type="text/css" />
    <link href="copyright.css" rel="stylesheet" type="text/css" />
    <script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
    <link rel="stylesheet" href="style.css" type="text/css" media="screen" />
    <script src="jquery-latest.pack.js" type="text/javascript"></script>
    <script src="jcarousellite_1.0.1c4.js" type="text/javascript"></script>
    <script type="text/javascript">
    $(function() {
         $(".newsticker-jcarousellite").jCarouselLite({
              vertical: true,
              hoverPause:true,
              visible: 2,
              auto:500,
              speed:1000
    </script>
    <style type="text/css">
    <!--
    a:link {
         text-decoration: none;
    a:visited {
         text-decoration: none;
    a:hover {
         text-decoration: underline;
    a:active {
         text-decoration: none;
    -->
    </style>
    <link href="links2.css" rel="stylesheet" type="text/css" />
    <link href="link2.css" rel="stylesheet" type="text/css" />
    <link href="categories.css" rel="stylesheet" type="text/css" />
    </head>
    <body>
    <div align="center">
      <table width="51%" height="539" border="3" align="center" bordercolor="#008FE6">
        <tr>
          <th scope="col"><table width="85%" height="518" border="1" align="center" bordercolor="#D2EEFF">
            <tr>
              <td height="126" colspan="3"><p align="center"><img src="C:/xampp/htdocs/Dirwebclient/banner3A.png" alt="jpeg" width="950" height="124" /></p></td>
            </tr>
            <tr bordercolor="#A6DDFF" bgcolor="#A6DDFF">
              <td height="26" colspan="3" bgcolor="#A6DDFF"><table width="579" border="0" align="left">
                  <tr>
                                    <th width="573" height="20" scope="row"><div align="left"><a href="visualindex2.php?recordID=1" class="links">HOME</a></div></th>
                                    <th width="573" height="20" scope="row"><div align="left"><a href="visualindex2.php?recordID=2" class="links">ABOUT US</a></div></th>
                                    <th width="573" height="20" scope="row"><div align="left"><a href="visualindex2.php?recordID=3" class="links">SERVICES</a></div></th>
                                    <th width="573" height="20" scope="row"><div align="left"><a href="visualindex2.php?recordID=4" class="links">CONTACTS</a></div></th>
                                    <th width="573" height="20" scope="row"><div align="left"><a href="visualindex2.php?recordID=5" class="links">BOOKING</a></div></th>
                                  </tr>
                </table>
                  <table width="220" border="0" align="right" cellpadding="0">
                    <tr>
                      <td width="248"><div align="right" class="style2">
                          <div align="center">
                            <!-- #BeginDate format:fcAm1a -->Saturday, May 19, 2012 1:07 AM<!-- #EndDate -->
                          </div>
                      </div></td>
                    </tr>
                </table></td>
            </tr>
            <tr>
              <td bordercolor="#FFFFFF" bgcolor="#D2EEFF"><table width="201" height="250" border="3" align="left" cellpadding="0" bordercolor="#7DCEFF" bgcolor="#D2EEFF">
                <tr>
                  <td width="215" height="164"><div align="left">
                      <table width="199" height="77" border="0" align="center" cellpadding="0" bordercolor="#7DCEFF">
                        <tr bgcolor="#A6DDFF">
                          <td width="215" height="35"><div align="center">
                              <span class="categories">CATEGORIES</span> </div>
                              </td>
                        </tr>
                                            <tr>
                          <td height="36"><div align="left"><a href="visualindex2.php" class="links2">Plumbing</a>
                            <hr />
                          </div></td>
                        </tr>
                                            <tr>
                          <td height="36"><div align="left"><a href="visualindex2.php" class="links2">Electricals</a>
                            <hr />
                          </div></td>
                        </tr>
                                            <tr>
                          <td height="36"><div align="left"><a href="visualindex2.php" class="links2">Fittings</a>
                            <hr />
                          </div></td>
                        </tr>
                                            <tr>
                          <td height="36"><div align="left"><a href="visualindex2.php" class="links2">Roofing</a>
                            <hr />
                          </div></td>
                        </tr>
                                            <tr>
                          <td height="36"><div align="left"><a href="visualindex2.php" class="links2">Electronics</a>
                            <hr />
                          </div></td>
                        </tr>
                                          </table>
                  </div>
                    &nbsp;</td>
                </tr>
              </table>
              <p>&nbsp;</p>
                <p>&nbsp;</p>
                <p>&nbsp;</p>
                <p>&nbsp;</p>
                <p>&nbsp;</p>
                <p>&nbsp;</p>
                <p>&nbsp;</p>
                <p>&nbsp;</p></td>
              <td height="256" bordercolor="#FFFFFF"><table width="500" height="251" border="3" align="center" bordercolor="#7DCEFF">
                  <tr bordercolor="#FFFFFF">
                    <td width="469" height="247" bgcolor="#FFFFFF"><script type="text/javascript">
    AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','499','height','245','src','images/slideview','quality','high','flashvars','flashlet={imageLinkTarget:\'_blank\',captionFont:\'Verdana\',titleFont:\'Verdana\',showControls:false,frameShow:false,slideDelay:5,captionColor:#333333,transitionsType:\'Fade\',titleColor:#333333,slideAutoPlay:true,imageURLs:[\'images/test2.JPG\',\'images/test.JPG\',\'images/test1.JPG\'],slideLoop:true,imageLinks:[\'http://macromedia.com/\',\'http://macromedia.com/\',\'http://macromedia.com/\'],frameColor:#333333,bgColor:#D2EEFF,imageCaptions:[],title:\'VISUAL CONCEPT MEDIA\'}','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','flash_component','ImageViewer.swc','movie','images/slideview' ); //end AC code
                    </script>
                      <noscript>
                      <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="499" height="245">
                        <param name="flash_component" value="ImageViewer.swc" />
                        <param name="movie" value="images/slideview.swf" />
                        <param name="quality" value="high" />
                        <param name="FlashVars" value="flashlet={imageLinkTarget:'_blank',captionFont:'Verdana',titleFont:'Verdana',showControls:false,frameShow:false,slideDelay:5,captionColor:#333333,transitionsType:'Fade',titleColor:#333333,slideAutoPlay:true,imageURLs:['images/test2.JPG','images/test.JPG','images/test1.JPG'],slideLoop:true,imageLinks:['http://macromedia.com/','http://macromedia.com/','http://macromedia.com/'],frameColor:#333333,bgColor:#D2EEFF,imageCaptions:[],title:'VISUAL CONCEPT MEDIA'}" />
                        <embed src="images/slideview.swf" quality="high" flashvars="flashlet={imageLinkTarget:'_blank',captionFont:'Verdana',titleFont:'Verdana',showControls:false,frameShow:false,slideDelay:5,captionColor:#333333,transitionsType:'Fade',titleColor:#333333,slideAutoPlay:true,imageURLs:['images/test2.JPG','images/test.JPG','images/test1.JPG'],slideLoop:true,imageLinks:['http://macromedia.com/','http://macromedia.com/','http://macromedia.com/'],frameColor:#333333,bgColor:#D2EEFF,imageCaptions:[],title:'VISUAL CONCEPT MEDIA'}" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="499" height="245"> </embed>
                      </object>
                      </noscript>                  </td>
                  </tr>
              </table></td>
              <td height="256" bgcolor="#D2EEFF"><table width="218" height="229" border="3" align="right" cellpadding="0" bordercolor="#7DCEFF" bgcolor="#EAF4F5" margin="0">
                  <tr>
                    <td width="198" height="188" bgcolor="#EAF4F5"><div id="newsticker-demo">
                      <div class="title">
                        <p class="categories">Latest News</p>
                      </div>
                      <div class="newsticker-jcarousellite">
                        <ul>
                                                <li>
                            <div class="thumbnail"><img src="C:/xampp/htdocs/Dirwebclient/5.jpg" alt="jpeg" width="90" height="78" /></div>
                            <div class="info"> <a href="http://www.vladstudio.com/wallpaper/?knight_lady"></a> <span class="cat"></span> </div>
                            <div class="clear"></div>
                          </li>
                                                <li>
                            <div class="thumbnail"><img src="C:/xampp/htdocs/Dirwebclient/4.jpg" alt="jpeg" width="90" height="78" /></div>
                            <div class="info"> <a href="http://www.vladstudio.com/wallpaper/?knight_lady"></a> <span class="cat"></span> </div>
                            <div class="clear"></div>
                          </li>
                                                <li>
                            <div class="thumbnail"><img src="C:/xampp/htdocs/Dirwebclient/3.jpg" alt="jpeg" width="90" height="78" /></div>
                            <div class="info"> <a href="http://www.vladstudio.com/wallpaper/?knight_lady"></a> <span class="cat"></span> </div>
                            <div class="clear"></div>
                          </li>
                                                <li>
                            <div class="thumbnail"><img src="C:/xampp/htdocs/Dirwebclient/2.jpg" alt="jpeg" width="90" height="78" /></div>
                            <div class="info"> <a href="http://www.vladstudio.com/wallpaper/?knight_lady"></a> <span class="cat"></span> </div>
                            <div class="clear"></div>
                          </li>
                                                <li>
                            <div class="thumbnail"><img src="C:/xampp/htdocs/Dirwebclient/1.jpg" alt="jpeg" width="90" height="78" /></div>
                            <div class="info"> <a href="http://www.vladstudio.com/wallpaper/?knight_lady"></a> <span class="cat"></span> </div>
                            <div class="clear"></div>
                          </li>
                                                <li>
                            <div class="thumbnail"><img src="C:/xampp/htdocs/Dirwebclient/6.jpg" alt="jpeg" width="90" height="78" /></div>
                            <div class="info"> <a href="http://www.vladstudio.com/wallpaper/?knight_lady"></a> <span class="cat"></span> </div>
                            <div class="clear"></div>
                          </li>
                                              </ul>
                      </div>
                    </div>                <p>&nbsp;</p>
                      </td>
                  </tr>
              </table></td>
            </tr>
            <tr bgcolor="#A6DDFF">
              <td width="215" bgcolor="#D2EEFF" class="style2">&nbsp;</td>
              <td width="503" height="63" bgcolor="#A6DDFF" class="style2"><table width="479" height="61" border="0" align="center">
                  <tr>
                    <td width="558" height="57"><p align="center" class="style1">WELCOME TO VISUAL CONCEPT MEDIA</p>
                        <p align="left" class="style2">To redefine the default formatting of a specific HTML tag, select the Tag option and then enter an HTML tag in the Tag text box or select one from the pop?up menu.
    To define the formatting for a particular combination of tags or for all tags that contain a specific Id attribute, select the Advanced option and then enter one or more HTML tags in the Selector text box or select one from the pop?up menu. The selectors (known as pseudo?class selectors) available from the pop?up menu are a:active, a:hover, a:link, and a:visited.
    Select the location in which the style will be defined, and then click OK:
    To place the style in a style sheet that is already attached to the document, select the style sheet.
    To create an external style sheet, select New Style Sheet File.
    To embed the style in the current document, select This Document Only.
    In the CSS Rule Definition dialog box, select the style options you want to set for the new CSS rule. For more information, see the next section.
    When you are finished setting style properties, click OK.
    Note: Clicking OK without setting style options results in a new, empty rule.
    </p></td>
                  </tr>
              </table></td>
              <td width="219" bgcolor="#D2EEFF" class="style2"><table width="218" height="29" border="3" align="right" cellpadding="0" bordercolor="#7DCEFF">
                  <tr>
                    <td width="215"><div align="left">
                        <script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script>
                      </div>
                        <fb:like-box href="http://www.facebook.com/platform" width="205" show_faces="true" stream="false" header="true"></fb:like-box>
                      &nbsp;</td>
                  </tr>
                </table>
                <div align="right"></div></td>
            </tr>
            <tr>
              <td height="33" colspan="3" nowrap="nowrap" background="C:/xampp/htdocs/Dirwebclient/footer1.gif"><div align="center">
                <table width="374" align="center">
                  <tr>
                    <th class="copyright" scope="row">&copy VISUAL CONCEPT MEDIA 2011</th>
                  </tr>
                </table>
              </div></td>
            </tr>
          </table></th>
        </tr>
      </table>
    </div>
    </body>
    </html>

  • Getting "museJSAssert: Error calling selector function: Reference Error: Web Pro is not defined".

    First off, I am not a coding person. I decided to use Muse becuse I am good with Illustrator and Photoshop.
    The sight I built: www.speedcinch.com is now getting a bunch of errors when it initially was working fine. I am using godaddy for a host and using their ftp.
    This is the error I am getting now: museJSAssert: Error calling selector function: Reference Error: Web Pro is not defined
    You can see how my sight is supposed to work at http://speedcinchcom.businesscatalyst.com/index.html
    I have no idea what to do. Please help.

    Well, if nothing else I've ascertained that it's not GoDaddy's connectivity issue, as the issue continues late into today, and it does vary a bit per the other error reports. Using FileZilla there are just a few timeouts in the log, enough to give some pause but not necessarily (according to GD) disruptive. I've checked the list of uploaded files against the Muse Export folder contents and everything is there. In fact, the site looks good, buttons work, rollovers, etc, but there are no images. Like everyone else, this has cost me time and money in the last 24 hours.
    Let's see what the good people at Adobe live chat have to say, and I'll share it with you.

  • If image file not exist in image path crystal report not open and give me exception error problem

    Hi guys my code below show pictures for all employees
    code is working but i have proplem
    if image not exist in path
    crystal report not open and give me exception error image file not exist in path
    although the employee no found in database but if image not exist in path when loop crystal report will not open
    how to ignore image files not exist in path and open report this is actually what i need
    my code below as following
    DataTable dt = new DataTable();
    string connString = "data source=192.168.1.105; initial catalog=hrdata;uid=sa; password=1234";
    using (SqlConnection con = new SqlConnection(connString))
    con.Open();
    SqlCommand cmd = new SqlCommand("ViewEmployeeNoRall", con);
    cmd.CommandType = CommandType.StoredProcedure;
    SqlDataAdapter da = new SqlDataAdapter();
    da.SelectCommand = cmd;
    da.Fill(dt);
    foreach (DataRow dr in dt.Rows)
    FileStream fs = null;
    fs = new FileStream("\\\\192.168.1.105\\Personal Pictures\\" + dr[0] + ".jpg", FileMode.Open);
    BinaryReader br = new BinaryReader(fs);
    byte[] imgbyte = new byte[fs.Length + 1];
    imgbyte = br.ReadBytes(Convert.ToInt32((fs.Length)));
    dr["Image"] = imgbyte;
    fs.Dispose();
    ReportDocument objRpt = new Reports.CrystalReportData2();
    objRpt.SetDataSource(dt);
    crystalReportViewer1.ReportSource = objRpt;
    crystalReportViewer1.Refresh();
    and exception error as below

    First: I created a New Column ("Image") in a datatable of the dataset and change the DataType to System.Byte()
    Second : Drag And drop this image Filed Where I want.
    private void LoadReport()
    frmCheckWeigher rpt = new frmCheckWeigher();
    CryRe_DailyBatch report = new CryRe_DailyBatch();
    DataSet1TableAdapters.DataTable_DailyBatch1TableAdapter ta = new CheckWeigherReportViewer.DataSet1TableAdapters.DataTable_DailyBatch1TableAdapter();
    DataSet1.DataTable_DailyBatch1DataTable table = ta.GetData(clsLogs.strStartDate_rpt, clsLogs.strBatchno_Rpt, clsLogs.cmdeviceid); // Data from Database
    DataTable dt = GetImageRow(table, "Footer.Jpg");
    report.SetDataSource(dt);
    crv1.ReportSource = report;
    crv1.Refresh();
    By this Function I merge My Image data into dataTable
    private DataTable GetImageRow(DataTable dt, string ImageName)
    try
    FileStream fs;
    BinaryReader br;
    if (File.Exists(AppDomain.CurrentDomain.BaseDirectory + ImageName))
    fs = new FileStream(AppDomain.CurrentDomain.BaseDirectory + ImageName, FileMode.Open);
    else
    // if photo does not exist show the nophoto.jpg file
    fs = new FileStream(AppDomain.CurrentDomain.BaseDirectory + ImageName, FileMode.Open);
    // initialise the binary reader from file streamobject
    br = new BinaryReader(fs);
    // define the byte array of filelength
    byte[] imgbyte = new byte[fs.Length + 1];
    // read the bytes from the binary reader
    imgbyte = br.ReadBytes(Convert.ToInt32((fs.Length)));
    dt.Rows[0]["Image"] = imgbyte;
    br.Close();
    // close the binary reader
    fs.Close();
    // close the file stream
    catch (Exception ex)
    // error handling
    MessageBox.Show("Missing " + ImageName + "or nophoto.jpg in application folder");
    return dt;
    // Return Datatable After Image Row Insertion
    Mark as answer or vote as helpful if you find it useful | Ammar Zaied [MCP]

  • Creating Sales Order- Item Category TAN is not defined.

    Hello all,
    I am working on Creating sales order for Global Bike Inc case. But when I enter the material and quantity number and click check mark it says "Item category TAN is not defined". Can some body help me how can we define TAN or why it is giving me that error.
    Thanks in advance.
    Sujan

    Hi SujanB,
    As your question is already answered. An indicator that defines the characteristics of a document item.
    For example, the item category controls the type and scope of:
    Pricing
    Billing
    Delivery
    Inventory posting
    Transfer of requirements
    Providing further deatils ;--
    01. How item category is determined :--
    Depending on the item category group that you apply & the sales doc type you are processing the system automatically proposes an item category in the document.
    1.sales document type (source: order type)
    2.item category group (source: material master)
    3.item category of the higher-level item (source: user defined)
    4.item category usage (The usage is defined by SAP and is hard coded in the programs)
    SPRO- IMG- SD- Sales- Sales Document- Sales Document Item- Assign Item Category (VOV4)
    Pls refer following link for furter details ;--
    general item category group
    item category usage  in item category determination
    http://help.sap.com/saphelp_46c/helpdata/en/dd/55fb13545a11d1a7020000e829fd11/content.htm
    http://www.slideshare.net/magnatraining/item-category
    Hope it helps....
    Thanks/Rajesh

  • Image does not appear in applet.

    I am reading the book, Teach Yourself Java in 21 Days.
    There is an example in Ch.11 that shows how to load an image into the applet.
    I have tried to use the code provided as is along with an image as defined in the code. I have also uploaded the html, class and image to a folder on the web. Unfortunately, the image does not appear in the applet. The image does have an image that I created using ms paint.
    Here is the code I am currently using from the book:
    import java.awt.Graphics;
    import java.awt.Image;
    public class LadyBug2 extends java.applet.Applet {
         Image bugimg;
         public void init() {
             bugimg = getImage(getCodeBase(),
                 "ladybug.gif");
         public void paint(Graphics g) {
             int iwidth = bugimg.getWidth(this);
             int iheight = bugimg.getHeight(this);
             int xpos = 10;
             // 25 %
            g.drawImage(bugimg, xpos, 10,
                iwidth / 4, iheight / 4, this);
             // 50 %
             xpos += (iwidth / 4) + 10;
             g.drawImage(bugimg, xpos , 10,
                  iwidth / 2, iheight / 2, this);
             // 100%
             xpos += (iwidth / 2) + 10;
             g.drawImage(bugimg, xpos, 10, this);
             // 150% x, 25% y
             g.drawImage(bugimg, 10, iheight + 30,
                 (int)(iwidth * 1.5), iheight / 4, this);
    }I tried placing the image in an images folder and I also tried changing the code to getImage(getDocumentBase(), "ladybug.gif")
    as well as tried getImage(getCodeBase(), "ladybug.gif") in order to try and grab the image from the same directory as the class file and the html file.
    The image file's name is: ladybug.gif
    The code in the html file:
    <HTML>
    <HEAD>
    <TITLE>Lady Bug</TITLE>
    </HEAD>
    <BODY>
    <P>
    <APPLET CODE="LadyBug2.class" WIDTH=1024 HEIGHT=500>
    </APPLET>
    </BODY>
    </HTML>
    I have gotten previous applet examples from the book to work. One of them did have an error in the author's code which I fortunately was able to overcome. This time, I am afraid, the error eludes me.
    Thanks in advance.
    I do see that there is no start/stop/run in this version, but I believe this should still work because of the init. I am guessing that maybe the problem lies somewhere in there.
    Message was edited by:
    gnikollaj

    According to the javadoc:
    getImage
    public Image getImage(URL url,
    String name)Returns an Image object that can then be painted on the screen. The url argument must specify an absolute URL. The name argument is a specifier that is relative to the url argument.
    This method always returns immediately, whether or not the image exists. When this applet attempts to draw the image on the screen, the data will be loaded. The graphics primitives that draw the image will incrementally paint on the screen.
    Parameters:
    url - an absolute URL giving the base location of the image.
    name - the location of the image, relative to the url argument.
    Returns:
    the image at the specified URL.
    I am confused as to how to use the name after the url.
    Should it read something like:
    bugimg = getImage("http://g.jtrusty.com/JavaApplet/", "LadyBug.gif");
    EDIT: I still get the same error, cannot find symbol at getImage.
    Message was edited by:
    gnikollaj

Maybe you are looking for

  • IBooks Author Page Size Question

    I would like to use iBooks Author to put together a book for print (instead of using InDesign which is not intuitive for photo placement). iBooks Author looks good and the templates seem to work very well, but I have found no way to specify total pag

  • Is there a way to print using a canon bjc-85 with tiger?

    i have just installed tiger and now my canon bjc-85 printer doesn't work with it. i have read the thread discussing this problem, and i'd be very grateful uf anyone can tell me in simple language how i can overcome this apparent incompatibility? kind

  • Can the Action in Slides be Edited?

    The timing on the action in slides is sometimes off. Is there a way to edit the action in slides?

  • MobileMe Publish Error

    Desperately need help here... I'm using mobileme to host my website that i create using iWeb 09 and i use my personal domain as well. It was just fine. Until a couple of days ago, i was learning how to use RapidWeaver to create my website and publish

  • Extract / Report of Installed Base and partners related to components

    Hello, we use SolMan 3.2 and want to create different reports about the installed base (ib) and the businesspartner related to the ib-components. How can we extract all data of the installed base or does already exist any SAP InfoSet? Are there any f