Possibel to give stage size as parameter in html ?

I know Stage size width and length are read only, but i think
to remember that it was possible to change it the moment you call
it from html ?
No ?

Just to add my 2 pence to what was already said..
One of the rules for Robust Software is not to rely on implicit data type conversions to make things work. And that is what you are doing.
The parameter is a date type. You pass a string value. Oracle now attempts to implicitly convert that string to a date.
Sometimes it will work. Sometimes not. Why? Because it depends on things like the NLS settings of that particular sessions that governs implicit data conversions. Like what format must a string be in to be successfully converted into a date?
And relying on this, is bloody dangerous. Consider the string '12/01/2008'. One session has a NLS date format of 'dd/mm/yyyy' and the other the format 'mm/dd/yyyy'.
The result will be a successfully converted date.. but the WRONG date. And slowly and silently (no errors) your application starts to corrupt data in the database, because your code relies on implicit data type conversions.
General rule: Implicit data type conversions are EVIL! Do not use!!

Similar Messages

  • If the stage size is set to 640x480 then...

    This may seem like a dumb question, but if I set the stage to
    640x480, then shouldn't the testing of the flash piece be displayed
    at that size as well? Its almost a different size every time I test
    the file (ctrl+enter).
    What gives?
    Yes I have some clips that are larger in width than the stage
    size but should that cause the player to be opened larger than the
    specified stage size?
    Thanks for the input.

    Never heard of this problem before - do you have your prefs
    set to display your tested movie in tabs?
    Chris Georgenes
    Adobe Community Expert
    www.mudbubble.com
    www.keyframer.com
    www.howtocheatinflash.com
    ooba wrote:
    > This may seem like a dumb question, but if I set the
    stage to 640x480, then
    > shouldn't the testing of the flash piece be displayed at
    that size as well? Its
    > almost a different size every time I test the file
    (ctrl+enter).
    >
    > What gives?
    > Yes I have some clips that are larger in width than the
    stage size but should
    > that cause the player to be opened larger than the
    specified stage size?
    >
    > Thanks for the input.
    >

  • Flex Application Stage Size and Scale

    I am trying to create a Web and Desktop flex application for people who may have less than perfect vision. I would like to allow the users to magnify everything on the screen (including text, buttons, images, etc.) if necessary. I have gotten the magnification step down using the following code in the main Application
    var matrix:Matrix = this.transform.matrix;
    var scale:Number = 2;        
    matrix.scale(scale, scale);
    this.transform.matrix = matrix; // this refers to the main Application
    Of course, by doing so, the Flex Application will be too big for the Flash Player window and only the top left quarter of the application is visible. I figure the next step is to decrease the Flex Application stage size by 50% to compensate. For some reasons, I can't figure out how to change the stage size of the Flex Application so that it only occupies the top left quarter of the Flash Player window.
    Any thoughts? Thanks a lot!

    Instead of manipulating the application, why not wrap all your content inside a container with scroll bars? You can then magnify the content and scroll it.
    I'd give it a go, but I have loads of other things to do and I can't help wondering if the browser is better at magnifying content.

  • IPhone / iPad universal publish stage size

    I've tried the iPhone & iPad publish setting to publish for both devices. My code is designed to detect the stage size and layout the content differently according to the dimensions. Whenever I use this publish setting though the app on both devices only acts as if the stage size is the one set in authoring. If I set it to 1024x768, that's how big it shows up on the iPod. If I set it to 480x320, that's how big it shows up on the iPad.
    Am I missing something in my code? Even if I'm not changing the orientation, do I still need to listen to a resize event and THEN do my basic setup?

    Hi, I think the stage size is a different property from the screen size?  The stage size stays the same no matter how it is scaled within the screen, so Stage.stageWidth etc will always give the same value.
    Have a look at System.Capabilities.screenResolutionX / screenResolutionY instead.
    Hope it helps,
    Peter

  • Edit stage size without effecting elements position.

    Question.  Can you change the size of your stage, say smaller than what you started with, so that when you move your elements to the new position of the stage the motion paths do get messed up because you moved everything?
    I have a "full" page layout that I would like to cut in half but the stage jumps to a "middle" point and when I try to move all my elements, some with motion paths, it increases the distance of the path and destroys it.  I don't see any way of locking the paths to move an element and I have 23 elements with paths to move so moving each would suck.
    I know Edge is basically in Beta 24, 7 because it's still not flushed out anywhere near where it could be.  If they just allowed you to adjust the stage size by locking a region kinda like page size in Photoshop or adjusting the page like in Illustrator with cropping.
    Any suggestions or help would be greatly appreciated.
    Thanks,
    Ryan.

    Hi Colin,
    Thanks for the fast reply.
    I guess I checked fullscreen when creating the project, however, when setting fullScreen to false (and uncommenting the still commented node?!) in de descriptor file I get the following compile error:
    Error occurred while packaging the application:
    /private/var/folders/gv/gv-j1H1UFJ4olvFpGwVTVk+++TI/-Tmp-/AOT1309729499262/Box2DiPad-app.x ml(109): error 103: application.initialWindow.fullScreen is an unexpected element/attribute
    User error somewhat or bug?
    ... Rats! In case anyone messes up like me: The fullscreen node gets rewritten all the way at the bottom of the initialWindow section. So it needs to be changed there....
    Is there anyone who can shed some light on AIR 2.7 update progress?
    Thanks,
    Manno

  • Changing Stage size at runtime

    I have been poking around and not finding any info on this.
    What I want to do is change the height of the STAGE (not a
    MovieClip) based
    on which view I'm showing the customer at a particular time.
    For instance...
    I may have a thumbnail and a detail view for a product. I
    don't need a lot
    of screen real estate to show the thumbnail view, but I'd
    like to make the
    swf taller if the user switches to the detail view.
    I don't simply want to make the swf taller by default because
    I'll have a
    ton of unused whitespace in thumbnail view, which will look
    stupid.
    I shouldn't have a problem with the JavaScript to change the
    height
    properties in the HTML tags for the Flash object, but not
    really sure if/how
    to do the other part in Flash. Everything I've seen so far
    has been
    read-only properties.
    Thanks,
    Chris.

    did you change stage size?
    how can you do this without javascript?
    "Christopher Hayes" <[email protected]> escreveu
    na mensagem
    news:ee4csi$ent$[email protected]..
    >I have been poking around and not finding any info on
    this.
    >
    > What I want to do is change the height of the STAGE (not
    a MovieClip)
    > based on which view I'm showing the customer at a
    particular time.
    >
    > For instance...
    >
    > I may have a thumbnail and a detail view for a product.
    I don't need a lot
    > of screen real estate to show the thumbnail view, but
    I'd like to make the
    > swf taller if the user switches to the detail view.
    >
    > I don't simply want to make the swf taller by default
    because I'll have a
    > ton of unused whitespace in thumbnail view, which will
    look stupid.
    >
    > I shouldn't have a problem with the JavaScript to change
    the height
    > properties in the HTML tags for the Flash object, but
    not really sure
    > if/how to do the other part in Flash. Everything I've
    seen so far has
    > been read-only properties.
    >
    > Thanks,
    >
    > Chris.
    >
    >
    >

  • SCN document: 'Insert Image' greyed out at a certain stage/size

    I noticed  a similar issue likeTammy has reported in discussion/thread .Cannot insert or upload an image
    After having inserted text and several images to a draft document, the 'Insert Image' icon became greyed out at a certain stage/size.
    I did some tests following document Solution for Error: Cannot Insert Images on SCN Content, but the the behavior remained the same. Only after having deleted the last inserted image in the document > Save Draft > Edit again the 'Insert Image' icon was not greyed out anymore which is argueing for a size restriction.
    The same html coding as in the document put into a blog does not grey out the ‘Insert Image’ icon. But I found out that after clicking on the ‘Insert Image’ icon > ‘From your Computer’  tab ‘Browse’ is greyed out. Strange and argueing against a size limit is, when I choose ‘Uploaded Images’ I can select images and still  insert them into the blog.
    Does someone have similar experiences / can assist.
    Thank you, Barbara

    We have a recent discussion in SCN support.
    He has same problem. Have a look into the discussion Issue with 'Insert Image' button while creating document in SCN
    I suggest to split you document into two part as part 1 and part 2.

  • Set stage size?

    Is there a way to have the stage size change during this one
    section that is vertically longer? I'd prefer not to have the html
    scrollbar through the whole site, but I need overflow to show for
    this one page of the Flash website (website is one long timeline
    with labeled frames for each of the pages)
    Thanks to all the smarties!

    in a manner of speaking you are correct jp - you *can* use
    the onResize event of the Stage class to adjust the size of the
    stage to the browser window or table, you *can* also 'scale' the
    content of the stage through publishing and code, on-the-fly
    durring runtime in a similar manner. however that is not what the
    halo's problem relates to, he wants to change the stage only during
    one portion of the site navigation, so unless the entire site was
    built dynamically, and any other page content was present, it would
    be problematic to scale the contents 'all' to the height of the MC
    in question. a better solution for the issue as he describes it is
    to use a scrollpane window, as i'd mentioned.

  • Stage size for a Flash website?

    I am taking a beginners Flash course and our final project is to create a movie/website in Flash. 100% Flash based. In a previous course, I made an HTML site. For this project, I am recreating that website in Flash. But what should the stage size be? That is where I am stuck. I don't know what a normal Flash site size should be to fit the screen like a normal HTML site. Can anyone help me here with this please? I already know to havethe dimentions set to 100% and 100%. But for some reason, when I use Control > Test movie, it never seems to fit right. It's either crunched together to much or spread out to far to where the header and footer are partially off the screen. I've seen posts on the web from years ago that said 950x550 is the size needed. Is that still the case? Because it just doesn't look right. With HTML the page height would adjust to the content and it would automatically scroll if needed. But Flash doesn't seem to do that. It seems that you are stuck with 1 size and you have to work around it. But I don't know what size that is supposed to be. Sorry for the long rant. Just getting really frustrated. I'm using Flash CS4 if that helps any as well.

    if you want to use 100%x100% and not have your display objects resize, set your stage's scaleMode to noscale.  check the stage properties for your actionscript version for exactly how to do that.

  • Maximum Stage Size Possible in FP 10

    Does anyone know what the max size is in FP 10 for the stage?
    When I scale a swf larger than 4080 I get a black line at the
    bottom below my content. Can anyone reproduce this?

    It is true that the Flash IDE restricts stage size to 2880.
    My question is really how large does the flash player support
    scaling content?
    If I have a swf that I created in the IDE at 100x100 and then
    I open it in the player and tell the player to scale to 5000x5000
    it appears that FP 10 doesn't complain. FP 9 and earlier did
    complain by not rendering content past a certain pixel boundry.
    Flex seems to have an issue if you have a gradient set on the
    mx:application component (I haven't tested others yet), which is
    probably the issue with the 4096 single bitmap boundary.
    The crux of the matter is that I am getting artifacts on the
    screen when I scale the player to a very large size that has a flex
    swf loaded. The artifacts are not part of any content that I load.
    So either they are caused by the flex framework components or the
    flash player itself.

  • Flash CC Brush Tool abruptly stops drawing when stage size is small

    When using the Brush Tool, I'm having an issue that the stroke I'm drawing will abrupty cut off at a certain point on the screen (roughly halfway down the monitor, it doesn't relate to the canvas position or any coordinates).  This seems to happen when I have the Stage size set to a smaller size (64 x 64 pixels for example).  I've been able to reproduce the same behavior on multiple files, and on both a Windows 8.1 machine and a Windows 7 machine, both using the up-to-date version of Flash CC.  Both machines are dual monitor, I'm not sure if that plays a factor in this.
    To reproduce: 
    1.  Create a new FLA in Flash CC and set the stage size to 64 x 64 pixels.
    2.  Use the Brush Tool and attempt to draw from the top to the bottom of the screen (zoom level and position on the canvas does not matter, as long as your cursor is going from near the top of your monitor to the bottom of your monitor).
    3.  The stroke will abruptly cut off mid-drawing at a certain point on the screen, roughly half-way down.  You can continue to draw and move upwards and it will reappear when it crosses this barrier again.
    This does not happen if the stage size is set to something larger (640 x 480 for example).  This also does happen in Flash CS5 or CS6, and have only noticed this happening in Flash CC.
    This is happening using the mouse for drawing, and also happened when I tested it on a different PC with a Wacom tablet attached.
    Is this happening for others as well, and is there any fix for this behavior?  (aside from always using a large stage size)

    Hi All,
    Just want to update you all that the latest Flash CC 2014 release(14.0.0.110) has the fix for this drawing issue.
    This release also features
    * New and improved Motion Editor
    * SVG export
    * WebGL for animation
    * Variable Width Tool
    * Tweening for variable-width strokes
    * Object-level Undo
    * Export as Projector
    * HTML5 extension support
    and much more...
    To know more about what's new and exciting in Flash CC 2014, please visit
    Flash CC 2014 Overview : Animation software | Download free Flash Professional CC trial
    Flash CC 2014 Blog Post :  http://blogs.adobe.com/flashpro/2014/06/18/flashprofessionalcc2014/
    Thanks!
    Mohan

  • Stage Size Issues in Director 11

    Is there a maximum stage size in Director 11? I have set my
    stage size to be 6144 X 768, in order to span 6 monitors for a
    theatre project. I have used 3 monitors before, with no problem in
    early versions of Director. Everything works fine while working on
    the movie, but when i quit Director, I am unable to open director
    again, unless I delete all the preferences and start with a single
    monitor stage size.

    IIRC there is a legacy bitmap dimension limitation of around
    4096, so I
    wouldn't be surprised if the stage also has something
    similar.
    You could develop separate windows (MIAW files) and display
    them at
    particular locations/dimensions

  • One Size Fits All? (Stage size for best display on iOS and Android)

    I'm beating my head against the wall trying to find the one proper stage size that will accommodate all iOS devices and all Android devices adequately.
    I've been following Colin Holgate's informative posts and am using the   stage.scaleMode = StageScaleMode.NO_BORDER;  approach.
    However, I'm not sure what I should be setting the dimensions of my stage to, as the suggestions I found of Colin's seem to be prior to the release of iPhone 5 and the iPad retina display.
    Can anyone recommend a stage size that would work best in trying to accommodate the wide variety of devices out there?
    Many thanks in advance!
    Mike

    Maybe I'm missing something here, but isn't this an easier way to place a button in the top right (assuming center point is in top left of button)?
    button.x = stage.stageWidth - button.width;
    button.y = 0;
    edit: I suppose that doesn't apply to show_all. I'm used to using
    stage.scaleMode = StageScaleMode.NO_SCALE;
    stage.align = StageAlign.TOP_LEFT;
    We've done this with banners at the top and bottom. If you design a banner for a specific aspect ratio, you can do something like
    banner.width = stage.stageWidth;
    banner.scaleY = banner.scaleX;
    This causes the banner to fill the width of the screen and change height proportionately. If you want to have more control over the elements in the banner, something like
    banner.background.width = stage.stageWidth;
    var newHeight:int = stage.stageHeight / 8;
    banner.background.height = stage.stageHeight / 8;
    banner.buttonBack.height = newHeight;
    banner.buttonBack.scaleX = banner.buttonBack.scaleY;
    banner.buttonBack.x = banner.buttonBack.y = 0;
    banner.title.height = newHeight / 2;
    banner.title.scaleX = banner.title.scaleY;
    banner.title.x = banner.buttonBack.x + banner.buttonBack.width * 1.2;
    banner.title.y = newHeight / 2;
    etc
    This might not be what you're looking for at all, but I find it works well for resizing.
    When asked to convert a fixed-size iPad app to one that dynamically resized for Android devices, we found it infeasible to completely recode the app in the time required, so we mixed dynamic resizing like above with throwing lots of objects into an empty MovieClip and scaling the MovieClip to fit the current stage size. This didn't hurt performance much, even when running graphics designed for the iPad's 2048*1536 retina display on much smaller screens.

  • Edge Animate Stage size in Dreamweaver fluid grid

    I have developed an animation and have almost everything scaling and resizing acceptably in a Dreamwaevr template...except the stage.
    In Edge animate I have a stage size that is 1212px x 400px. When the animation is viewed on a PC all the dimensions are fine, but when viewed in tablet or mobile phone, the vertical height remains at 400px... which leaves an enormous gap between the bottom of the animation and the next div.
    I have set the stage dimensions to %, and have turned on the "link width & height" switch, and the stage still does not respond in vertical height.
    How can I get the stage to respond vertically with a fluid grid layout in Dreamweaver?
    I also note that every time I open up a previously saved Edge Animate file, the stage automatically opens the file at 550x400px, instead of the correct dimension for that animation, so that I have to then reset the stage size to what is correct for that animation... ..any reason this may be so?
    Thanks,
    Glen.

    Thanks for your reply. You're right about most people not resizing their viewport during a session, but unfortunately the problem exists whether the screen is being resized or not. Refreshing the screen doesn't solve the problem.
    The width of the div adjusts to the width of the screen as expected and the Edge Animate composition inside it does too, but the height of the div doesn't adjust. As the animation gets smaller to fit the width, the height of the div that contains it remains the same, leaving empty space at the bottom of the div. What is needed is for the div to scale to fit the page width proportionally. Instead, only the width is adjusting.
    So I guess I need to know if there's either a way to force the div to scale proportionally or a way to tell it to adjust to the animation that it contains.

  • JQuery width() height() always get stage size instead of div size?

    I have an Edge project with nested Symbols. In a 3rd level symbol instance, I log it's real size like this.
    var stageWidth = $(window).width();
    var w = sym.getSymbolElement().width();
    console.log(w,stageWidth);
    When it's in the creationComplete event handler, it shows the right size.
    When it's in the mousemove event handler, it always shows that div size == stage size.
    I have tried hours not to find the solution.
    What is this problem?

    Trying to use logic to locate the problem ( at least trying...)
    - if the code is placed in 3rd level, maybe the stageWidth is calculating something else than stage size?
    - if the code is placed in stage maybe the w is not targeting the right element?
    - Does it mean that during the mouseMove the creation has not completed yet? what could be the explanation for the contradictory results here?
    - maybe during mouseMove you are performing some sort of transform or modification on the element, and it makes the width equal to stage size? something to manipulate the w value after its creation?
    - maybe w is not reading the size you are actually interested to read ( like the value of w is equal to stage in reality and this is what shown in mouseMove but interestingly in creationComplete you get unequality. Assuming the  reverse scenario, suspecting the creationComplete results instead)
    - what happens if you replace mousemove to a click event?
    hope it helps, i guess this is how sherlock holmes would try to help you. not enough knowledge on creationComplete to find the flaw here...

Maybe you are looking for

  • Published URL overwrite question

    I had a published temporary site fail at 60% because (I'm assuming) I had assets that were not sampled correctly. Now that I have fixed that issue, can I publish again to the temp site that I created with my first attempt. (url address at business ca

  • Songs linked to multiple albums

    I am one of those people who look after their itunes library, making sure each song has the correct name and artist, as well as the correct album artwork. I have about 200-300 duplicated songs, but some of the songs belong to multiple abums. For exam

  • Cost diff. in % for SERVERS on Freeware Linux against whole SAP implementai

    Hi One and All, What is the % of money involved for Servers in comparisn to the complete SAP implementation cost? ex. A company spends 40% on Purchasing SAP Liscence, 20% on Implementation Partner, 20% on Servers , 5% on PC systems on which Abap prog

  • Quick question on KEYWORD Search

    Hello, Any idea how does a Keyword Search works ..Could not find any good documentation . I have an issue with customer where they are doing a key word search on 3 words and not pulling the data since all the 3 words are not matched.If we try to do a

  • Hosed?

    My nano was working perfectly yesterday. Today I plugged it into my Mac as I do every morning, and it wouldn't work--screen was stuck on "Do not disconnect" with the backlighting on. The nano would not show up either on the desktop or in iTunes. So I