How do I reposition image scroller bar from middle to the right

I am customising an image thumb scroller. and trying to follow up previously developed code.
All worked fine until the last moment when thumbnails bar is positioned as if its starting point is in the middle of the screen. I suppose it was developed for the flash screen layout with centered coordinates. My stage probably has them set to the upper left corner.
I can not make the bar move.
My stage size is 1024 x 768
Where do I do my math in the code so the thumbnails will be located in the middle of the screen rather than in its right hand.
Here are the code snippets responsible for the thumbnails build up:
  const _THUMB_WIDTH:Number = 50;
  const _THUMB_HEIGHT:Number = 64;
  const _IMAGE_WIDTH:Number = 860;//550;original #
  const _IMAGE_HEIGHT:Number = 500;//355;original #
  const _THUMB_GAP:Number = 2;
  const _SCROLL_SPEED:Number = 12;
  const _SCROLL_AREA:Number = 150;
var _progressBar:MovieClip;
var _arrowLeft:MovieClip;
var _arrowRight:MovieClip;
var _slides:Array;
var _curSlide:Slide; //Slide that is currently displaying
var _loadingSlide:Slide; //only used when a Slide is supposed to show but hasn't been fully loaded yet (like if the user clicks "next" many times before all the images have loaded). We keep track of the one that's in the process of loading and should be shown as soon as it finishes, then we set _loadingSlide back to null.
var _imagesContainer:Sprite; //the Sprite into which the full-size images are placed (this helps manage the stacking order so that the images can always be behind everything else and yet we can addChild() each image so that it shows up on top of the previous one)
var _thumbnailsContainer:Sprite; //the Sprite into which the thumbnail images are placed. This also allows us to slide them all at the same time.
var _destScrollX:Number = 0; //destination x value for the _thumbnailsContainer which is used for scrolling it across the bottom. We don't want to use _thumbnailsContainer.x because it could be in the process of tweening, so we keep track of the end/destination value and add/subtract from it when creating our tweens.
var _minScrollX:Number; //we know the maximum x value for _thumbnailsContainer is 0, but the mimimum value will depend on how many thumbnail images it contains (the total width). We calculate it in the _setupThumbnails() method and store it here for easier/faster scrolling calculations in the _enterFrameHandler()
_thumbnailsContainer = new Sprite();
addChild(_thumbnailsContainer);
//_thumbnailsContainer.x = -550;//moves x position of thumbnails, instead done in line 273 thumbnail.x = curX - 590;
_thumbnailsContainer.y = _IMAGE_HEIGHT;//moves y position of thumbnails
_thumbnailsContainer.alpha = 0; //we want alpha 0 initially because we'll fade it in later when the thumbnails load.
_thumbnailsContainer.visible = false; //ensures nothing is clickable.
var xmlLoader:XMLLoader = new XMLLoader("loadingAssets/appThumbnails/slideshow_image scroller greenSock_mine/assets/data.xml", {onComplete:_xmlCompleteHandler});
xmlLoader.load();
function _xmlCompleteHandler(event:LoaderEvent):void {
_slides = [];
var xml:XML = event.target.content; //the XMLLoader's "content" is the XML that was loaded.
var imageList:XMLList = xml.image; //In the XML, we have <image /> nodes with all the info we need.
//loop through each <image /> node and create a Slide object for each.
for each (var image:XML in imageList) {
_slides.push( new Slide(image.@name,
image.@description,
new ImageLoader("loadingAssets/appThumbnails/slideshow_image scroller greenSock_mine/assets/thumbnails/appThmb_imgs/" + image.@name + ".jpg",
name:image.@name + "Thumb",
width:_THUMB_WIDTH,
height:_THUMB_HEIGHT,
//centerRegistration:true,
//x:260, y:320,//doesn't work here but works in line 69
scaleMode:"proportionalInside",
bgColor:0x000000,
estimatedBytes:13000,
onFail:_imageFailHandler}),
//loops through all the thumbnail images and places them in the proper order across the bottom of the screen and adds CLICK_THUMBNAIL listeners.
function _setupThumbnails():void {
var l:int = _slides.length;
var curX:Number = _THUMB_GAP;
for (var i:int = 0; i < l; i++) {
var thumbnail:Sprite = _slides[i].thumbnail;
_thumbnailsContainer.addChild(thumbnail);
TweenLite.to(thumbnail, 0, {colorTransform:{brightness:0.5}});
_slides[i].addEventListener(Slide.CLICK_THUMBNAIL, _clickThumbnailHandler, false, 0, true);
thumbnail.x = curX;
thumbnail.y = -234;//defines y position of the thumbnails row
curX += _THUMB_WIDTH + _THUMB_GAP;
_minScrollX = _IMAGE_WIDTH - curX;
if (_minScrollX > 0) {
_minScrollX = 0;
function _enterFrameHandler(event:Event):void {
if (_thumbnailsContainer.hitTestPoint(this.stage.mouseX, this.stage.mouseY, false)) {
if (this.mouseX < _SCROLL_AREA) {
_destScrollX += ((_SCROLL_AREA - this.mouseX) / _SCROLL_AREA) * _SCROLL_SPEED;
if (_destScrollX > 0) {  //this number is 1/2 the stage size, previously was at 0 it defines the left position of the thumbnails scroll end, has to be indentical to the number below
_destScrollX = 0;    //this number is 1/2 the stage size, previously was at 0 it defines the left position of the thumbnails scroll end, has to be indentical to the number above
TweenLite.to(_thumbnailsContainer, 0.5, {x:_destScrollX});
} else if (this.mouseX > _IMAGE_WIDTH - _SCROLL_AREA) {
_destScrollX -= ((this.mouseX - (_IMAGE_WIDTH - _SCROLL_AREA)) / _SCROLL_AREA) * _SCROLL_SPEED;
if (_destScrollX < _minScrollX) {
_destScrollX = _minScrollX;
TweenLite.to(_thumbnailsContainer, 0.5, {x:_destScrollX});

Hi, thanks for taking a look at my problem.
I assume that the code was difficult to read due to an unusual line brakes, which somehow I got when pasting on this site.
Please take a look I am pasting the code anew in it entirety:
(please let me know if you would like me to separate the areas which I believe give me troubles to address my previously describe problem:
All worked fine until the last moment when thumbnails bar is positioned as if its starting point is in the middle of the screen. I suppose it was developed for the flash screen layout with centered coordinates. My stage probably has them set to the upper left corner.
I can not make the bar move.
My stage size is 1024 x 768
Where do I do my math in the code so the thumbnails will be located in the middle of the screen rather than in its right hand.)
(Also wanted to mention that there an external file Slide.as which is not responsible for the construction and positioning of the thumbnails)
          import com.greensock.*;
          import com.greensock.loading.*;
          //import com.greensock.events.LoaderEvent;
          import com.greensock.loading.display.*;
          //import com.greensock.TweenLite;
          import com.greensock.events.LoaderEvent;
          //import com.greensock.loading.ImageLoader;
          //import com.greensock.loading.SWFLoader;
          //import com.greensock.loading.LoaderMax;
          //import com.greensock.loading.XMLLoader;
          import com.greensock.plugins.AutoAlphaPlugin;
          import com.greensock.plugins.ColorTransformPlugin;
          import com.greensock.plugins.GlowFilterPlugin;
          import com.greensock.plugins.BlurFilterPlugin;//i added this filter to blur the progressBar
          import com.greensock.plugins.TweenPlugin;
          import flash.display.MovieClip;
          import flash.display.Sprite;
          import flash.events.Event;
          import flash.events.MouseEvent;
          //public class SlideshowExample extends MovieClip {
                      const _THUMB_WIDTH:Number = 50;
                      const _THUMB_HEIGHT:Number = 64;
                      const _IMAGE_WIDTH:Number = 860;//550;original #
                      const _IMAGE_HEIGHT:Number = 500;//355;original #
                      const _THUMB_GAP:Number = 2;
                      const _SCROLL_SPEED:Number = 12;
                      const _SCROLL_AREA:Number = 150;
                     var _progressBar:MovieClip;
                     var _arrowLeft:MovieClip;
                     var _arrowRight:MovieClip;
                     var _slides:Array;
                     var _curSlide:Slide; //Slide that is currently displaying
                     var _loadingSlide:Slide; //only used when a Slide is supposed to show but hasn't been fully loaded yet (like if the user clicks "next" many times before all the images have loaded). We keep track of the one that's in the process of loading and should be shown as soon as it finishes, then we set _loadingSlide back to null.
                     var _imagesContainer:Sprite; //the Sprite into which the full-size images are placed (this helps manage the stacking order so that the images can always be behind everything else and yet we can addChild() each image so that it shows up on top of the previous one)
                     var _thumbnailsContainer:Sprite; //the Sprite into which the thumbnail images are placed. This also allows us to slide them all at the same time.
                     var _destScrollX:Number = 0; //destination x value for the _thumbnailsContainer which is used for scrolling it across the bottom. We don't want to use _thumbnailsContainer.x because it could be in the process of tweening, so we keep track of the end/destination value and add/subtract from it when creating our tweens.
                     var _minScrollX:Number; //we know the maximum x value for _thumbnailsContainer is 0, but the mimimum value will depend on how many thumbnail images it contains (the total width). We calculate it in the _setupThumbnails() method and store it here for easier/faster scrolling calculations in the _enterFrameHandler()
                     //function SlideshowExample() {
                              //super();
                              //activate the plugins that we'll be using so that TweenLite can tween special properties like filters, colorTransform, and do autoAlpha fades.
                              TweenPlugin.activate([AutoAlphaPlugin, ColorTransformPlugin, GlowFilterPlugin, BlurFilterPlugin]);//i added BlurFilterPlugin at the end
                              _progressBar = this.getChildByName("progress_mc") as MovieClip;
                              _arrowLeft = this.getChildByName("arrowLeft_mc") as MovieClip;
                              _arrowRight = this.getChildByName("arrowRight_mc") as MovieClip;
                              //////////my additions to make progress bay blurry
                              TweenLite.to(progress_mc.progressBar_mc.gradientbar_appLoader_mcPopUp_mc, 0, {blurFilter:{blurX:21, blurY:8}});//i added this line to make ProgressBar_mc to blur
                              TweenLite.to(progress_mc.rectangleGray, 0, {blurFilter:{blurX:21, blurY:8}});//i added this line to make ProgressBar_mc to blur
                              _arrowLeft.visible = _arrowRight.visible = false;
                              _imagesContainer = new Sprite();
                              this.addChildAt(_imagesContainer, 0);
                              _thumbnailsContainer = new Sprite();
                              addChild(_thumbnailsContainer);
                              //_thumbnailsContainer.x = -550;//moves x position of thumbnails, instead done in line 273 thumbnail.x = curX - 590;
                              _thumbnailsContainer.y = _IMAGE_HEIGHT;//moves y position of thumbnails
                              _thumbnailsContainer.alpha = 0; //we want alpha 0 initially because we'll fade it in later when the thumbnails load.
                              _thumbnailsContainer.visible = false; //ensures nothing is clickable.
                              var xmlLoader:XMLLoader = new XMLLoader("loadingAssets/appThumbnails/slideshow_image scroller greenSock_mine/assets/data.xml", {onComplete:_xmlCompleteHandler});
                              xmlLoader.load();
                     function _xmlCompleteHandler(event:LoaderEvent):void {
                              _slides = [];
                              var xml:XML = event.target.content; //the XMLLoader's "content" is the XML that was loaded.
                              var imageList:XMLList = xml.image; //In the XML, we have <image /> nodes with all the info we need.
                              //loop through each <image /> node and create a Slide object for each.
                              for each (var image:XML in imageList) {
                                        _slides.push( new Slide(image.@name,
                                                                                                    image.@description,
                                                                                                    new ImageLoader("loadingAssets/appThumbnails/slideshow_image scroller greenSock_mine/assets/thumbnails/appThmb_imgs/" + image.@name + ".jpg",
                                                                                                                                                      name:image.@na me + "Thumb",
                                                                                                                                                      width:_THUMB_W IDTH,
                                                                                                                                                      height:_THUMB_ HEIGHT,
                                                                                                                                                      //centerRegist ration:true,
                                                                                                                                                      //x:260, y:320,//doesn't work here but works in line 69
                                                                                                                                                      scaleMode:"pro portionalInside",
                                                                                                                                                      bgColor:0x0000 00,
                                                                                                                                                      estimatedBytes :13000,
                                                                                                                                                      onFail:_imageF ailHandler}),
                                                                                                    new SWFLoader("loadingAssets/appThumbnails/slideshow_image scroller greenSock_mine/assets/images/" + image.@name + ".swf",
                                                                                                                                              name:image.@name + "Image",
                                                                                                                                              width:_IMAGE_WIDTH,
                                                                                                                                              height:_IMAGE_HEIGHT,
                                                                                                                                              //centerRegistration:true,
                                                                                                                                              x:-420, y:-260,
                                                                                                                                              scaleMode:"proportionalInside",
                                                                                                                                              bgColor:0x000000,
                                                                                                                                              estimatedBytes:820000,
                                                                                                                                              onFail:_imageFailHandler})
                              //now create a LoaderMax queue and populate it with all the thumbnail ImageLoaders as well as the very first full-size ImageLoader. We don't want to show anything until the thumbnails are done loading as well as the first full-size one. After that, we'll create another LoaderMax queue containing the rest of the full-size images that will load silently in the background.
                              var initialLoadQueue:LoaderMax = new LoaderMax({onComplete:_initialLoadComplete, onProgress:_progressHandler});
                              for (var i:int = 0; i < _slides.length; i++) {
                                        initialLoadQueue.append( _slides[i].thumbnailLoader );
                              initialLoadQueue.append(_slides[0].imageLoader); //make sure the very first full-sized image is loaded initially too.
                              initialLoadQueue.load();
                              _setupThumbnails();
                     function _initialLoadComplete(event:LoaderEvent):void {
                              //now that the initial load is complete, fade out the progressBar. autoAlpha will automatically set visible to false once alpha hits 0.
                              TweenLite.to(_progressBar, 0.5, {autoAlpha:0});
                              //fade in the thumbnails container
                              TweenLite.to(_thumbnailsContainer, 1, {autoAlpha:1});
                              _setupArrows();
                              //setup the ENTER_FRAME listeners that controls the thumbnail scrolling behavior at the bottom
                              this.stage.addEventListener(Event.ENTER_FRAME, _enterFrameHandler, false, 0, true);
                              //now put all the remaining images into a LoaderMax queue that will load them one-at-a-time in the background in the proper order. This can greatly improve the user's experience compared to loading them on demand which forces the user to wait while the next image loads.
                              var imagesQueue:LoaderMax = new LoaderMax({maxConnections:1});
                              for (var i:int = 1; i < _slides.length; i++) {
                                        imagesQueue.append( _slides[i].imageLoader );
                              imagesQueue.load();
                              //now start the slideshow
                              _showNext(null);
                    //loops through all the thumbnail images and places them in the proper order across the bottom of the screen and adds CLICK_THUMBNAIL listeners.
                     function _setupThumbnails():void {
                              var l:int = _slides.length;
                              var curX:Number = _THUMB_GAP;
                              for (var i:int = 0; i < l; i++) {
                                        var thumbnail:Sprite = _slides[i].thumbnail;
                                        _thumbnailsContainer.addChild(thumbnail);
                                        TweenLite.to(thumbnail, 0, {colorTransform:{brightness:0.5}});
                                        _slides[i].addEventListener(Slide.CLICK_THUMBNAIL, _clickThumbnailHandler, false, 0, true);
                                        thumbnail.x = curX;
                                        thumbnail.y = -234;//defines y position of the thumbnails row
                                        curX += _THUMB_WIDTH + _THUMB_GAP;
                              _minScrollX = _IMAGE_WIDTH - curX;
                              if (_minScrollX > 0) {
                                        _minScrollX = 0;
                     function _setupArrows():void {
                              _arrowLeft.alpha = _arrowRight.alpha = 0;
                              _arrowLeft.visible = _arrowRight.visible = true;
                              _arrowLeft.addEventListener(MouseEvent.ROLL_OVER, _rollOverArrowHandler, false, 0, true);
                              _arrowLeft.addEventListener(MouseEvent.ROLL_OUT, _rollOutArrowHandler, false, 0, true);
                              _arrowLeft.addEventListener(MouseEvent.CLICK, _showPrevious, false, 0, true);
                              _arrowRight.addEventListener(MouseEvent.ROLL_OVER, _rollOverArrowHandler, false, 0, true);
                              _arrowRight.addEventListener(MouseEvent.ROLL_OUT, _rollOutArrowHandler, false, 0, true);
                              _arrowRight.addEventListener(MouseEvent.CLICK, _showNext, false, 0, true);
                     function _showNext(event:Event=null):void {
                              //if there's a _loadingSlide we should assume that the next Slide would be AFTER that one. Otherwise just get the one after the _curSlide.
                              var next:int = (_loadingSlide != null) ? _slides.indexOf(_loadingSlide) + 1 : _slides.indexOf(_curSlide) + 1;
                              if (next >= _slides.length) {
                                        next = 0;
                              _requestSlide(_slides[next]);
                     function _showPrevious(event:Event=null):void {
                              //if there's a _loadingSlide we should assume that the previous Slide would be BEFORE that one. Otherwise just get the one before the _curSlide.
                              var prev:int = (_loadingSlide != null) ? _slides.indexOf(_loadingSlide) - 1 : _slides.indexOf(_curSlide) - 1;
                              if (prev < 0) {
                                        prev = _slides.length - 1;
                              _requestSlide(_slides[prev]);
                     function _requestSlide(slide:Slide):void {
                              if (slide == _curSlide) {
                                        return;
                              //kill the delayed calls to _showNext so that we start over again with a 5-second wait time.
                              TweenLite.killTweensOf(_showNext);
                              if (_loadingSlide != null) {
                                        _cancelPrioritizedSlide(); //the user must have skipped to another Slide and didn't want to wait for the one that was loading.
                              //if the requested Slide's full-sized image hasn't loaded yet, we need to show the progress bar and wait for it to load.
                              if (slide.imageLoader.progress != 1) {
                                        _prioritizeSlide(slide);
                                        return;
                              //fade the old Slide and make sure it's not highlighted anymore as the current Slide.
                              if (_curSlide != null) {
                                        TweenLite.to(_curSlide.image, 0.5, {autoAlpha:0});
                                        _curSlide.setShowingStatus(false);
                              _curSlide = slide;
                              _imagesContainer.addChild(_curSlide.image); //ensures the image is at the top of the stacking order inside the _imagesContainer
                              TweenLite.to(_curSlide.image, 0.5, {autoAlpha:1}); //fade the image in and make sure visible is true.
                              _curSlide.setShowingStatus(true); //adds an outline to the image indicating that it's the currently showing Slide.
                              TweenLite.delayedCall(5, _showNext); //create a delayedCall that will call _showNext in 5 seconds.
                     function _prioritizeSlide(slide:Slide):void {
                              TweenLite.to(_progressBar, 0.5, {autoAlpha:1}); //show the progress bar
                              _loadingSlide = slide;
                              _loadingSlide.imageLoader.addEventListener(LoaderEvent.PROGRESS, _progressHandler);
                              _loadingSlide.imageLoader.addEventListener(LoaderEvent.COMPLETE, _completePrioritizedHandler);
                              _loadingSlide.imageLoader.prioritize(true); //when the loader is prioritized, it will jump to the top of any LoaderMax queues that it belongs to, so if another loader is in the process of loading in that queue, it will be canceled and this new one will take over which maximizes bandwidth utilization. Once the _loadingSlide is done loading, the LoaderMax queue(s) will continue loading the rest of their images normally.
                     function _cancelPrioritizedSlide():void {
                              TweenLite.to(_progressBar, 0.5, {autoAlpha:0}); //hide the progress bar
                              _loadingSlide.imageLoader.removeEventListener(LoaderEvent.PROGRESS, _progressHandler);
                              _loadingSlide.imageLoader.removeEventListener(LoaderEvent.COMPLETE, _completePrioritizedHandler);
                              _loadingSlide = null;
                     function _completePrioritizedHandler(event:LoaderEvent):void {
                              var next:Slide = _loadingSlide; //store it in a local variable first because _cancelPrioritizedSlide() will set _loadingSlide to null.
                              _cancelPrioritizedSlide();
                              _requestSlide(next);
                     function _progressHandler(event:LoaderEvent):void {
                              _progressBar.progressBar_mc.scaleX = event.target.progress;
                     function _clickThumbnailHandler(event:Event):void {
                              _requestSlide(event.target as Slide);
                     function _rollOverArrowHandler(event:Event):void {
                              TweenLite.to(event.currentTarget, 0.5, {alpha:1});
                     function _rollOutArrowHandler(event:Event):void {
                              TweenLite.to(event.currentTarget, 0.5, {alpha:0});
                     function _enterFrameHandler(event:Event):void {
                              if (_thumbnailsContainer.hitTestPoint(this.stage.mouseX, this.stage.mouseY, false)) {
                                        if (this.mouseX < _SCROLL_AREA) {
                                                  _destScrollX += ((_SCROLL_AREA - this.mouseX) / _SCROLL_AREA) * _SCROLL_SPEED;
                                                  if (_destScrollX > 0) {  //this number is 1/2 the stage size, previously was at 0 it defines the left position of the thumbnails scroll end, has to be indentical to the number below
                                                            _destScrollX = 0;    //this number is 1/2 the stage size, previously was at 0 it defines the left position of the thumbnails scroll end, has to be indentical to the number above
                                                  TweenLite.to(_thumbnailsContainer, 0.5, {x:_destScrollX});
                                        } else if (this.mouseX > _IMAGE_WIDTH - _SCROLL_AREA) {
                                                  _destScrollX -= ((this.mouseX - (_IMAGE_WIDTH - _SCROLL_AREA)) / _SCROLL_AREA) * _SCROLL_SPEED;
                                                  if (_destScrollX < _minScrollX) {
                                                            _destScrollX = _minScrollX;
                                                  TweenLite.to(_thumbnailsContainer, 0.5, {x:_destScrollX});
                    //if an image fails to load properly, remove it from the slideshow completely including its thumbnail at the bottom.
                     function _imageFailHandler(event:LoaderEvent):void {
                              var slide:Slide;
                              var i:int = _slides.length;
                              while (--i > -1) {
                                        slide = _slides[i];
                                        if (event.target == slide.thumbnailLoader || event.target == slide.imageLoader) {
                                                  slide.dispose();
                                                  _slides.splice(i, 1);
                                                  _setupThumbnails();
                                                  return;

Similar Messages

  • How do I keep the scroll bar from disappearing in the Mountain Lion update 10.8.5?

    When I got the prompt yesterday that there was an update for Mountain Lion I went ahead and downloaded it, and it is awful!  The scroll bar on the right side of the screen disappears too quickly now to use it easily, and is difficlut to get back, which adds extra steps (clicking on the down arrow while the cursor is in the scroll area then quickly clicking the arrow cursor while it is in the temporary scroll down bar.  Or else this is from a Firefox update I did NOT actually download, but indications when I started up my computer today are that it did download somehow by itself without my permission, as there was a notice that some of my Mozilla ad-ons might not be compatible with this version of Firefox.  I couldn't understand that since it should have been the same version of Firefox I used yesterday!  I know I didn't download the new Firefox because the pop-up box went away very quickly each time it came up so I never did click on it.  Does anyone know if the change in scrolling is a Firefox update or the OSX 10.8.5 update?  I HATE it and want it off, but don't know which one is the culprit nor how Firefox updated itself without my consent.  Aaaarrrggghhh!

    System Preferences > General > Show scroll bars:
    Make sure that "Always" is selected.
    Best.

  • How to exclude Table`s  scroll bar from Drag Source

    Hi
    i have an af:table inside other af:table as its column like below sample
    and user can drag inner table and drop it to other row of outer table but when user click on the scrollbar of inner table to scrolling the inner table selected as drag source and user con not scroll inner table
    so is it possible to exclude scroll bars of table from drag source?
    depart Id
    Dep name
    Emp
    dep1
    IT
    emp Name
    emp email
    emp Tel
    jan
    [email protected]
    8990
    dav
    [email protected]
    8844
    dep2
    Finance
    emp Name
    emp email
    emp Tel
    smit
    [email protected]
    8745
    mary
    [email protected]
    8952

    Hi,
    Always mention your JDev version.
    As Timo mentioned, it would be easier for you if you use a treeTable. Any specific reasons why you don't want to use it? If you want to do it through iterator, you could also use a grid layout (depends on your JDev version) to make it look like a grid.
    -Arun

  • How to remove an unneeded scroll bar from an iView?

    Hello,
    I have an iView which presenta KM content.
    The iView is presented with two annoying scrollbars which doesn't contribute to anything since there is really not much to scroll.
    I would like to cancel these scroll bars.
    I tried playing with the iView appearance parameters (Fixed/Automatic) and with the height parameter yet it didn't help.
    I also tried to see if this option can be mofified at the Layout Set this iView is based on yet I couldn't find such.
    Any suggestions...?

    Hi Roy,
    Can you tell me what is the "Isolation Mode" property of your iview set to.
    Is it Embedded or URL. If it is URL try setting it to Embedded and let me know.

  • How do I call image file names from MySQL & display the image?

    Hello everyone,
    I have image file names (not the full URL) stored in a MySQL database. The MySQL database is part of MAMP 1.7 and I am using Dreamweaver CS3 on a Mac Book Pro.
    I would like to create a catalog page using thumbnails, and PayPal buttons displayed within a table, in rows. With the image centered and the PayPal button directly underneath the image.
    How do I use PHP to call the thumbnail images as an image not the file name, to be displayed in the table?
    Thanks in advance.

    slam38 wrote:
    How do I use PHP to call the thumbnail images as an image not the file name, to be displayed in the table?
    Open the Insert Image dialog box in the normal way, and navigate to the folder that contains the images. Then copy to your clipboard the value in the URL field, and click the Data Sources button. The following screenshot was taken in the Windows version, but the only difference is that Data Sources is a radio button at the top of the dialog box in Windows. It's a button at the bottom in the Mac:
    After selecting Data Sources, select the image field from the approriate recordset. Then put your cursor in the URL field and paste in the path that you copied to your clipboard earlier.

  • Adobe Reader move the vertical scroll bar from left to right

    Hi,
    is it possible to move the vertical scroll bar from left to right in Adobe Reader 9?
    If not, are you planning to implement this functionality?

    I meant from right to left, sorry
    You see, I'm left handed and when I use the scroll bar that is on the right side with the left hand I don't actually see the content of the page, because my left hand is covering the screen (I'm browsing the internet in tablet mode and I use the pen to navigate between pages).
    My system is a Tablet PC with Windows XP Tablet Edition 2005 and Adobe Reader 9.3.2.
    P.S. can you edit my post so the google indexes it right? (
    from right to left
    instead of "from left to right")

  • How can we remove the scroll bars from the table?

    Hi,
    I have a dynamic table. Currently the table appears with the scroll bars. But there is a requirement that the scroll bar should not appear and the table should stretch in the entire page. How can this be achieved.
    Thanks in advance
    Nita

    Thanks Mohammad for the reply.
    Was able to remove the scroll bars by using only the styleClass as AFStretchWidth. But there is a default partition in middle of the page still? Can i remove that too by any way.

  • Scroll Bar From Browser Problem!

    Hi i have a silly question.
    I made a page wish is half black and half Red.
    And beetwen in the middle of the page i whant to put a white life. from L -0
    to right of my page close at the finish page on the right, but to not apper the horizontal scroll bar from the browser.
    What i have to use to me that posible.
    when i go with my layer on the right of the page in dreamweaver at 1280 and i taste it in browers appear the scroll orizontal bar wish i dont want.
    But i want my line to go fordware on right and that the people dont see where the line finish.
    this is my code far away.
    <!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">
    <!--
    #line {
        position:absolute;
        left:0px;
        top:147px;
        width:1274px;
        height:72px;
        z-index:1;
    -->
    </style>
    </head>
    <body>
    <div id="line"></div>
    </body>
    </html>
    thank you for help

    Yeah what i wanne to lets say a simple page half  to be white then a red line and then
    down to be black.
    But what i wanne to is that this red line that i wanne cross over my html page,from the left to the right,but when the people changing the resolution ,in more that i have ,wish mine is 1280 with 800,
    to not appear the  horizontal scroll bar from the browser never, something like you said with repet.
    i know is a bad idea with the layer ,but was only for exemple.
    If a make a repeting image on my body, how large i have to make the line?
    David

  • Removing scroll bar from product pages

    I need to remove the scroll bar that appears on the product pages. It doesn't matter if I have only one product or 100 on the page with the small images, I still get a scroll bar on the right side. I've tried adding and removing margins and padding, set the container height to auto, and removed the previous and next buttons from the shop templates, all to no avail. It appears to be caused by the table that holds the products, but no change to the code fixes it.
    I have included a screen print of the top of the page showing the scroll bar. There are only 3 images on this page and plenty of room below them. Overflow has been set to auto (and/or visible) on the container, the table, and the page.
    So, can anyone tell me how to shut off that scroll bar? I can't find that code that includes it so I can't see what's going on.
    Thank you for you help.
    Sincerely,
    Ahurani

    Liam,
    Thank you for answering.
    I didn't want to turn the scroll bar on the page off, but the scroll bar that appears in a div container. I finally solved the problem by turning overflow: auto to overflow: hidden. And smacked myself in the forehead and said, "Duh. I knew that." Too tired and too close to the problem I guess.
    The only other thing I can't seem to find is the large space that appears above a product table. I've tried everything from margins to padding and beyond.
    Sorry about not including the url. I have used the forum so rarely that I didn't think of that. It is www.whimsicalley02.businesscatalyst.com, just in cases you want to look at the big space on Harry Potter > Accessories and on the large product page. I'd love to tuck the product closer to the breadcrumb, but if that is not possible, then c'est la vie.
    Thank you.

  • Removing horizontal scroll bar from iframe

    how can i remove the horizontal scroll bar from an
    iframe when the contents does not need one.

    You don't get the horizontal scrollbar unless the contents
    need one.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "straight guy" <[email protected]> wrote in
    message
    news:e7qfk8$fbo$[email protected]..
    >
    how can i remove the horizontal scroll bar from an
    iframe when
    > the contents does not need one.

  • Pls help - how to create a navigator scroll bar in full flash site

    hi to all,
    good day! i'm norman of RP this s for all d flash master, i'm
    beginner only in flash and i want to create a full flash website
    but i didn't know on how to put a navigational scroll bar. is der
    anybody can help me to give me a simple code of it or a link?
    i appreciate any help from all of u. I nid it badly to my
    project.
    many tnx an advns
    - normz - RP -

    hi,
    use this below div tag to the table:
    <div style="overflow: auto; width: 480px; height: 100px; border-left: 1px gray solid; border-bottom: 1px gray solid; padding:0px; margin: 0px;">
    <table>
    </tabe>
    </div

  • How can I assign image file name from Main() class

    I am trying to create library class which will be accessed and used by different applications (with different image files to be assigned). So, what image file to call should be determined by and in the Main class.
    Here is the Main class
    import org.me.lib.MyJNIWindowClass;
    public class Main {
    public Main() {
    public static void main(String[] args) {
    MyJNIWindowClass mw = new MyJNIWindowClass();
    mw.s = "clock.gif";
    And here is the library class
    package org.me.lib;
    public class MyJNIWindowClass {
    public String s;
    ImageIcon image = new ImageIcon("C:/Documents and Settings/Administrator/Desktop/" + s);
    public MyJNIWindowClass() {
    JLabel jl = new JLabel(image);
    JFrame jf = new JFrame();
    jf.add(jl);
    jf.setVisible(true);
    jf.pack();
    I do understand that when I am making reference from main() method to MyJNIWindowClass() s first initialized to null and that is why clock could not be seen but how can I assign image file name from Main() class for library class without creating reference to Main() from MyJNIWindowClass()? As I said, I want this library class being accessed from different applications (means different Main() classes).
    Thank you.

    Your problem is one of timing. Consider this simple example.
    public class Example {
        public String s;
        private String message = "Hello, " + s;
        public String toString() {
            return message;
        public static void main(String[] args) {
            Example ex = new Example();
            ex.s = "world";
            System.out.println(ex.toString());
    }When this code is executed, the following happens in order:
    1. new Example() is executed, causing an object to constructed. In particular:
    2. field s is given value null (since no value is explicitly assigned.
    3. field message is given value "Hello, null"
    4. Back in method main, field s is now given value "world", but that
    doesn't change message.
    5. Finally, "Hello, null" is output.
    The following fixes the above example:
    public class Example {
        private String message;
        public Example(String name) {
            message = "Hello, " + name;
        public String toString() {
            return message;
        public static void main(String[] args) {
            Example ex = new Example("world");
            System.out.println(ex.toString());
    }

  • How do I remove the coloured bars from running down the side of my emails.

    How do I remove the coloured bars from running down the side of my emails.

    Hi
    The setting I have in Composing are-
    Composing
    Message Format - Rich Text
    In addressingonly have  tick in When sending to a group
    Responding - tick only the first two boxes
    Last only the bullet for Include selected text
    Hope htis helps

  • Want to remove scroll bar from navigation pane in Web Template

    HI All,
    I have a report created in WAD.When I am using navigation pane, I get a scroll bar there.
    I want to remove that scroll bar from navigation pane.Tried increasing the height in the property of same but nothing is helping.
    The expanded option should be ON and do not want to group characteristics shown in nav. pane.
    Please suggest, if there is any other way to do that.
    Thanks,
    Anu

    Why do you want to expand it? Generally when you click on Nav pane, it should show the assigned chars under it. No scroll bar comes up with  below settings:-

  • Removing the Vertical scroll bar from the content area.

    Hello,
    Is there a way to remove the vertical scroll bar from the content area?
    I am trying to create a new light portal frame work.
    Everything works fine except that I see two vertical scroll bars, one from the content area and another from the page(frame).
    Thanks in advance.
    -Sudheer

    Hi
    There are a couple of ways in which to achieve this
    1) Try and make the content flat. What I mean by this is that the content area (when using the standard light framework) doesn't contain an iframe, meaning that the iview defined on the page has "EMBEDDED" isolation mode. This should mean that you only have one scrollbar (if the content extends past the size of the browser)
    2) If you need to make the iview URL isolation, then try and get the domain of the content to be of a similar domain to your portal server, i.e. your portal is portal.company.com and the content is content.company.com. In this way you can make the pages expand.
    NOTE: One thing to note is that when using URL isolation iviews doesn't allow the automatic expanding of the iframe content. This is because the standard javascript doesn't allow this. Therefore you may have to write your own javascript function (or content area page) to do this
    I hope this helps
    Darrell

Maybe you are looking for

  • Icloud setup not working on my PC

    I get the following error message your setup couldnt be started because of an unexpected error Ive read online that this is an error that is known and theyre working on it. Anyone got an update on it?

  • X2go fails to get Client Login working!

    Following the wiki: http://wiki.archlinux.org/index.php/X2go I setup my Desktop as x2go Server and try to login from a notebook from local network (Both with Archlinux) Login fails with: Write problem at /home/'USER'/.x2go/ssh/socaskpassGHTZF First i

  • My nokia maps are not showing me any info of stree...

    i downloaded the free nokia maps app and i cant use it as i used to ... last time i was able to use it was 3 months ago. i am used to using it as a GPS but since the last update i cant now .... my Nokia is N97 mini and i am verry fond of it , if any

  • Merging documents

    I'm having trouble merging documents in the documents file. I try dragging them to new location but they won't go. Help for a new mac user.

  • Cannot see Private Workareas after Import in a New Instance

    Hi guys, I followed the procedure you recommended in the designer 9i installation guide about migrating/upgrading the repository and It seems I missed something: -I made an export of my repository owner with the RAU in Oracle Database 8.1.7 with Rep.