Lock stage size
Hi,
I'm trying to place an externally loaded gallery into a site
but a lot of the gallery code is based on Stage.width and
Stage.height - when externally loaded it takes on the new stage
size properties of the site (larger than the gallery).
Is there any way to lock the stage size in the gallery swf so
when it loads into a holder (same size as the gallery stage) it all
stays in place and behaves itself!
Thanks in advance for any input.
D
You can lock the root, but I don't think you can do the same
for the stage.
You could just use this._width, and this._height - or
hardcode it if that
works.
Dave -
www.offroadfire.com
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/
Similar Messages
-
Lock stage size to movie's stage - What does this do?
I thought it would make the projector window not resizable,
but it doesn't.
What else could this function possibly be for? (I did figure
out how to
make the projector non-resizable, via (the stage).resizable =
FALSE. But
this seems to work completely independantly from the "Lock
stage size"
setting in Publish settings.Let me try to explain in the easiest way possible.
1. Reads the lines of the given file attached to the file pointer fp.
2. If the first three characters of the read line is '***' and the date mainted in the
block is not empty, the block date value is set to first 100 characters present in
the read file line
The above set of code would be repeated for the first 20 lines present in the file.
3. If the file date in the block is null, then it is filled with some temp value.
4. Store current year into variable v_temp_line
5. If the value present in the block date is current year then do the following:
a) obtain 16 characters from v_temp_line string starting from the position where
current year starts. Ex. Let us take this string -
ABCDEFG2006-07-07142325ABCDFS
Here current year 2006 starts at 8. so this code will result in
2006-07-07142325
b) Then it is reformatting it to the format 'YYYY-MM-DD HH24:MI'
c) Converting the date into char with the format 'DD Mon YYYY HH24:MI'
d) Stores the value
6. Closes the file
7. Calls the subroutine get_file_size if the obtained date is greater than the
calculated date.
On the whole what this code does is reading 20 lines of a file, obtains the date from the read line and if the read date is of current year, stores the value in block variables.
I hope this explanation would be useful to you. -
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 -
Hello everyone,
I was wondering if there was any way to lock the size of the screen (stage) so that it isnt able to be resized by the user?
I have uploaded my file with a stage size of 1024 x 672 to the LMS but when the file loads, the size is tiny (maybe 100px x 100px) forcing the user to expand the size of the window.
Thank youHi Stephanie,
What did you upload to the LMS? If you are using SWF-output, be sure to upload all the created files on publishing. The size is normally fixed and is stored in the HTML-file, that will call the JS-file (and apply the CSS if you are on the latest version) and launch the SWF. For our LMS I will mostly create a zipped output (you can check that when publishing) and upload it as a package, instructing the LMS to unzip and launch the HTML. That is for courses that do not need reporting, otherwise I will create a SCO.
Lilybiri -
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, BarbaraWe 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. -
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!! -
Enqueue Replication Server - Lock Table Size
Note : I think I had posted it wrongly under ABAP Development, hence request moderator to kindly delete this post. Thanks
Dear Experts,
If Enqueue Replication server is configured, can you tell me how to check the Lock Table size value, which we set using profile parameter enque/table_size.
If enque server is configured in the same host as CI, it can be checked using
ST02 --> Detail Analysis Menu --> Storage --> Shared Memory Detail --> Enque Table
As it is a Standalone Enqueue Server, I don't know where to check this value.
Thanking you in anticipation.
Best Regards
L RaghunahthHi
Raghunath
Check the following links
http://help.sap.com/saphelp_nw2004s/helpdata/en/37/a2e3ab344411d3acb00000e83539c3/content.htm
http://help.sap.com/saphelp_nw04s/helpdata/en/44/5efc11f3893672e10000000a114a6b/content.htm
Regards
Bhaskar -
MySQL lock table size Exception
Hi,
Our users get random error pages from vibe/tomcat (Error 500).
If the user tries it again, it works without an error.
here are some errors from catalina.out:
Code:
2013-07-31 06:23:12,225 WARN [http-8080-8] [org.hibernate.util.JDBCExceptionReporter] - SQL Error: 1206, SQLState: HY000
2013-07-31 06:23:12,225 ERROR [http-8080-8] [org.hibernate.util.JDBCExceptionReporter] - The total number of locks exceeds the lock table size
2013-07-31 06:23:12,242 WARN [http-8080-8] [org.kablink.teaming.web.portlet.handler.LogContextInfoInterceptor] - Action request URL [http://vibe.*******.ch/ssf/a/do?p_name=ss_forum&p_action=1&entryType=4028828f3f0ed66d013f0f3ff208013d&binderId=2333&action=add_folder_entry&vibeonprem_url=1] for user [kablink,ro]
2013-07-31 06:23:12,245 WARN [http-8080-8] [org.kablink.teaming.spring.web.portlet.DispatcherPortlet] - Handler execution resulted in exception - forwarding to resolved error view
org.springframework.dao.InvalidDataAccessApiUsageException: object references an unsaved transient instance - save the transient instance before flushing: org.kablink.teaming.domain.FolderEntry; nested exception is org.hibernate.TransientObjectException: object references an unsaved transient instance - save the transient instance before flushing: org.kablink.teaming.domain.FolderEntry
at org.springframework.orm.hibernate3.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:654)
at org.springframework.orm.hibernate3.HibernateAccessor.convertHibernateAccessException(HibernateAccessor.java:412)
at org.springframework.orm.hibernate3.HibernateTemplate.doExecute(HibernateTemplate.java:411)
2013-07-31 06:23:36,474 ERROR [Sitescape_QuartzSchedulerThread] [org.quartz.core.ErrorLogger] - An error occured while scanning for the next trigger to fire.
org.quartz.JobPersistenceException: Couldn't acquire next trigger: The total number of locks exceeds the lock table size [See nested exception: java.sql.SQLException: The total number of locks exceeds the lock table size]
at org.quartz.impl.jdbcjobstore.JobStoreSupport.acquireNextTrigger(JobStoreSupport.java:2794)
at org.quartz.impl.jdbcjobstore.JobStoreSupport$36.execute(JobStoreSupport.java:2737)
at org.quartz.impl.jdbcjobstore.JobStoreSupport.executeInNonManagedTXLock(JobStoreSupport.java:3768)
at org.quartz.impl.jdbcjobstore.JobStoreSupport.acquireNextTrigger(JobStoreSupport.java:2733)
at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:264)
Caused by: java.sql.SQLException: The total number of locks exceeds the lock table size
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:946)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2870)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1573)
at com.mysql.jdbc.ServerPreparedStatement.serverExecute(ServerPreparedStatement.java:1169)
2013-07-31 06:27:12,463 WARN [Sitescape_Worker-8] [org.hibernate.util.JDBCExceptionReporter] - SQL Error: 1206, SQLState: HY000
2013-07-31 06:27:12,463 ERROR [Sitescape_Worker-8] [org.hibernate.util.JDBCExceptionReporter] - The total number of locks exceeds the lock table size
2013-07-31 06:27:12,463 ERROR [Sitescape_Worker-8] [org.jbpm.graph.def.GraphElement] - action threw exception: Hibernate operation: could not execute update query; uncategorized SQLException for SQL [update SS_ChangeLogs set owningBinderKey=?, owningBinderId=? where (entityId in (? , ?)) and entityType=?]; SQL state [HY000]; error code [1206]; The total number of locks exceeds the lock table size; nested exception is java.sql.SQLException: The total number of locks exceeds the lock table size
org.springframework.jdbc.UncategorizedSQLException: Hibernate operation: could not execute update query; uncategorized SQLException for SQL [update SS_ChangeLogs set owningBinderKey=?, owningBinderId=? where (entityId in (? , ?)) and entityType=?]; SQL state [HY000]; error code [1206]; The total number of locks exceeds the lock table size; nested exception is java.sql.SQLException: The total number of locks exceeds the lock table size
at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:83)
at org.springframework.orm.hibernate3.HibernateAccessor.convertJdbcAccessException(HibernateAccessor.java:424)
2013-07-31 06:27:22,393 INFO [CT-kablink] [org.kablink.teaming.lucene.LuceneProvider] - (kablink) Committed, firstOpTimeSinceLastCommit=1375251142310, numberOfOpsSinceLastCommit=12. It took 82.62174 milliseconds
2013-07-31 06:28:22,686 INFO [Sitescape_Worker-9] [org.kablink.teaming.jobs.CleanupJobListener] - Removing job send-email.sendMail-1375252102500
2013-07-31 06:29:51,309 INFO [Sitescape_Worker-10] [org.kablink.teaming.jobs.CleanupJobListener] - Removing job send-email.sendMail-1375252191099
2013-07-31 06:32:08,820 WARN [http-8080-2] [org.hibernate.util.JDBCExceptionReporter] - SQL Error: 1206, SQLState: HY000
2013-07-31 06:32:08,820 ERROR [http-8080-2] [org.hibernate.util.JDBCExceptionReporter] - The total number of locks exceeds the lock table size
2013-07-31 06:32:10,775 WARN [http-8080-1] [org.hibernate.util.JDBCExceptionReporter] - SQL Error: 1206, SQLState: HY000
2013-07-31 06:32:10,775 ERROR [http-8080-1] [org.hibernate.util.JDBCExceptionReporter] - The total number of locks exceeds the lock table size
2013-07-31 06:32:12,305 WARN [http-8080-1] [org.hibernate.util.JDBCExceptionReporter] - SQL Error: 1206, SQLState: HY000
2013-07-31 06:32:12,305 ERROR [http-8080-1] [org.hibernate.util.JDBCExceptionReporter] - The total number of locks exceeds the lock table size
2013-07-31 06:32:14,605 WARN [http-8080-3] [org.hibernate.util.JDBCExceptionReporter] - SQL Error: 1206, SQLState: HY000
2013-07-31 06:32:14,606 ERROR [http-8080-3] [org.hibernate.util.JDBCExceptionReporter] - The total number of locks exceeds the lock table size
2013-07-31 06:32:16,056 WARN [http-8080-3] [org.hibernate.util.JDBCExceptionReporter] - SQL Error: 1206, SQLState: HY000
2013-07-31 06:32:16,056 ERROR [http-8080-3] [org.hibernate.util.JDBCExceptionReporter] - The total number of locks exceeds the lock table size
2013-07-31 06:32:24,166 WARN [http-8080-1] [org.hibernate.util.JDBCExceptionReporter] - SQL Error: 1206, SQLState: HY000
2013-07-31 06:32:24,166 ERROR [http-8080-1] [org.hibernate.util.JDBCExceptionReporter] - The total number of locks exceeds the lock table size
2013-07-31 06:32:24,167 WARN [http-8080-1] [org.kablink.teaming.spring.web.portlet.DispatcherPortlet] - Handler execution resulted in exception - forwarding to resolved error view
org.springframework.jdbc.UncategorizedSQLException: Hibernate flushing: could not insert: [org.kablink.teaming.domain.AuditTrail]; uncategorized SQLException for SQL [insert into SS_AuditTrail (zoneId, startDate, startBy, endBy, endDate, entityType, entityId, owningBinderId, owningBinderKey, description, transactionType, fileId, applicationId, deletedFolderEntryFamily, type, id) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, 'A', ?)]; SQL state [HY000]; error code [1206]; The total number of locks exceeds the lock table size; nested exception is java.sql.SQLException: The total number of locks exceeds the lock table size
at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:83)
at org.springframework.orm.hibernate3.HibernateTransactionManager.convertJdbcAccessException(HibernateTransactionManager.java:805)
at org.springframework.orm.hibernate3.HibernateTransactionManager.convertHibernateAccessException(HibernateTransactionManager.java:791)
at org.springframework.orm.hibernate3.HibernateTransactionManager.doCommit(HibernateTransactionManager.java:664)
It always logs the Mysql error code 1206:
MySQL :: MySQL 5.4 Reference Manual :: 13.6.12.1 InnoDB Error Codes
1206 (ER_LOCK_TABLE_FULL)
The total number of locks exceeds the lock table size. To avoid this error, increase the value of innodb_buffer_pool_size.
The value of innodb_buffer_pool_size is set to 8388608 (8MB) on my server.
In the documentation (MySQL :: MySQL 5.4 Reference Manual :: 13.6.3 InnoDB Startup Options and System Variables) it says that the default is 128MB.
Can i set the value to 134217728 (128MB) or will this cause other problems? Will this setting solve my problem?
Thanks for your help.I already found an entry from Kablink:
https://kablink.org/ssf/a/c/p_name/s...beonprem_url/1
But i think this can't be a permanent solution...
Our MySQL Server version is 5.0.95 running on sles11 -
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!
MikeMaybe 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.
Maybe you are looking for
-
Error message says: Unable to write the email to the mailbox. Make sure your file system allows you to write privileges and you have enough desk space to copy the mailbox. This message comes and goes and often will not be fixed ( although sometimes i
-
Recovery to Windows Vista problem for my Satellite A200-10X
My computer was working OK. To speed it up, I decided to reformat the hard disk using the recovery DVD provided by Toshiba. The recovery failed. I have tried many many ways but keep having the same problem i.e. the process goes into a loop. What happ
-
Problem in jdbc select statement
{{ public List dis(int getmodified,int getindex){ List outerList=null; outerList=new ArrayList(); List display=null; try{ System.out.println("testing.....3"); con=getconnection(); pstmt= con.prepareStatement("SELECT title from newss where nno >
-
CSCum57517 - ASDM launcher is not working with Java 7u51 - 1
I am running 1.7.0_51_b13 with ADSM 7.1.5(100) and I still have the issue. Bug stiill exists in the hotfix.
-
Search help on selection screen.
I have a selection screen with Report name Variant name Variant fields Variant fields is attached to a search help 'Z_Search_variant' and this search help fetches values based on "Report name" "Variant name" on the selection screen. I am using AT SEL