Loader component with scrollbar

Hello,
I'm trying to attach a scroll bar to a loader component and it's not working. i don't want to use the scrollpane because its shows the outline around the box.
is it possible to get a UIscrollbar attached to a loader component?

Yes, you could potentially attach a scrollbar to the Loader component, but you are likely better off simply using the ScrollPane and styling it to not show the border.
myScrollPane.setStyle("borderStyle","solid");
myScrollPane.setStyle("borderColor", 0xFFFFFF);
where "myScrollPane" is the instance name of the scroll pane, and 0xFFFFFF is your background color.
You could go more in depth styling-wise, and skin the rectBorder instance to not have a border at all.

Similar Messages

  • Load movie with scrollbars

    Is it possible to load a Flash movie into an area that is
    controllled by a scrollbar?
    eg. load a 2000x300px movie into a 300x300px space and have a
    vertical scrollbar...
    Thanks

    I'd say in your case (as described) it should not be too
    hard.
    I understand that your scrolable clip is of a fixed size.
    Evene if not for a start that would be a good asumption.
    Here' what I would do:
    Place an empty clip on stage (createEmptyMovieClip...),
    Mask it with a clip of 300 by 300
    load the desired clip (method depending on flash version
    you're targeting)
    and make a scollbar clip that positions the loaded clip (by
    the name of the earlier created empty clip) acording to the
    position of the slider.
    Tricky part would be determing when the clip has finished
    loading if you target players before 7. Also it might be (I'm not
    sure right now, would have to check it out) that you have to
    re-mask the clip once the external one has finished loading.
    I don't kow If that helps you, but it might provide a general
    idea.
    If you need more hints, I'll try to be of help.

  • Image with scrollbars

    I'm trying to find a simple way to:
    1. Take a URL I have, which points to an image (jpg, png , or whatever).
    2. Download and display it as a Swing component, with scrollbars.
    This is not part of an applet.
    There doesn't seem to be a straightforward way to do this. Can
    anyone help?
    Jeffrey

    once you have the image put it on a label or similiar (ImageIcon works fine for that IIRC)
    Then put that Label on a JScrollPane.

  • Making a Jpeg gallery with the Loader component...

    I'm trying to make a gallery using many loader component
    thumbnail photos that present their larger image in a different
    (loader component) box when rolling over with my cursor...Is this
    right? Is there an easier way I can do this?
    If I can do it this way easily, I'd like to. PLEASE, if
    anybody has the answer let me know, thank you.

    This sounds right. The nice thing is that you can replicate
    the loader component and give it various instance names and just
    point each one to its photo in your ActionScript.
    I did something similar here:
    http://sarajoypond.com/portfolio

  • Filter af:outputText  value with some parameters before loading component

    I use jdeveloper 10.1.3 with web adf components.
    I want to show outputText component with some custom Object (item),
    <af:outputText value="#{bindings.item}">
    but before showing this component on the page , during runtime, this item object must be filtered with some parameters and then returned some string ( convert item object to string with parameters during runtime, before loading this outputText component).
    How can I do this?
    Maybe it needs some back beans or I am thinking to create custom component like outputText ,but how to do ?
    what is optimal disizion?
    can someone help me or someone can send some documentation?

    Hi,
    When u will bind Output Text with some method in Backing bean u will get a set(),get() methods along with a CoreOutputText variable, u can initialized the variable , and if u want to check any condition then before setting the value then check the condition in the constructor of the backing bean and then change the CoreOutputText value accordingly,which will set the corresponding value,in the UI
    Thanks

  • Help with Loader component!

    hi, i've got a Loader component on a swf i call holder.swf
    i am loading an external.swf in this loader
    i have a variable called music in holder.swf.
    is there any way for me to access the variable music that was
    defined in holder.swf, from the externally loaded external.swf?
    in code:
    basically i have in "holder.swf"
    onClipEvent (load) {
    _root.myLoader.contentPath = "external.swf";
    _global.music=5;
    and in external.swf
    i am trying to do
    if(_root.music==5){
    do something;
    }

    Hi
    Won't using _global.music work (rather than _root.music)? I
    use various ways to load swf files and usually pass variables via
    _global.
    Don't think I've used your particualr load method
    though.

  • Window Component with Loader Component

    I have the SWF loading into a shell using a Loader component.
    Within one swf is a trigger for a window - which ,suprise suprise,
    doesn't work. It works fine if I access the swf directly just not
    when loaded through the shell. I have added the component to the
    shell fla and then although a window component loads up, the
    content (which is linked in the library) is not found. Anyone come
    across this before?

    There is a discussion of modules and popups on my blog
    Alex Harui
    Flex SDK Team
    Adobe System, Inc.
    http://blogs.adobe.com/aharui

  • AS 2.0 Loader component question

    I have a site that has a gallery with 40 images, takes a long
    time to load so I need to find the best way to correct. The files
    that load manually now are movieclips that play in 10 second frames
    in their own timeline with an alpha effect on each all the jpgs and
    other files are in the main fla which is huge because of this. I
    was going to use the loader component but I see you can only use
    for .jpgs and I can't put the effect on jpgs, other obvious way is
    using loadMovie but then I have to convert all mc's to separate
    swfs. Before I go that route is there another way to do this?
    rderf

    I have a site that has a gallery with 40 images, takes a long
    time to load so I need to find the best way to correct. The files
    that load manually now are movieclips that play in 10 second frames
    in their own timeline with an alpha effect on each all the jpgs and
    other files are in the main fla which is huge because of this. I
    was going to use the loader component but I see you can only use
    for .jpgs and I can't put the effect on jpgs, other obvious way is
    using loadMovie but then I have to convert all mc's to separate
    swfs. Before I go that route is there another way to do this?
    rderf

  • Load external jpgs.. to a loader component to transition

    I need to load external
    images to a loader component, in the main scene, than change
    automatically after 2 seconds in a fade transition,,, please help.

    JamesHammerstein wrote:
    > Dear All - Can anyone help?
    >
    > I have created a spry gallery page with a dropdown to a
    number of different
    > categories...
    >
    >
    http://aster.rhul.ac.uk/STAR/galleries/gallery_prototype.php
    >
    > I want to be able to add links on another page that will
    automatically load a
    > particular gallery from this page, i.e. select a
    particular category to be
    > displayed from a link on another page.
    Try asking your question in the Spry forum where you'll get a
    more focused group of viewers for your question :
    http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid=72&catid=602
    Danilo Celic
    |
    http://blog.extensioneering.com/
    | WebAssist Extensioneer
    | Adobe Community Expert

  • Progressbar and loader problem with IE

    Hello there,
    well, in my project i have been using the loader and the
    progressBar components. (actionscript 2).
    the loader and the progress bar placed on the "main.swf" and
    its loading an external ".swf's". I am a mac user, so i was testing
    the movie on "fireFox" and on "Safari" everything is working well.
    but, when i was viewing it on "Internet Explorer" any of the
    progress bars didn't appeared and the functions that relates to the
    "on(complete)" state, doesn't happen.
    if anybody recognize this problem, please leave me directions
    to solve this. so frustrating. thanks allot, asi.

    I can confirm this seems to be a problem for me also. I have
    used multiple instances of the Loader component in various sites
    recently (AS2) and they all have issues in IE7. I managed to narrow
    one problem down to the fact the .progress listener wouldn't work.
    I'm having to rip out all instances of the Loader component
    and replace it with the MovieClipLoader class as a fix until
    someone can shed some more light on this...

  • White box under Loader Component

    I am using the Loader Component to load my images as they are
    viewed in my file.
    Most of my images are ok, but some have a white box
    underneath of them.
    I'll have an image that is like 300 pixels wide and 100 tall,
    but it looks like a 100 wide by 200 tall white box is behind the
    image. It does this with random images using the Loader COmponent.
    any ideas what is up or how to fix it?

    weird solution. i copied all of my keyframes into a new
    document and when testing the movie the box problem does not
    appear.
    is flash got bugs?

  • Loader Component in screens/app piece

    I have an e-learning shell set up using the apps template. I
    have several screens that have external swfs loading into the
    loader component. With the auto load on the component the swfs all
    automatically play upon load of the the app. If set to ffalse no
    load upon the app loading. I do not want them to load when the app
    loads only when you would move to the particular screen they are
    on. I can put a play and stop button in the external swf but I
    would rather that they play automatically when the user navigates
    to the screen they are sitting on. Any ideas on actionscript to
    control this?
    Thanks!

    I don't understand your explanation.
    Is the SWFLoader loading a full SWF or an embedded symbol?  What is an invisible mode and how do you know it is in that mode?
    Alex Harui
    Flex SDK Developer
    Adobe Systems Inc.
    Blog: http://blogs.adobe.com/aharui

  • Loader Component Trouble

    Hey guys...
    I'm back. I am still working on this site, and have worked
    through numerous challanges and gotten through, but I have now hit
    a roadblock that I cant seem to conquer... Here is the
    situation....I have a “main” file.... I am using the
    technique of loading external swf’s into a loader component
    on the main file. So each individual page is a different swf file.
    I have the navigation set up in a seperate swf file as well, and
    have the nav bar loading into another instance of the loader in the
    “main” file. The navigation has its own action
    scripting that animates it, and I have written action script so
    that when you click the buttons (I have attached the code that I
    wrote for the buttons), the other loader on the main page should
    load the corresponding swf... (still with me?) well I preview the
    “main” page and it runs great and the home.swf
    automatically loads and the nav loads (and animates), but when you
    click the buttons nothing happens... I hope someone can help me
    through this problem.... Thanks so much in advance....

    .......Doesnt anyone know how to help me with this issue?
    Best,
    Ken

  • Loader component loading swf bigger as it is?

    Im loading second.swf in main swf using a loader component,
    second swf is has a stage size of 800*85, i load it in a
    component with the same size, and scaleContent = true
    This goes wrong, after investigating second.swf it actualy
    has a stage size but some components on the size like a textfield
    goes beyond the stage (which is necesarry to be able to load enough
    text in it (it starts scrolling then to be visible on stage), when
    i test second.swf, i get a 800*85 swf.
    But when i include it in an other swf and autoscale it, it
    seems like flas includes the objects outside the stage from
    second.swf to do the scaling.
    Ideas to avoid this fenomenon ?

    the loaded swf will include objects that are off-stage. it
    wouldn't be satisfactory if those objects were "omitted".
    if you want second.swf to appear the same in main.swf,
    main.swf will need to have the same stage size as second.swf or
    you'll need to mask second.swf's target to make it appear the
    same.

  • Loader component not displaying content

    I had this issue on a few different projects and have not
    been able to find a solution:
    When loading an image with the loader component, the image
    only displays about half the time even though the complete event is
    received. I sometimes see a quick flicker of the image.
    I have tried both calling invalidate() and resizing after
    loading has completed, but does not help.

    i had a similar issue with that, what i did was create a
    class.
    this class was linked to a movie clip, and whenever i'd need
    an image loaded, i'd simply attach this movie.
    as for resizing and positioning of the image, i also did a
    code in my enterframe that always made the image centered with a
    max size and height of 100, that way it was always proportionate
    and i could simply control the size by controlling the xscale and
    yscale of the image movie clip.
    hope this helps
    class image extends MovieClip {
    function image() {}
    function loadImage(sPath){
    this.createEmptyMovieClip("mContent", 0);
    // you can also attach a loader there
    this["mContent"].loadMovie(sPath);
    this.onEnterFrame = function () {
    if(this["mContent"].getBytesLoaded() ==
    this["mContent"].getBytesTotal()) {
    //remove the loader
    this["mContent"]._visible = true;
    } else {
    // update the loader
    this["mContent"]._visible = false;
    }

Maybe you are looking for

  • Netboot issues in snow leopard

    I have been fighting this all day, I have osx server 10.6.7 and many snow machines. i have images can see them from the client machines in startup disk but i can not seem to get them to boot from these images. the last 2 log say BSDP OFFER sent [1,10

  • edited by host HARD DRIVE ICON WILL NOT OPEN ON DESKTOP WHEN CLICK

    my HD will not open on desktop when i click on it. For 4 years i had no problem on this every. why does this happen now? what is wrong with the icon? could my HD start becoming bad? what are some signs that i should be "aware of" is this one?

  • Trying to resolve a DHCP conflict involving Airport Extreme

    I have my LAN set up so that the router hands out addresses with DHCP in the 192.168.1 range. Also on the network is an Airport Extreme (an older 11g model running the 5.7 firmware). I am having a terrible time trying to configure it so that it hands

  • How to set printer default to Tray

    Just purchased an Epson WorkForce 845 all-in-One. The printer has two paper trays. Paper tray #1 can be adjusted for paper size and envelopes. Tray #2 can only handle 8.5x11 inch paper. I would like to set the print default via ethernet to use tray #

  • Shipment document creation for normal purchases(With out delivery)

    Dear Friednds, I Have one scanario in my project, which is belongs to transportation module: The client will raise the PO to vendor. The vendor will delivery the goods to my  client. But client will do the MIGO. thst is goods receipt. Thats all, no i