Set specific size and position of preloader's empty movieclip on main stage

hey, just wondering if it's possible to script an external preloader's empty movie clip to be of a specific size and position on the main stage? here's the script i've got for the preloader so far:
var my_pb:mx.controls.ProgressBar;
my_pb.mode = "manual";
this.createEmptyMovieClip("Portfolio", 999);
var my_mcl:MovieClipLoader = new MovieClipLoader();
var mclListener:Object = new Object();
mclListener.onLoadStart = function(target_mc:MovieClip):Void {
    my_pb.label = "LOADING: " + target_mc._name;
mclListener.onLoadProgress = function(target_mc:MovieClip, numBytesLoaded:Number, numBytesTotal:Number):Void {
    var pctLoaded:Number = Math.ceil(100 * (numBytesLoaded / numBytesTotal));
    my_pb.setProgress(numBytesLoaded, numBytesTotal);
my_mcl.addListener(mclListener);
my_mcl.loadClip("Creative-Outrage_External.swf", Portfolio);
thanks in advance.

i could load the movies that way or if i tell my main movie to load the same preloader in an empty movieclip, instead of on the main timeline. however, this way it all looks great, but the buttons on the main timeline won't respond to user events from the external swfs.

Similar Messages

  • How to set the size and position of JFrame

    hey all,
    i have a frame and i devide the frame into three panels, i want to make the top panel the lergest and make it square. and the rest two panels in small and in the bottom of the frame.
    could you please help me to set the size and position of the jpanel
    Thanks

    If u want the bottom 2 panels to be on the same level, u can try setting ur content pane to use the BorderLayout and the adding the 3 panels to it with BorderLayout.NORTH(for the TOP panel), BorderLayout.EAST(RIGHT panel) and BorderLayout.WEST(for LEFT panel).
    Don't know if this is what ur looking for, maybe u could describe more on ur layout with a sample image or something?

  • Size and position of Finder Window at reboot

    I realize this issue has been covered, but I haven't been able to find and answer to my specific problem. Recently I have noticed that when I reboot my MacBook(10.6.8) the Finder Window opens in its default size and position.  I set the size and position as required and it maintains that setting until I shut down. The next time I boot up the same thing happens, finder window is back to the default setting.  All other settings(view etc) are OK, it's just the size/position that doesn't hold at shutdown. This is becoming a real nuisance and I would like to find a fix if possible.  I have trashed the finder.plist and that doesn't work.  Also tried some of the listed possible cures, to no avail.  Does anyone have a fix for this problem?
    Thanks in advance for any and all suggestions.

    I have been searching the internet for more information and it appears that others have been faced with this problem.
    I have found a couple of possible answers but I am not sure how to do them.
    http://forums.macosxhints.com/showthread.php?t=64059
    http://forums.macrumors.com/archive/index.php/t-119915.html
    The first link seems more relavent but I am not sure how to do what it is talking about.
    Can anyone help?
    I have recently moved from a PC to MAC and this problem is really getting in the way of my work.

  • Object Size and Position values not being retained

    Hi,
           I'm trying to set the size and position of a picture object in a report. This logo, should appear on the top right corner of the report.
    The margins of the report are Left - .79 in, Right - 0.79 in, Top - 0.79 in and Bottom - 0.39 in.
    The size of the picture object should be 1.574 x 0.79 inches.
    I have ensured that File -> Page Setup -> dimensions are in INCHES.
    I right click the logo and select 'Size and Position'.
    I set 'Y' (distance between top of object and top margin) = 0. This is to perfectly align the object with the top margin.
    Now, i set the height of the object = 0.79 inches. Ok the dialog and close.
    The strange thing happening is, when i re-open the size and position dialog, i see that the values i set are not being retained.
    0.79 becomes 0.810
    and
    0 become -0.010.
    What am i doing wrong here? How can i make sure the values i specify in the size and position dialog are  retained.
    Thanks.

    Ensure File | Options | Layout tab has the following UNMARKED!!!!
    Design View
      Guidelines
      Grid
    Preview
      Guidelines
      Grid
    Ensure that "Snap to Grid" is turned off.
    Make your grid size larger (.5 inches for example)
    What is occurring (I suspect) is that your objects are snapping to the grid - thus changing the position and possibly size due to the Snap to Grid being turned on.

  • Size and position of dialog boxes

    how do I set the default size and position of dialog boxes in the GUI editor?
    I have tried a lot of things and it don't seem to work
    thanks in advance

    I don't want to customize them, I just want them to be a specific size and place to start with
    right now they show up, either rolled up, in the upper left of my screen if I don't set the locationRelative parameter, or in the center of the screen, rolled up, if I set the locationRelative parameter

  • Can you change the units used for size and position in layout editor?

    Hello,
    In Aperture 3.4, does anyone know if you can change the units used for size and position in layout editor?  The page is set in inches, but the image size and position are given in centimetres and I would prefer to work all in inches to create custom layouts.  I can't see any way to change this.  If anyone knows how it would be much appreciated.  Thanks!

    Aperture uses the unit settings defined in the System Preferences.  Set the "Measurement Units" in the "Region" tab of the "Language & Text" preferences to "US"; the Aperture will display the Size & Position in inches, if it is the "Book" layout manager you are asking about.
    Merry Christmas!
    Léonie

  • Size and position of Safari windows

    I don't think anyone's noticed the problem discussed at the end of a thread, outlined here:
    K H N Lim, "Enlarge Window Size" #3, 01:44pm Jul 28, 2005 CDT
    It's a problem a lot of people (okay, four of us) are having. Quick summary:
    "I launch Safari, resize the window and position it at the upper lefthand corner. Quit Safari and relaunch. Initially the window stays put, but after a while, the position shifts. And keeps shifting more and more toward the right of the screen with each subsequent launch."
    I've had the same problem and it makes it hard to switch from one app to another, with Safari shifting all over the screen and refusing to remember how it was positioned from launch to launch. Any ideas what's up?

    I used to be bugged by this too. Then I saw a message from someone who suggested the following applescript (with changes to coords to match your screen size and position you want). Mine is set for 1600 x 1024 resolution on my 22" cinema display. The coords are for top left corner and bottom right corner of the Safari window.
    Make a new bookmark, i.e. press COMMAND-D
    Specify that it should go in the bookmarks bar.
    Go to the bookmarks screen in Safari.
    Find the bookmark.
    Select the name (left side) and edit it to something like Window Position.
    Select the URL (right side) and paste in (without the quotes)
    "javascript:self.moveTo(190,0);self.resizeTo(1150,995)"
    Close the bookmarks window/screen.
    Click on "Window Position" in the bookmarks bar and the window will resize to specified size and position.

  • Size and Position of a document"s window

    Why doesn't InDesign CS4 remember the size and position of a document"s window?
    This worked in all previous InDesign versions + it certainly still works in Photoshop and Illustrator CS4.

    This is an annoying problem for me too. Recently upgraded from CS2 to CS4. I use styles a lot and like to keep the palletes for them open on the bottom right of the screen. I used to reduce the width of a window of a document back so it sat to left of these palletes and it would stay this way whenever I opened it, but now every time I open a document it defaults to full screen width and so need to move the styles palletes to access the thing at the bottom right of the document window to resize it. This is very annoying. How do you set it so Indesign remembers a document's window width as well as its position? If you can't, why the hell not? Also tried this with application frame, but it has the same behaviour within the frame. Not keen on application frame anyway, still like the option-click on the desktop behind to hide the app quickly.

  • Restoring the window size and position of Disk Utility

    I took my mac-mini to a memory upgrade this afternoon, and the guy, who was testing the new configuration of my mini, started, and changed the size of the disk utility window. I hate so much if someone tweaks my personal stuff/setting in their image so much, that I could explode! How can I restore it to the default size and position? I cannot find anything about this on the net, and this is the only setting, I could not restore.

    I'm sorry, ignore that Applescript Snippet, use this one instead (make sure to open disk utility before you run it!):
    tell application "System Events"
              tell process "Disk Utility"
                        set theSize to size of window 1
                        set theNiceSize to (item 1 of theSize) & "x" & (item 2 of theSize) as string
      display dialog theNiceSize
              end tell
    end tell

  • Locking Chart Size and Position

    I have a document that contains multiple workspaces with 2 charts on every page. I can scroll through each chart and the data changes when I do so. I have set width, lenth, and position sizes and once I set them and go through a few more, when I go back, the sizes and positions have changed/adjusted on their own to numbers I didn't set.
    Why is this?
    How can I lock size and position?

    "Workspace" is not a Numbers term that I am familiar with. Do you mean "Sheet"? You say you are using Numbers for OSX, but what you are describing sounds like an iWork for iOS complaint.
    Sorry, but I don't have enough information to go on to make a suggestion.
    Jerry

  • ITunes in Vista won't remember size and position

    I just upgraded to vista, haven't had problems so far until I restarted after using iTunes for the first time... when I opened iTunes again, the window size and position reverted back to the default, which is much larger and not where I'd like it to be.
    This happens every time I open and close the program.
    Any suggestions?
    IBM Thinkpad T42p   Windows Vista   upgraded from XP

    I know this is WAY after the fact and it's not likely to get a response but it's worth trying anyway:
    I'm using Acrobat 9 Standard on XP Professional and I have the window resize problem.  Every time I open Acrobat--directly or by opening a PDF file--the window is always on my left monitor and sized so large that it almost fills the screen.  The document opens at 100% zoom by default and barely fills 2/3 of the program window as set in preferences as is "Restore las view settings when reopening documents".
    Here's the rub: this problem only started after PDFlyer toolbar was installed.
    Any ideas?

  • Controlling window size and positioning in RH8 WebHelp

    Evening all,
    I've seen a post before about controlling the size and/or positioning or RH WebHelp windows, but I haven't been able to find it again.
    I'm generating WebHelp in RH8 and at this point am using the default skin and whatever default tri-pane and CSH windows RH chooses to use.
    Question is: how do I control the size and position of these windows? Or can I?
    I suspect they're set in a .js, but don't know which one. I know I can create new windows, and if I recall correctly, I can make one for CSH and one for the classic tri-pane help display. Is this how folks typically control the windows used to display RH content? Or do they muck about in the original .js files?
    Or, and this is the more likely, am I just being too anal-retentive about this and I should just let RH do its default thing and not worry about it?
    Thanks - I'm just a bit confused here,
    Patrick

    Hi Patrick
    If you aren't working with a programmer to connect your WebHelp to an application, you really don't have much control over the placement and attributes that are used.
    Note that when you create a project in RoboHelp HTML, you have an ability to create a WebHelp window with the desired attributes. But really, all that does is configure the way a window will open if you are using something called the "WebHelp API" to open topics. As you stated earlier, JavaScript is actually used by the API to open the window.
    Cheers... rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7 or 8 within the day - $24.95!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • InDesign forgets window size and position when opening

    PC with Windows 7, CS 2014.
    I set up Illustrator so that it does not open full screen (I have a 27" monitor) so that I can have panels permanently open around the edges. Close Illustrator and re-open it and it remembers the last set window position.
    InDesign remembers the position of the open panels but opens the main window full screen every time, and it's really annoying having to resize and reposition the main window every time I load InDesign.
    I upgraded from an earlier version of Adobe CS and that older version of InDesign remembered the window size and position. Why did this change?
    Can this be fixed please?

    From the InDesign top menu have you tried going to Window/Application Frame to put the application in it's own resizable frame? That will hold the window to the same size each time you open an InDesign file.

  • I am really pisssed off at two characteristics of Firefox 4: Size and position do not stick, and view menu selections do not stick from one use to the next.

    I am really pissed off at two characteristics of Firefox 4: 1) Toolbar selections don't stick and 2) firefox window position and size settings do not stick from one use to the next.
    The Bookmarks toolbar is the selection that does not stick, and Firefox, even though I set it to the size and position I want every time I use the program, always loads flush left, full top to botton, and about 1/3 of the width of the screen EVERY TIME it loads. These two characteristics are extreme pains in the ass.

    This problem occurs on the Juno webmail site?
    I assume you are doing something different than just correcting the squiggly red underlined words. How are you spell-checking the email: using an add-on or using a feature of the Juno webmail site? If it's an add-on, which one is it?

  • Cells size and position; Can they have parameters ?

    Hello,
    Currently I have an Object
    Start Date: 1 Jan 2008
    End Date: 30 feb 2008
    I want to set-up:
    - the position of the cell depending the start date
    - the wide of the cell depending the duration
    I'm working on Crystal Report XI R2
    Thanks in advance.
    Alex

    HI Alex
    Mentioned below are the stepsto conditionally change the X position of an object
    1. Right-click the field that you want to move conditionally, and select Size
    and Position.
    2. Click the Conditional Formula button next to the X position value field.
    3. In the Formula Workshop, enter your conditional X position formula text.
    For example, to move orders that were shipped late to a second column,
    enter formula text such as this:
    If (Orders.Ship Date) < CDateTime (2004, 01, 01, 02, 10,
    11) then 4320
    Note: The number 4320 represents the new position that you want to
    define as the second column. The position is measured in twips; there
    are 1440 twips in an inch.
    4. Click Save and close to return to your report.
    5. Click OK to save your position setting.
    Crystal Reports moves objects that meet your condition to a new position, but
    leaves those objects that donu2019t meet the condition where you originally placed
    them.
    Hope it will be helpful to you.
    Regards
    Asha

Maybe you are looking for

  • Installation big problem with Officejet 8500

    My problem is the following: I have a LAN on which are connected 2 PC's with XP, 1 PC with Vista and one with Windows 2000. I want to install a printer on the router using TCP/IP and cable. The installation of the Officejet 8500 was without problem o

  • IPhone 3GS rings after 5 seconds

    This is very weird and it happens to my iPhone 3GS and my sister's 3GS. So when someone calls the iPhone, it doesn't ring immediately. It actually takes at least 5, sometimes more seconds to ring. This is a lot of time and I miss important calls. Bot

  • Route determination in shipment

    Dear All, Route & shipping conditions are not getting copied from delivery nor determined automatically in the shipment. what is missing in the configuration? Regards, SmartSD.

  • Installing Oracle8i and Designer

    I am new to the installation side of Oracle and am attempting to intsall and get running Oracle8i, Designer, Forms and Reports on my NT based Laptop (Basically the package given out at iDevelop2000 (Melbourne)). So far I have Oracle8i running but can

  • Consolidation Time in Version 9.3.3

    Has anyone experienced substantially longer consolidation times in version 9.3.3 after moving from 9.3.1? Our daily consolidation has increased from 60min to 105min after putting in the new version. The only thing we changed from the prior month othe