Smooth Scroller und Position zurückgeben Flash CS3/4

Hallo
weiss jemand wie ich die Scroll Bewegung smoothen kann ?
mein zweites Problem:
Wenn ihr das Bild bis ans Ende scrollt und den Graureiher (also der 3. Graureiher)
anklickt kommt ein nächster Frame -wenn Ihr dann wieder auf zurück klickt - landet ihr
nicht da wo ihr hergekommen seid - sondern wieder an dern Anfang-
das soll so nicht sein - es soll der Ausschnitt gezeigt werden von dem man gekommen ist.
Ich bin Newbie... wäre nett wenn ihr mir Lösungsvorschläge geben könntet
danke

Renderers must report a correct measuredHeight based on a given
explicitWidth.  You may need to override measure() method.
If the rows are so tall they don't fully fit in the DG, there may not be a
simple solution for MX DataGrid The Spark DataGrid should be able to handle
it

Similar Messages

  • Scrolling Text and Images in Flash CS3

    I am pretty new to Flash and I have spent all day trying to
    look up tutorials on making it possible to scroll text and images
    in Flash but none of them are working for me. I know you save the
    content into a movie clip but that's as far as i have gotten. would
    anyone be able to walk me through this PLEASE???
    Thanks,
    Peter

    You could use a Swing HTMLPANE or draw it all onto a
    BufferedImage and display that (code posted under 2D graphics thread).
    MArk

  • Text doesn't show, scroll bar does? using Flash CS3 Please help!

    A little background:  I made text box, typed some text, converted it to a movie clip, named etc.  Used a purchased and proven scroller component ... followed directions to the letter, including referencing/linking the files. However, when I tried to test the scroll bar .... the scroll bar appears, scrolls and works perfectly except the text does not appear.  I have tried making a scroll bar with the UIscrollbar same thing happens. I made an other attempt and put pics along with the text in the movie clip ... this time the pics appeared and scrolled, but the text still would not appear.  PLEASE HELP. I am on a deadline and can't get past this scroll bar issue. THANK YOU!

    Hi
    Thanks for the tip. I did embed the text, but still not showing. Currently, I have the text  box set to the following: Dynamic Text, Multiline, Border Around text, Anti-Alias for Animation (but I have tried all choices and embed the text each time).
    Here are the original instructions with the FTscrollbar which I followed exactly.
    1. Drag the component (FTscrollbar) from the components panel to the stage.
    2. Create a new movie clip to be scrolled:
         a. create a textfield on the scene and type in a few lines of text
         b. select the text fields and covert them to a move clip symbol having the registration point top left. (I did top right since my scroll bar is on the right).
         c. give the new movie clip an name in properties panel.
    3.Select the component of the stage and configure its parameters in the parameters panel or component inspector panel.
         a. Instruc the component to scroll the new created movie clip as the targetMovieClip
         b. Set the viewAreaHeight and viewAreaWidth
         c. set snapMode to snapToView value
         d. leave rest of parameters unchanged unless you want to adjust.
    4. Test Movie (contol/test movie)
    On the FTscrollbar, I have the targetMovieClip set to the movieclips name the only other parameters the instructions said to change were veiwAreaHeight=100 veiwAreaWidth=150 which were the defaults.  When I change this numbers the scroll bar goes away and the text still doesn't appear?  The scroll bar is 16 x 140, the text box to be scrolled is 130 x 143 and the entire flash page is 500 x 550. I am not sure what the viewAreaHeight and viewAreaWidth are for ... or if that could be the problem?  I have never had problems with scrollers but I used MX. I just recently purchased the CS3 and I am not sure what I am not selecting or not selecting but if feel it's probably something simple I am overlooking.  So any more ideas are MOST APPRECIATED. If you need more info from me to help solve, please feel free to ask. THANKS!

  • No smoothing video with Flash CS3

    Hi there,
    i trie to play some FLV over Flash CS3. Its runs perfect but
    now i have the Problem, that i cannot set the playing oder the
    video on smoothing.
    If i add in my ActionScript3.0 follows:
    my_FLVPlybk.smoothing="true";
    Than i see this message: ReferenceError: Error #1056:
    Eigenschaft smoothing in fl.video.FLVPlayback kann nicht erstellt
    werden.
    at Infoblock_fla::MainTimeline/frame2()
    I´ve installed the last Player of Flash and cannot
    understand, what i´ve made wrong.
    Can you send me please a tip, how can i resolve the Problem?
    Thanx!

    smoothing does not work on an FLVPlayback component, only on
    the Video class.

  • Datagrid smooth scrolling...

    Hi Alex/ All,
           That  was great job. You have implemented smooth scrolling for List..  Based  upon that I have implemented the same in datagrid also..But I am facing  couple of issues...
        1.  I have Item renderer Text..  With in that text I am displaying almost 90 records and it has a huge  height. Accordingly the row height must change .. But what happend in my  case is the data is overlapped on the second row.. the row height  changes to certain height. after that it is not expanding.. records are  displaying and overlapped on the second row and if it still lengthy it  displayed on the third row also... so How can I solve this issue.. The  row height must vary with the itemrenderer..
    2. Second  one is If I scroll vertically it is scrolling smoothly fine. But If I  release the mouse the scroller going to Row end position or row starting  position..
            I just want to fix the scroller position where user releases the Mouse from the vertical scrollbar...
          Can you please help me on this .. It is urgent  ..... I am posting my Datagrid code here...
    package view.components.grid
        import flash.display.DisplayObject;
        import flash.events.Event;
        import mx.controls.Alert;
        import mx.controls.DataGrid;
        import mx.events.ScrollEvent;
        import mx.events.ScrollEventDetail;
        public class CustomGrid extends DataGrid
            private var fudge:Number;
            public function CustomGrid()
                super();
                offscreenExtraRowsOrColumns = 2;
            override protected function configureScrollBars():void
                super.configureScrollBars();
                if (verticalScrollBar)
                    verticalScrollBar.lineScrollSize = .125;  // should be inverse power of 2
            override public function get verticalScrollPosition():Number
                //Alert.show("You are in vertical scroll Position handler");       
                if(!isNaN(fudge))
                    var vsp:Number = super.verticalScrollPosition + fudge;
                    fudge = NaN;
                    return vsp;
                return Math.floor(super.verticalScrollPosition);
            override protected function scrollHandler(event:Event):void
                // going backward is trickier.  When you cross from, for instance 2.1 to 1.9, you need to convince
                // the superclass that it is going from 2 to 1 so the delta is -1 and not -.2.
                // we do this by adding a fudge factor to the first return from verticalScrollPosition
                // which is used by the superclass logic.
                var last:Number = super.verticalScrollPosition;
                var vsp:Number = verticalScrollBar.scrollPosition;
                if (vsp < last)
                    if (last != Math.floor(last) || vsp != Math.floor(vsp))
                        if (Math.floor(vsp) < Math.floor(last))
                            fudge = Math.floor(last) - Math.floor(verticalScrollBar.scrollPosition);
                            trace(last.toFixed(2), vsp.toFixed(2), fudge);
                super.scrollHandler(event);
                var pos:Number = super.verticalScrollPosition;
                // if we get a THUMB_TRACK, then we need to calculate the position
                // because it gets rounded to an int by the ScrollThumb code, and
                // we want fractional values.
                if (event is ScrollEvent)
                    var se:ScrollEvent = ScrollEvent(event);
                    if (se.detail == ScrollEventDetail.THUMB_TRACK)
                        if (verticalScrollBar.numChildren == 4)
                            var downArrow:DisplayObject = verticalScrollBar.getChildAt(3);
                            var thumb:DisplayObject = verticalScrollBar.getChildAt(2);
                             pos = (thumb.y - downArrow.height) / (downArrow.y - thumb.height -  downArrow.height) * maxVerticalScrollPosition;
                            // round to nearest lineScrollSize;
                            pos /= verticalScrollBar.lineScrollSize;
                            pos = Math.round(pos);
                            pos *= verticalScrollBar.lineScrollSize;
                            //trace("faked", pos);
                var fraction:Number = pos - verticalScrollPosition;
                fraction *= rowHeight;
                //trace("was", listContent.y.toFixed(2));
                listContent.move(listContent.x, viewMetrics.top + listContent.topOffset - fraction);
                //trace("now", listContent.y.toFixed(2), fraction.toFixed(2), listItems[0][0].data.lastName);
    Thanks
    Ram

    Renderers must report a correct measuredHeight based on a given
    explicitWidth.  You may need to override measure() method.
    If the rows are so tall they don't fully fit in the DG, there may not be a
    simple solution for MX DataGrid The Spark DataGrid should be able to handle
    it

  • Datagrid smooth scrolling.. Don't want default row jump behaviour..

    Hi All,
          I am displaying large amount of data and each row contains itemrenderer Text. and this Text control displays large amount of data with in that... Whats the problem here is When we scroll vertically it goes jump into another row with showing total data.. I think this is a default property of datagrid. I just want avoid that and I need smooth scrolling of rows.. Can any one have any ideas about this.. any help can appriciable..
    Thanks
    Ram

    Hi Alex,
           That was great job. You have implemented smooth scrolling for List..  Based upon that I have implemented the same in datagrid also..But I am facing couple of issues...
        1.  I have Item renderer Text.. With in that text I am displaying almost 90 records and it has a huge height. Accordingly the row height must change .. But what happend in my case is the data is overlapped on the second row.. the row height changes to certain height. after that it is not expanding.. records are displaying and overlapped on the second row and if it still lengthy it displayed on the third row also... so How can I solve this issue.. The row height must vary with the itemrenderer..
    2. Second one is If I scroll vertically it is scrolling smoothly fine. But If I release the mouse the scroller going to Row end position or row starting position..
            I just want to fix the scroller position where user releases the Mouse from the vertical scrollbar...
          Can you please help me on this .. It is urgent  ..... I am posting my Datagrid code here...
    package view.components.grid
        import flash.display.DisplayObject;
        import flash.events.Event;
        import mx.controls.Alert;
        import mx.controls.DataGrid;
        import mx.events.ScrollEvent;
        import mx.events.ScrollEventDetail;
        public class CustomGrid extends DataGrid
            private var fudge:Number;
            public function CustomGrid()
                super();
                offscreenExtraRowsOrColumns = 2;
            override protected function configureScrollBars():void
                super.configureScrollBars();
                if (verticalScrollBar)
                    verticalScrollBar.lineScrollSize = .125;  // should be inverse power of 2
            override public function get verticalScrollPosition():Number
                //Alert.show("You are in vertical scroll Position handler");       
                if(!isNaN(fudge))
                    var vsp:Number = super.verticalScrollPosition + fudge;
                    fudge = NaN;
                    return vsp;
                return Math.floor(super.verticalScrollPosition);
            override protected function scrollHandler(event:Event):void
                // going backward is trickier.  When you cross from, for instance 2.1 to 1.9, you need to convince
                // the superclass that it is going from 2 to 1 so the delta is -1 and not -.2.
                // we do this by adding a fudge factor to the first return from verticalScrollPosition
                // which is used by the superclass logic.
                var last:Number = super.verticalScrollPosition;
                var vsp:Number = verticalScrollBar.scrollPosition;
                if (vsp < last)
                    if (last != Math.floor(last) || vsp != Math.floor(vsp))
                        if (Math.floor(vsp) < Math.floor(last))
                            fudge = Math.floor(last) - Math.floor(verticalScrollBar.scrollPosition);
                            trace(last.toFixed(2), vsp.toFixed(2), fudge);
                super.scrollHandler(event);
                var pos:Number = super.verticalScrollPosition;
                // if we get a THUMB_TRACK, then we need to calculate the position
                // because it gets rounded to an int by the ScrollThumb code, and
                // we want fractional values.
                if (event is ScrollEvent)
                    var se:ScrollEvent = ScrollEvent(event);
                    if (se.detail == ScrollEventDetail.THUMB_TRACK)
                        if (verticalScrollBar.numChildren == 4)
                            var downArrow:DisplayObject = verticalScrollBar.getChildAt(3);
                            var thumb:DisplayObject = verticalScrollBar.getChildAt(2);
                            pos = (thumb.y - downArrow.height) / (downArrow.y - thumb.height - downArrow.height) * maxVerticalScrollPosition;
                            // round to nearest lineScrollSize;
                            pos /= verticalScrollBar.lineScrollSize;
                            pos = Math.round(pos);
                            pos *= verticalScrollBar.lineScrollSize;
                            //trace("faked", pos);
                var fraction:Number = pos - verticalScrollPosition;
                fraction *= rowHeight;
                //trace("was", listContent.y.toFixed(2));
                listContent.move(listContent.x, viewMetrics.top + listContent.topOffset - fraction);
                //trace("now", listContent.y.toFixed(2), fraction.toFixed(2), listItems[0][0].data.lastName);

  • Is Vista and Flash CS3 performance issue solved?

    My performances in Flash CS3 are very poor. When I try to
    scroll up-down/left-right I got slideshow. When move the
    framecursor to view the frames I also get slideshow. Searched
    google, do the compatibility settings and the only batter thing I
    get is smoother scrolling of the code. Nothing more. Is this
    solved?
    Im running C2Duo with 4gb 800 ram with Vista x64.
    Should I go back to Flash 8?

    I have an old AlBook G4 1.67 2GB and I actually think CS3
    works great. There is a huge thread about this very issue going on
    at the moment so you might want to take a look there. I never had
    Flash 8, but MX04 also ran just fine on my laptop.
    As far as player performance, it has sped up a lot with AS3
    and Flash plugin 9. (Even if you publish AS2 for Flash 9!). I Don't
    know if there is true parity between the systems, but it is
    certainly faster.
    I've always thought it a good idea to develop on a Mac. If
    you can make your animations look smooth and good playing back in
    the Mac version of the player then you know they will look good
    across the board. I can't tell you how many sites (thankfully fewer
    these days) where I go and everything just crawls and chugs along.
    It is usually due to over high frame rates and excess transparency
    or animated raster images. (And I'm talking about the kind that
    even if it did move smoothly it wouldn't be worth it!)

  • How to make smooth scroll in muse

    I want the smooth scroll effect in my site just like this http://nexgeninnovators.com

    You can try to use anchors on page and link them to fixed positions on page, that would create similar effect.
    But if you are looking for setting up jump scrolling on page then at current stage we cannot setup this with scroll effects.
    Thanks,
    Sanjit

  • How do you build an image gallery in Flash CS3 actionscript3?

    I am building my entire website in flash cs3, actionscript3
    but I really need help building an image gallery. What I need is a
    horizontal scroll bar that contains thumbs within it and then loads
    the full size image right above the scroll bar. Anyone has any
    suggestions for books, tutorials or even safe places to purchase
    the fla that I can customize it?

    if you want help understanding as3 check:
    http://www.senocular.com/flash/tutorials/as3withflashcs3/
    if you want to purchase a custom fla that does exactly what
    you want send me an email via my website.

  • Need help with smooth scrolling of a sprite

    Hi All,
    Something that i have had many problems over the years with
    is creating the same nice smooth scrolling effect that i see on
    many sites (my scrolling always appears jerky in AS2 even when done
    on a movieClip with a high framerate - with onEnterFrame updates).
    At the moment i am building my first AS3 site, and want to
    use it as an opportunity to "do things right".
    So far i have a very simple setup that is scrolling a sprite
    that contains a series of loaded images based on the position of a
    scrollbar. As one would expect from something this simple - it is
    rather jerky.
    I tried a number of variations of using a Tween to do the
    scroll, and kill/update that tween when the mouse moves again.
    However in all cases the results were not good (multiple tweens
    seemed to still be active - so killing the tween wasn't working).
    So clearly i am doing something wrong.
    I have searched extensively, but have not come across any
    examples that seem appropriate (some predefined components - but
    that does not help me understand the fundamentals) . I have seen
    some examples that register a timer, and manually calculate the
    offset for each frame, is this the correct approach?
    Below is my existing simple (jerky) implementation.
    All help to understand how to make this scrolling smooth
    would be hugely appreciated.
    One more thing to add incase it is relevant, is that the
    contents of the Sprite are a series of jpg images loaded with the
    Loader class (although i plan on switching to using the BulkLoader
    class created by a developer in the AS3 community).

    nope. the approach for the smoothest tween would be to:
    1. initialize your parameters
    2. create your timer.
    3. add your timer's listener method when needed (when your
    slider is clicked).
    4. in your timer's listener function repeatedly poll the
    slider's position and update your sprite using the parameters
    determined in 1.
    5. remove your listener when the slider is released.

  • Smooth scrolling on moving the mouse

    Hi - in Leopard I miss a very handy feature which is implemented e.g. in Firefox: on pressing the middle mouse button I can move my mouse and the content of Firefox is continuously scrolled in a very smooth fashion. This enormously helps reading faster and it is also better for the eyes (at least for mine).
    Is anybody aware of a tool that allows me to do the smooth scrolling on a *click and move of a mouse* in any arbitrary window?
    Unfortunately, I don't "speak" AppleScript well enough, but the concept for a script is rather simple:
    * state 1: when middle mouse button is pressed, store the current mouse position and enter state 2
    * in state 2 get the current mouse position and scroll the content of the current window with a speed proportional to the difference in mouse positions; enter state 1 if middle mouse button is pressed again.
    Is anybody willing to code such a script?
    Thanks,
    Kurt

    Hi - do you mean the "scroll ball" which allows me to scroll the content of a window in any direction?
    I was not referring to this feature, as the page stops each time I have to move my finger. What I meant was a state where every mouse-movement causes a smooth (and continuous) scrolling of the content. To enter this state I can press (and release) the middle mouse button. Try it in Firefox.

  • Can't Uninstall Flash CS3 Professional

    Yes I've looked around the web and Adobe forums. There's a whole mess of things I'm trying to fix right now so I might as well start from top and keep it compact.  Scroll down to where it says "Let's recap" if you wanna get a summary of my technical issues. It may scare away some of you, but please at least someone respond. (ps all links are put here purposefully by me)
    I joined a site called newgrounds and became fascinated by flash movies there. I found a link which lead me to Flash CS3 Professional free trial download page.  I installed the program without a single problem. But after installation & restarting I couldn't find flash in there at all instead I found these (screenshot). I asked for help on newgrounds, and got advice to install CS4 instead. First I attempted to uninstall CS3, but it will only let me uninstall the Flash Player 9 ActiveX Component and not the program. I looked this up and the solution seemed to be CS3Clean Script. However I have two problems: first off I can't backup my files like recommended because the backup drive doesn't have enough room, which means 7.63GB out of 10GB is somehow being used (screenshot). If I decided to run CS3Clean Script without backing up my data I'd get a message telling me I need to install Windows Installer CleanUp Utility. (screenshot) Which leads me to my second problem.  When I run the file to install "Windows Installer CleanUp" (just downloaded)  I get this error. What does it mean? Because I am on the Administrator's account so I don't understand why I don't have privileges.
    That's all of it!
    Let's recap:
    +Can't Uninstall "Flash CS3 Professional" Trial
    +Can't use "CS3Clean Script" to Uninstall Flash unless "Windows Installer CleanUp Utility" is installed
    +Can't Install "Windows Installer CleanUp Utility" because of this error
    Minor-ish problem slightly related---> Can't back up data in case something else goes wrong!
    ps Did I scare any of y'all away yet?

    trimi-jareck wrote:
    > yes i tried this but it didn't work !
    > i still have the problem !
    Clear all registry entries manually, folders and directories
    then do the
    installation all over again.
    Best Regards
    Urami
    "Never play Leap-Frog with a Unicorn."
    <urami>
    If you want to mail me - DO NOT LAUGH AT MY ADDRESS
    </urami>

  • Import Swf file corrupts in Flash CS3

    Hi,
    I have recorded my desktop activity in "My Screen Recorder
    Pro" and export the movie as swf file. While playing it on Flash
    player 9, I found NO problem at all but when I import it into Flash
    CS3 (or Flash 8) to embed with my project the file get corrupted
    and I could see black solids squares in between. How do I get clean
    swf file which is just fine when playing in Flash player?
    Raju Sachania

    Probably because you used _root within your scrollbar code.
    If that's the
    case you can fix by setting lockroot to true, within your
    scroll bar swf.
    Just place a this._lockroot = true; as the first line in
    frame 1's code.
    That being said, it's better to simply avoid using _root.
    Dave -
    www.offroadfire.com
    Head Developer
    http://www.blurredistinction.com
    Adobe Community Expert
    http://www.adobe.com/communities/experts/

  • Flash CS3 Activation in Vista Business 32bit

    I'm posting this here since I just don't know what else I can
    do... Flash customer service seems to be clueless.
    We have a volume license for 10 installs of Flash CS3 Pro.
    We've installed 2 of these already on XP machines without any
    problems at all. Next, I tried to install it on my 32bit version of
    Vista Business. I've ran into issues here, and I had to download
    the file from adobe in order for it to install properly (it would
    not install from the DVD). In any case, I've got Flash CS3
    installed on the Vista machine.
    However, when I try to activate it using the serial number
    provided, I get an error screen that says "Too Many Activations"
    and it points me to where I can buy another key or enter a
    different serial number. At first, we thought there was something
    wrong with our license, but since then, two other people have
    installed Flash CS3 on their XP machines using the same license,
    and none of them have a problem. However, each time I try to
    activate under Vista, I get the "Too Many Activations" error.
    We've contacted the volume licensing department, and they
    decided it was not a volume licensing error and gave us a phone
    number of their tech support. We next called the tech support
    department, and after many transfers, uninstalls, reinstalls, etc,
    technical support decided it was not a technical issue and sent us
    to the activation department. We then called the activation
    department and they told us they do not deal with volume licenses,
    and sent us back to the volume licensing department!
    It seems pretty clear that Adobe has no clue how to fix this
    issue, and no department is willing to even take a serious look at
    it. On our final call to the volume licensing department, we spoke
    for a while and they told us this issue will take a bit longer to
    fix and that they will call us within two days. It has been 5 days
    now, and it seems Adobe has decided to ignore us. This is extremely
    frustrating.
    If anyone has ran into this issue when attempting to activate
    under Vista, and has a workaround, could you please post something
    about it here? Thank you very much.

    Here is a little update for anyone who may be experiencing
    the same issue...
    I was able to find the phone activation screen. In the screen
    shot I posted above, you can click next while having the first
    option selected. It will go to another screen that allows you to
    select phone activation via "other activation options" link (or
    something similar).
    However...
    I attempted to activate over the phone. The phone activation
    failed, and I spoke to a person who determined that this is not an
    activation issue. I was then transferred to the volume licensing
    department (sound familiar? scroll up), and they said they do not
    deal with activation, and transferred me back to the activation
    department. The activation department again said it was not an
    activation issue, and they attempted to transfer me back to the
    licensing department... after I complained that they just keep
    bouncing me back between the same departments, they again said that
    they will escalate the issue, and will call me back (the EXACT same
    response I received several days ago when I spoke to them). So,
    again, I'm waiting for a phone call back from Adobe which will
    probably never come. Good luck!

  • Flash CS3 - Resize HTML Window

    Ok, I will word this in a different way. I posted earlier and
    received no responses. So, I will post once again.
    I am trying to make sure that my Flash CS3 Html web page
    stays centered across various computer monitor
    platforms.
    I found this code in an earlier post and wondering if the
    code will work.
    self.moveTo(0,0);
    self.resizeTo(screen.availWidth,screen.availHeight);
    Also, how many on this forum are working in Flash CS3? I know
    it's quite different than Flash 8.
    Thanks,
    Franchelle

    I'm still not sure about exactly what it is that you want to
    do. In any case, let me explain the various options that you have
    to displaying your Flash movie in an HTML document.
    In the Publish Settings window, in the HTML tab, there are
    two settings that will effect how your movie displays itself. The
    first is titled "Dimensions" and has three options: Match Movie,
    Pixels, and, Percent. Match Movie will force your Flash movie to be
    presented in its original dimensions. Pixels will allow you to set
    an absolute size for the movie. Percent will set the movie's size
    to a percentage of the available HTML window space.
    The second option, "Scale", has four options: Default, No
    Border, Exact Fit, and, No scale. Default will show your movie
    scaled to fit the window, No Border will allow your movie to scale
    without regard to the original proportions. Exact Fit will scale
    the movie in proportion to its original size. No scale will keep
    your Flash movie at its original size and resize matte around the
    movie to fill the available space. Scale has no meaning unless you
    use either Pixels or Percent in the Dimensions option setting.
    If you want to fill the HTML window space, regardless of its
    size, then use Pixels for the Dimension option and set the values
    for the width and height to 100%. If you want your movie to fill
    the window and enlarge or reduce as needed, then choose Default for
    the Scale option. If you want your Flash movie to remain at its
    original size and the matte to fill the available space in the HTML
    window then choose No scale for the Scale option.
    There are two other options on the Publish Settings screen
    that seem as though they would be useful, but they are not. The
    first is the HTML alignment option. This can be set for Default,
    Left, Right, Top, or, Bottom. Most are meaningless. Any setting
    except Right will force the Flash movie to sit in the upper left
    corner of the HTML window if the Dimensions and Scale options are
    left to their defaults. Using the Right setting will force the
    Flash movie to the upper right corner of the HTML window.
    The second option is the Flash Alignment option. This option
    will position the Flash movie relative to matte. This option will
    only take effect if you choose Pixels or Percent in the Dimensions
    option and a Scale option of No scale.
    There are no settings in the Flash Publising Options, or
    anywhere else in Flash to set or change the size of the HTML
    window, or to position that window on the user's monitor screen.
    The size and location of the HTML window is controlled by the
    browser.
    You need to use Javascript control the browser window. This
    will only work if the end user has Javascript enabled. To position
    a browser window, you use the moveTo() function. A simple function
    to position a window might look like this:
    <script language="javascript">
    function centerWindow() {
    var thisWidth = window.outerWidth;
    var newX = (screen.width - thisWidth) /2;
    self.moveTo(newX,0);
    </script>
    window.outerWidth will return the width in pixels of the HTML
    window, including any chrome on the sides of the window.
    Screen.width will return the width of the user's screen.
    Self.moveTo(x,y) will move the current HTML window to pixel values
    in the parens.
    To change the size of the HTML window itself, you use the
    resizeTo() function. Here's a simple example:
    <script language="javascript">
    function maximizeWindow() {
    self.moveTo(0,0);
    self.resizeTo(screen.availWidth,screen.availHeight);
    </script>
    This example uses screen.availWidth instead of screen.width.
    Screen.width will return the full width of the user's screen,
    screen.availWidth will return the width minus any space occupied by
    widgets that will not give up their space.
    In order to completely fill the HTML window with your
    content, you will also need to reduce the size of the window's
    margins. You can use a simple CSS declaration in the head of the
    HTML document to achieve this:
    <style type="text/css">
    body {margin: 0px}
    </style>
    This will work for every browser, except Opera. Opera also
    pads the window object. So, you'll need to add this line to account
    for Opera users: padding: 0px.
    You can use a combination of all of these settings to size
    and position your Flash movie and the HTML window on your end
    user's screen as you like.

Maybe you are looking for

  • Discoverer with OWB generated EULs

    i configure my warehouse star schema using OWB (warehouse builder 9i release 2) and generated the EUL. the were some warnings but they were pointing to some invalid characters in the names of the objects but the import succeeded. i could see all the

  • Cannot send iMessages to one of my contacts

    I have a new iPhone 5s.  iMessages work with all of my other iPhone contacts, but one.  It worked with him intermittently and now has stopped completely.   For a few days the only thing I could do was send him Texts (which came up in green on my scre

  • PDF Form Security Settings

    How can I allow both filling in form fields AND inserting/replacing pages in a secure pdf?

  • Jdeveloper 9i check updates problem

    Hi, I wanted to update my Jdeveloper 9i with OA extension to have Junit. So I went to Help > Check for updates > and the rest of the wizard. The below is what I get: "An error occurred while getting updates from OTN. This may be due to a network prob

  • HTML Code for CD Distribution

    I have a number of folders (20) that contain subfolders with "x" number of pdf files in side each folder. I want to create a browsable list like a web site. I have created a site on the development machine which houses the files. Is there a easy way