External swf :: Scroller bar

I'm pullling an external SWF in to a smaller movieclip. I need to have a scroller bar. How and where do I need to put it?

if it's a precompiled movieclip (like a flash component), it needs to be in the loaded swf (where it's needed either on-stage or instantiated with actionscript) AND it needs ti be in the loading swf library.

Similar Messages

  • Scrolling bar with external text

    Hi,
    I'm trying to create a scroller bar with external text on Flash, but not suceeding much. I want to do it in AS 2.0, as my whole website is created in AS 2.0. I found a tutorial on Kirupa for Flash MX 2004, but does not work with Flash CS4, which is what I'm running.
    What I need is, basically, to have a scroll bar to scroll up and down an external text (XML or .txt). I just don't seem to be able to do it. Also, is there a way of customizing the scroll bar?
    Thanks for the help!
    N.

    Hey, I had to do a VERY similar thing for a student project a
    few months ago. If you go to
    Flashkit.com, you can find
    tutorials on how to import XML and CSS or XSL. I was able to do it
    and I don't know a lot of actionscript. If you want to see how I
    used it, go to
    the University of Scranton's MIT
    website.
    Hope that helps!

  • Is this possible - Import Flash swf which then imports an external swf

    Hi,
    I was wondering if it's possible to (as the title says) to import an swf which itself imports an external swf?
    Explanation - I've got an scrollbar created in flash...and to keep it tidy i've created the scroll 'content' as another swf which is imported into  the scrollbar swf.
    Whenever i publish/render the project the scroll bar appears but the content does not.
    Is it possible to do this?
    Captivate > imports flash > which imports external swf
    Cheers
    Craig.

    Yes that shouldn't be a problem at all. You probably won't be able to see it working when you preview the project from within Captivate but if you publish it and manually copy/paste the external swf to the publish directory, it should work just fine.
    www.cpguru.com - Adobe Captivate Widgets, Tutorials, Tips and Tricks and much more..

  • Open external swf from within another external swf?

    Hello, I'm relatively new to AS3 and have a problem that I'd like to see if anyone can provide a response.
    I have an external swf that is opened through a web page, but the swf does not diplay in a web page, we use javascript to remove the browser, control the window size to 1024X710, no scrollbars, etc. Within that external swf I want to use a button that the user can click to open a separate external swf that is located in the same folder; however, I want it to display as the original swf (without it being displayed in an Internet browser, no scroll bars, a certain size 1024X710), etc. I've been able to find script where you can open an external web page with a certain size window; however, I find nothing regarding how to open an external swf with conditions.
    Any help you can provide would be greatly appreciated!
    We use this script on a web page to open the external swf:
    <script language="Javascript">
      function openSWF1(cbtFile)
        window.open(cbtFile,"NewWindow","toolbar=no,directories=no,menubar=no,scrollbars=yes,widt h=1024,height=710");
    </script>
    We use the following html code to call the JS and open the applicable swf file:
    <a href="javascript:openSWF1('CBT/AppTrng/EIP-New-Siebel.swf')">Enterprise Image Processing (EIP)</a>

    Hi,
    I found this function and it works correctly; however, it seems to automatically move the movie to the next frame instead of staying on the same frame in which the function is displayed.
    The first function is to move to the next frame when the user presses the Tab key on their keyboard.
    stage.addEventListener(KeyboardEvent.KEY_DOWN, cool);
    function cool(e:KeyboardEvent):void {
          if(e.keyCode == Keyboard.TAB){
               gotoAndPlay("7");
    This function is to open an external swf in a sizeable window with no Internet window - it works great! However, it automatically navigates the parent movie clip to frame #7. What am I doing wrong?
    query_btn.addEventListener(MouseEvent.CLICK, MYBUTTON_link8);
    function MYBUTTON_link8(e:MouseEvent):void
        //navigateToURL(new URLRequest("icb.swf"), "_blank", "scrollbars=no,titlebar=no,toolbar=no,menubar=no,resizable=yes,width=1024,height=710");
    var gameURL:String = "http://opstraining.bcbsfl.com/NonPMI/RBMS/icb.swf";
    var jscommand:String = "window.open('"+gameURL+"','win','width=1024,height=710,toolbar=no,scrollbars=no,location =no,status=no,menubar=no');";
    var url:URLRequest = new URLRequest("javascript:" + jscommand + " void(0);");
    navigateToURL(url, "_self");

  • Loading external swf / resizing

    Hi,
    I'm loading external swf into my main project for sub sections to keep size down.  My main project is 1280 x 700px in size.
    In those sub-section I have some content with a scroller.
    When I load the swf and check the size its ok. But as soon as the scrollbars is initialized scroll bar is initialized the size of the external includes the text that goes off-stage for the sroller.
    I can resize it propotionaly when after its loader because i have the correct values. But if the user resizes his browser I get the wrong values and my resize code doesnt work because it's height is now incorrect.
    So is there a way to not include the off-stage elements to count as the height ?

    either hard-code that loaded swf's stage size or use code to determine that size in a frame before any off-stage content is added.

  • How to control timeline sound of external SWF

    Hi All,
    Basic Intro:
    I am new in Action Script and trying to create a video tutorial framwork. In this I have lots of animated SWF files in all the files I have multiple scenes as those are 5min. to 10 min. each and all the files have the relevent background and nurration voice place directly on the TIMELINE frame by frame to match lip syncing animated chreactors.
    My file structure :
    Login.swf with login box is embedded into the Index.html
    After logged in it will load another SWF which is Control panel.swf
    3. Controlpanel.swf has the controls to control the loaded external swf files i.e.: Chapter menu, Play, pause, replay, volume-bar, next and previous buttons.
    By Default Controlpanel.swf will open chapter1.swf as soon as user logged in so no one need to open 1st file.
    Here user can navigate to other chapter swf file through Chapter menu or Next and Previous buttons.
    All files are loading and playing properly, here I am trying to control the animation and Sound both at a same time with Pause, Play and Replay through relevant buttons.
    Problem:
    By pressing “Pause button” animation stops but not the sound. Sound remains playing, and if I replay the swf by “Replay button” than animation restarts but sound also restarts that overlaps already playing audio.
    Question: So could anybody help me finding out how to:
    1. Pause the sound with animation by the same click of Pause button, and
    2. Stop the sound with animation by the same click of Stop button, and
    3. On replay it should stop playing the previously running audio and restart it with the animation like fresh loaded file, it should not sound overlapping.
    Constraints:
    Here I am using the sound file on the same time line of each individual swf file which I cannot add into any single movie clip because all the chapter swf file are having multiple scenes in it.
    For my problem I have already done a lot of browsing online in various forums and didn't find the solution. So here I am sharing the complete information regarding the project and wishing to get some good solution out here but if I missed any helpful information please ask me anytime and please help me to quickly find out the solution.
    Thanks a lot to all of you in advance to help me.

    create one global sound variable
    you can write when you are pressing pause button
    globalsoundvariable.setVolume(0)
    to play
    globalsoundvariable.setVolume(100)

  • How can I retrieve the scroll bar in Home applications using OS 10.6.8?  I don't have a general section after clicking on System Preferences.  Thanks.

    I have deleted the scroll bar twice in 4 years and I still don't know how to set it back.  Please help.

    hi Samberl
    thanks a lot for the fast reply.
    I was dragging folders from main folders on the laptop-desktop  onto the external drive icon - to copy them across....
    Your suggestion sounds very promising -  I didn't know about 'cloning'.
    Yes the idea is to backup the laptop -    I thought I would just move it all now, new - and then keep saving/dragging physically   across to the new drive myself each day or two...
    Would this be the sizeof the internal hard drive = c.500 gb  ?   =   under the HD icon on desktop is written  : 
    " 499.76gb , 311.5 gb free  " 
    I can erase and start agin on the new external drive - so this plan is to make two partititions, rather than the one at present, and make one of them 500 gb ?
    I have found CCC [carbon copy cloner] googling - looks good.
    When CCC site says it backs up  the hard drive - would this  mean all my files  [over 100 gb] that are mostly  in folders on the desktop, plus the others in itunes, iphotos etc found in the HD icon,  would all copy across successfully [wherever they are in the computer ]  ?
    thanks again, hope you can clarify these things and then I will go for it. 
    It would be great and amazing if this 'lack of permission' message doesn't show up in the process of doing this ccc transfer - hopeful!
    Julie

  • Trying to create a text item with a scroll bar in Indesign 5.5

    Is there a simple way to create a scrollable text article in Indesign 5.5? It will later be exported to a SWF as a mini-flash web portfolio.
    I would appreciate any help.
    I'm new to Indesign.

    quote:
    Originally posted by:
    wildfire121
    Can someone please help. I am trying to create a text box
    with a working scroll bar that will scroll the text in the text
    box. Can someone please help me with this?
    Do you mean a text box people can type in (for a Web form
    entry) or one for displaying your content?
    If the first, then you use the textarea tag and scrollbars
    appear when the user types more lines that you specify. See the
    textarea
    description at W3Schools.
    If the second, then that's usually done in Flash, but can be
    done with CSS. See these two pages:
    Dynamic
    text with scrollbar (Flash)
    Textbox
    with scrollbar (CSS)

  • Scroll Bar problem - BI Iview

    Hi,
    I've created a BW iView and added it to a Page which is attached to a Role.  When I execute the page on the portal , I get get a 2 vertical scroll bars one for the ivew and one for the external page. But the Horizontal scroll bar is hidden below. I have to scroll down to the bottom of the table to see the horizontal scroll bar.
    I would like to have the Horizontal scroll bar visible always ... How to do this..?
    Thanks

    You need to make sure that the iview containing the BI web app is tall enough to hold the entire app.  The first thing I would try is to increase the actual and maximum height of the BW iview.  Getting rid of those multiple scroll bars can be tricky.

  • Scroll bar problems

    I have several text boxes that pull text from external text files. I drag and instance of the UIScrollBar into the text box and it snaps to the right side just fine. When I test the movie in Flash, the scroll bars work fine. When I test off the server with Firefox, you can see the scroll bar but you cannot use it. It looks similar to a scroll bar in a text box without enough text to scroll, but I have plenty. When I use IE, the first time you visit a page it is the same way. If you click on another page, then navigate back the scroll bar will work. Like I said, I drug out an instance and named them. I've looked through several books but can't find any answers. Thoughts?

    You probably need to use the update() method of the UIScrollbar after the text is assigned to the textfield.  In some cases you can get away with it when testing locally, but in the case where the data file can take an amount of time to load, I've found it necessary to refresh the scrollbar using that method.

  • Trouble loading external .SWF into my main page with preloaders

    Dear All,
    I am working on my first Flash project with AS3.
    The structure of the flash site is pretty simple. I have a
    stage 1165px wide x 710px height
    Inside my Stage I have an horizontal bar with a menu followed
    by a container right under.
    **** My goal
    is that whenever I click on one of the button on the menu, that the
    related external .SWF loads into
    the container with a preloading bar and %. *****
    I already did all my .SWF files and it is pretty frustrating
    at this point to be stuck at this point of development.
    Please help.
    -Alex

    Visit gotoandlearn.com. There is a video tutorial there
    regarding preloading that should answer most, if not all, of your
    wonderings.

  • Tracing loaded external SWF bytes

    I have a file that loads 13 external Swfs into a shell. When
    they are all loaded, the shell plays the files in succession. That
    works fine, but I a trying to show the progress of the loading
    process, but the flash pretty much freezes until all of the files
    are loaded then jumps my progress bar all the way to the end.
    Basically, nothing is allowed to happen until the scenes are all
    loaded completely. I can't even put a revolving animation on the
    main timeline to display until the files are loaded. The animation
    just sits on frame one until all the files are loaded, then starts
    to play, which defeats the purpose. Is there anyway to pause the
    code until the first movie is loaded, hten move on to then next
    movie load or a way to concurrently display bytes loaded while the
    file is being loaded.
    var courseArray:Array= Array("Scene1.swf", "Scene2.swf",
    "Scene3.swf", "Scene4.swf", "Scene5.swf", "Scene6.swf",
    "Scene7.swf", "Scene8.swf", "Scene9.swf", "Scene10.swf",
    "Scene11.swf", "Scene12.swf", "Scene13.swf");
    startup = function() {
    this.createEmptyMovieClip("scene"+(i+1), (i+1));
    this["scene"+(i+1)].loadMovie(courseArray
    for (i=0; i<13; i++) {
    startup();
    //****Jumps progress bar 1/13th of the way each time the
    loading code happens****
    this.progressBar.gotoAndStop(_root.progressBar._currentframe+(int(100/13)));
    The code all seems to happen immediately because the
    progressBar jumps all the way to the end right away, but the flash
    freezes until the files are completely loaded. Can I pause this
    code until each individual file is finished loaded, then run the
    next loop?

    That is what I am asking. What would be the code? I already
    had code that counted the .getBytesLoaded(), and would move the
    progressBar based on what percent of the .getBytesTotal(). Like I
    said before. The progressBar would just sit at 0%, then jump to
    100% when the movie finished loading. The flash would just hang up,
    then jump all the way past when done loading. In the code I have
    below, it is supposed to jump the Progressbar 1/13th of the way
    (because I have 13 files being loaded) each time through the loop,
    but that doesn't work either. It just sits on 1 then jumps to 100
    when the files finish loading even though it should do it in
    progression through the loop.

  • Bring loaded external swf to the front

    Hi,
    I am now implementing to create a website using side scrolling platform game approach. Since the player/actor (character that moves according to keyborad events) should always be at the top layer, I am having difficulties to get my loaded swf on top of the player. I am currently using Flash cs6 (as3).
    Basically, in my main stage, there are 3 layers. 1 for actionscript, the scond one for player and lastly for background.
    Layer player contains player mc and background mc.
    Background mc contains visual and collisions layers.
    Anything that got to do with visual, i have to put it in visual layer.
    In visual layer i have backgroundcontainer mc
    So, as i put the button in the backgroundcontainer mc to call the external swf, the loaded external swf appears in the container.
    (I am using load/unload snippet code to call the external swf)
    I want the external swf to appear on top of the player.
    for (var fl_ChildIndex_2:int = 0;
            fl_ChildIndex_2 < this.numChildren;
            fl_ChildIndex_2++)
        this.getChildAt(fl_ChildIndex_2).addEventListener(MouseEvent.CLICK, fl_ClickToBringToFront_2);
    function fl_ClickToBringToFront_2(event:MouseEvent):void
        this.addChild(event.currentTarget as DisplayObject);
    Any help would greatly appreciated 

    If you want an object to move atop all others you can just use addChild(thatobject), where thatobject is the item you want to move atop anything else.  I don't know what object(s) your loop is attempting to act on, but it appears to be trying to change the index of all child objects rather than just one.

  • Button from External SWF to Play Movie in Main SWF

    Hi Guys,
    Ok I'm working in Flash 8, Action Script 2;
    I'm building a website, in which the 'Gallery Page' has a link to an external swf file, which is a scrolling clip of thumbnails.
    What I want to do, is create each thumbnail into a button, which will then play a Movie Clip from a frame located in the Main swf file.
    (So basically, each thumbnail button is a small photo, will play that photo in a large scale as a movie)
    eg.
    thumbnail1_btn  needs to go to main swf and play movieclip1.mc, frame 1
    thumbnail2_btn nends to go to main swf and play movieclip1.mc, frame 2
    I'm unsure of the code for this? Or if I've built this up wrong?
    If someone could help me out, that would be great!

    If you haven't set _lockroot on the loaded SWF, than a simple _root call from the loaded SWF will talk to the main SWF.
    IE:
    on(release){
    _root.gotoAndPlay(1);
    If you did set the lockroot, then call the level directly, via:
    on(release){
    _level0.gotoAndPlay(1);
    Once on the root level, you can access a movie clip as normal.
    So:
    on(release){
    _level0.movieClip1.gotoAndPlay(1);
    will call the movie clip "movieClip1" which resides on the timeline of _level0 (which is main.swf in your instance), and tell it to jump to the first frame and start playing.

  • Both main movie and external swf preloader - confusion!

    Hi there!
    I have a webite with my main movie (88kb) and an external swf
    soundloop (1mb). I made a preloader, but it only loaded the main
    movie, meaning that after the intro, the soundloop would not start.
    I loaded the soundloop onto level 1, and then tried to make a
    preloader with this code (I thoguht it worked but it really was a
    total guess).
    stop();
    this.onEnterFrame = function() {
    bl = _level1.getBytesLoaded()+this.getBytesLoaded();
    bt = _level1.getBytesTotal()+this.getBytesTotal();
    if (bt<=0) {
    bt = 99;
    bar.gotoAndStop(Math.floor((bl/bt)*100));
    if ((bl == bt) && (bt>0)) {
    delete this.onEnterFrame;
    gotoAndPlay("Intro", 1);
    Now when I test the movie, everything loads, but when the
    soundloop is loaded after the intro, the preloader movie clip
    appears and starts playing and repeating itself!
    How on earth do I get rid of this?! You can see the problem
    here:-
    http://www.vanitee.co.uk/princess.swf
    Thanks in advance

    Please! Still in great need of help. Have tried all sorts
    =(

Maybe you are looking for

  • How do I get SWF files to open in Flash Player?

    Currently they have no program associated to the extension. When I try 'Open With...' I cannot find Flash Player at all and opening in IE causes a loop between opening an IE window and the 'Open File, Save File, ect' window. I'm currently running Win

  • Power problems and a question about Zen support respo

    I have a Zen Micro 8gb player and unfortunately I can now be added to the list of users with Battery/charging issues. I've tried all the troubleshooting steps I can find here and none resolved my problem. Resetting does not help, nor does charging vi

  • F110- Foreign invoice paid by local currency.

    Dear Guru, We've set up all stuffs in FBZP but happened to see one small issue. In case of foreign currency invoice, running F110 to the end we have payment document in foreign currency. But our client wants to create payment documents in local curre

  • Need Help on Date Format in Apps

    Hi, I am getting error message ORA-01861:literal does not match format string. My concurrent program has 5 parameters. one of this is Date datatype. I have attached FND_STANDARD_DATE value set for that parameter. when i submit the concurrent program,

  • I had the Hard Drive contents transferred to a new Desktop via the Genius Bar

    but I forgot to ask them if they then wipe that hard drive so I can sell the old one.  Does anyone know off hand if this is something they do or if they leave all the data on?