Flash pro and flash builder: difference of resolution

I have already developed with flash pro for Android (Actionscript 3 - android 2.3.3 - Air 2.6). I try to use Flash Builder (for more developer features).

But with the same code (an example of Véronique Brossier book) I can not get the same result.

With flash pro, my three sprites are 150, 350 and 550 pixels high.

With flash builder, they run over 350, 550 and 750.

I'have the same result on my device (Galaxy score) or imitated a.

Flash pro I can specify the height and the width of the stage. I did find the same settings in flash builder.

What could be wrong in my process?

the main code is here:

public void FirstApp() {}

the constructor code

var callButton:Sprite = createSprite (0xFF3300, 100, 100);

callButton.addEventListener (MouseEvent.CLICK, callMe);

addChild (callButton);

var textButton:Sprite = createSprite (0x0099FF, 100, 200);

textButton.addEventListener (MouseEvent.CLICK, textMe);

addChild (textButton);

var mailButton:Sprite = createSprite (0x00FF11, 100, 300);

mailButton.addEventListener (MouseEvent.CLICK, mailMe);

addChild (mailButton);

}

function createSprite(hue:int,_xPos:int,_yPos:int):Sprite {}

var tmp:Sprite = new Sprite();

tmp.graphics.beginFill (hue, 1);

tmp.graphics.drawRect (PosX, Posy, 200, 100);

tmp.graphics.endFill ();

tmp.x = xPos;

tmp.y = yPos;

return tmp;

}

Yes, it is preferable to calculate the dimensions according to capabilies device to accommodate devices with different sizes and screen different portrait/landscape orientation.

> I try to play with the StageScaleMode value without success. I would get the same result as in Flash pro. Flash pro, I specified the width and height of my internship and I asked an application "full screen" in the settings. Yes, wathever device I use, the application had the same look.

Do you know if there is a way, in flash builder, in order to obtain this behavior?

The value default StageScaleMode SHOW_ALL in this case if doesnot display of the device is the size of the scene that you specify in Flashpromanager.new, the content would be to evolve upwards or downwards in order to show all the content of the scene. This may show the borders if the proportions of the scene is not the same as the aspect ratio of the screen of the device.

If you set it to StageScaleMode.NO_SCALE none of your content would be to evolve which explains why you see small Elves.

To make it look like Flash Pro, in the SWF meta data tag, enter the height and identical width of Document Pro Flash width and height.

together left-align at the top that you already do but let the StageScaleMode SHOW_ALL.

Tags: Adobe AIR

Similar Questions

  • What is the difference between flash and flash builder professional?

    I want to create simple 2D flash games for computers.

    What is the best for this, and what are the advantages and disadvantages of each?

    They both use actionscript 3?

    -Thank you

    they use as3 and have the same script function.

    Flash offers more artistic freedom / drawing while flash builder has more components pre-integrated.

  • Maximum activations exceeded CS6 Master Collection and Flash Builder Premium 4.7

    I have reinstalled my OS on my MacBook Pro without disabling my CS6 and Flash Builder programs and now I can't turn it back on. I have soap operas for the Master Collection 5.5 and 6, as well as Flash Builder Premium of 4.7. How can I get the old activations removed from my account?

    You need to contact Adobe support via chat and ask them to reset your activations

    To the link below, click on the still need help? the option in the blue box below and choose the option to chat...

    Serial number and activation support (non - CC) chat
    http://helpx.Adobe.com/x-productkb/global/Service1.html ( http://adobe.ly/1aYjbSC )

  • Flash Builder looks blurry on Macbook Pro with the retina display

    Hello

    Interface Builder Flash looks blurry on MacBook Pro with the retina display.

    Here is the screenshot:

    http://i.imgur.com/qMmmu.png
    

    Enlarge the image in actual size and notice that the interface of Flash Builder looks blurry.

    Please solve this problem.

    Andrey

    I had the same problem - could not believe my eyes on how horrible and blurry Flash Builder looked on my new Macbook Pro w retina.  Through she had suffered since last week and have just discovered this work around that someone figured out for Eclipse that also works on Flash Builder (guess b/c it is built on Eclipse).  Here is the link to the bug report that shows the work around (thanks to Brad Hudgeons):

    https://bugs.Eclipse.org/bugs/show_bug.cgi?id=382972

    Here is a cut and paste from the bug report in the case of the above url is deleted:

    Here's the workaround:  Do "Show package contents" on the Eclipse.app.  Edit Contents/Info.plist.  Just above     Place this:  NSHighResolutionCapable 
    

    Instead of Eclipse, display the contents of the package on Adobe Flash Builder 4.6.app.   After you change the Info.plist file, go to the Adobe Flash Builder 4.6.app and reproduce.  It will create an Adobe Flash Builder 4.6 copy.app.  Delete your original Adobe Flash Builder 4.6 and rename the Adobe Flash Builder 4.6 Adobe Flash Builder 4.6.app copy.app.  Then launch Flash Builder - you should see the text which is much clearer.  The graphics on the user interface are still unclear but at least the text should be crispy.

  • Request for information on Flash Builder and augmented reality.

    I'm sandrine from the India. I'm with knowledge of Java software engineer, Flash ACE and OOP are understandable for me. I'm working on a project of augmented reality. I am completely new to Flash, Adobe community and I have a few questions about the augmented reality and Flash Builder:

    1 flash Builder 4.6 comes with a default Flex SDK of 4.6. However, Flex SDK of 4.6 was not allowing me to compile and run sample files. So I downloaded the version of Flex 4. 0a on Adobe.com. Now, the examples are works well, but is there a problem if I try to deploy these projects in a website or a desktop application? Once the code is compiled into a swf file, the used flex framework doesn't make much difference, it?

    2. the project of the ATR would actually on a Web site, given the different speeds of internet/processor in the world? The effectiveness of the AR project, deployed on a Web site, will depend on the number of triangles in 3D models i.e. files dae? Because according to my understanding of the heavy models means more time to download the flash app in the local browser of the internet and more time to make them by the right papervision 3D engine?

    3. can we develop a stand-alone application of the AR Office using Flash Builder? Using Adobe AIR, we can, I guess. Please see a tutorial, if possible.

    4. I have seen that we can implement multiple-marker-tracking AR the use of vectors/tables in As there performance problems according to the size of the used arrays/vectors.

    5. can you someone please mention some tips to improve the performance of an application of the AR (desktop app and web app)?

    6 What would be, approximately, the cost of the FLARManager, FLARToolkit commercial versions, if you have an idea? I went to their site, but they did not mention costs.

    7. hardware bitmap for models dae withdrew down performance web app/mobile app/desktop app, with some models of dae 4 to 5 in the scene?

    8 is it advisable to use multiple markers with several models of dae or unique marker with the option of the Flash interface to load different models on the same mark?

    It would be very helpful to me if someone could answer my questions above.

    Sarat.

    #1, if it compiles then you don't have a question. There is no reason at this stage do not use 4.6. It should group a runtime in captivity to ensure that computer users won't need to have AIR installed at all.

    #2, Papervision is old. Use Stage3D or a wrapper framework. With regard to the generic "if I download a lot of data will take the user more time to load ', so, of course. Just do not do loading the painful experience. Entertained while they way or ways to display data more sooner rather than later. If it is desirable on the web has more to do with the context of the application and the device displays. In other words, a phone user could find it is easy, but obviously not a desktop user.

    #3, certainly you referring to Google on this one.

    #4, size still matters, that's common sense. You treat, the more difficult it is. While I did not AR I used the Microsoft Kinect SDK and DONKEY and follow-up was very fast but limited. From what I've seen and your basic built in equipment management and on no matter what mobile device you shouldn't have much trouble. Depends on what you are doing.

    #5, this discussion would be much too large for a forum. You must consult a firm experienced in the development of the AR.

    #6, ' applications using commercial license do not have to provide the source code, but must pay a fee. " Contact ARToolworks at the [email protected] for more information. " They will be your base price on your product, there is no single price.

    #7, models could be huge, complex or tiny and simple which changes the answer. See the answer to #4. Ultimately most people get on fast networks with mobile and excessively fast on the Office WLAN. Size matters a lot less than 3 years.

    #8, it depends on what you are doing. You have to explain it.

  • Flash pro CS55 vs. Flash Builder 45

    Dear Adobe community,

    I'm a programmer Flash Pro (AS3) for some time, but since the advent of the Adobe Air for Android and iOS this year, I saw increasing the amount of movement in the use of Flex and Flash Builder 4.5. For moderators/experts Adobe as well as community members, what in your opinion and your experience, are the benefits of a stay with Flash Pro to develop mobile applications with the help of Flash Builder 4.5?

    Thank you for your advice,

    Alex

    I love Flash Pro.

    If you want to do something that is more about the components and fluid patterns, the same application can be published quickly for different screens on the web, iOS, Android and PlayBook, then perhaps that Flash Builder would be good. Especially if you like more technical IDEs and most of what you do is AS3 code based package.

    If you are more on the use of components, graphics, animations, and completely free ways of working (even if you work with AS3 package approaches if you want), then Flash Pro is always a lot of fun to use.

  • Flash 8 Retail Pro and educational version

    Does anyone know there is a difference between flash commercial pro and versions of education? I have the latter and seem to lack the Profiler of bandwidth with the download settings, quality and simulate the download tab, someone knows why?

    Mac: apple + B
    PC: control + B

    I think its just hidden

  • Flash Builder 4.6 for PHP and SDK 2 questions

    I have problems with Flash Builder for PHP 4.6 and the Playbook Air SDK 2.0. It worked fine with the Air SDK 1 Playbook, but for 2.0 he moved not (error integration with Flash Builder) and when I try to update in Flash builder I get an error of missing requirements. Flash builder 4.6 works fine with the PlayBook SDK, but not the PHP version. I bought the PHP version after the end of my trial of 4.6 so I could build an app that tied in the server services and to think that both versions are the same.

    Everyone knows this and is at - it a solution?

    Thanks in advance.

    Hello

    Flash Builder for PHP 4.6 is not supported by the BlackBerry Tablet OS SDK for Adobe AIR. Sorry for the inconvenience this has caused.

    Dustin

  • Flash Builder 4.7, Flex 4.9.1 and AIR 3.4 for Playbook?

    Hello

    IM, develop an application using Flash Builder 4.7, Flex 4.9.1 and AIR 3.4 for multiple platforms. My question is when I deploy to Playbook, is mentioned the configuration can cause problems or not?

    What should I do to ensure that my apps running on the playbook and other devices too! using Flash Builder 4.7

    Thank you

    PlayBook (and BB10) currently only supports AIR 3.1.

  • Packaging and signing in Flash Builder Burrito using 0.9.4 SDK

    Hey guys. I know frankly, there are 1 million post on the forums about this, but I wanted to be sure and had a few questions myself. Good so I used Flash Builder Burrito to sign and package my request. My app is a Mobile Flex Application and I use 0.9.4 SDK. I used the MANY post on this forum through signature and methods of packaging and it worked perfectly, no errors at all. The two files that I got after conditioning and signature was my apps .bar and bar.sign files. I saw in other post to extract the .bar file to see if its signed and if the icon is there. How do you do this will WinRAR or PowerISO to extract this file type. I fear only because all Iv seen post are all saying theres tons of bugs with the packaging and signing using burrito, but all I could see was that they were using the SDK 0.9.3. Should I have a problem with my .bar file? I don't know how to extract my .bar file to view the contents, so I can at least check to make sure that it is signed and packaged properly. Can someone me another message or an article on how to extract the .bar file and check to make sure that its all good to present, RIMM. My previous version was rejected of RIMM is not signed and sent the Bug of version. I have just re-climbed the .bar I got to use the new SDK and had no errors, so I hope this is right. Anyway thanks in advance and any help would be great.

    The .bar file is just a zip file.  It will work any util that allows to read a zip file.  If you need to rename the .bar to a zip file, which is OK, but be sure to rename it before upload.

  • Burrito of flash builder design mode is a white screen and does not not all components

    Hey guys, for some reason none of my components appear any, when I go to design mode in flash builder burrito, and the screen is white. When I run the app, it works very well and seems very well my only problem is that I don't understand what is happening in "Design Mode". Someone has a similar problem to this, also, I don't get any errors about not being not able to load the design view just a pop-up that says that it takes a while to load and to continue or not. The only time I see a component is when I go to the source and highlight a component then go into design mode, then u see a blue outline of the component. You can see in my screenshot above. Any help would be great, thanks in advance.

    Thanks again,

    Brian

    Design mode does not work if you include qnx libraries in the path of the libraries due to a bug in FB, there is a flag to uncheck (qnx libraries) in the project to BBT properties

  • Flash Builder 4.5 and Tablet OS SDK Install Help!

    Hello

    First of all, I note I made an honest effort to find a solution in the forum and I tried to get this to work for hours.

    For some reason, the Tablet OS SDK does not appear in FlashBuilder (final) 4.5.  I did the following steps:

    1. Installed Flash Builder 4.5 (final)
    2. Installed Tablet OS SDK 1.0.2 Select YES to integrate with Flash Builder.
    3. Open Flash Builder as an administrator
    4. File - new - project Actionscrip Mobile.  Select Flex 4.5, Blackberry OS, finish.

    After all this, not found Flashbuilder qnx components (for example, when typing import, the list that appears does not qnx).

    I have a lot of tablet OS applications that I need to put in Flash Builder 4.5.  I've updated to 4.01.  Help, please!

    Thank you

    ~ Nick.

    Include the qnx_screen.swc of the tablet os sdk in the project's build path.

    This should solve.

  • Wait on Flash Builder 4.5 and other stuff

    Initially, I wanted to ask a question, but after trying to find information on when FB 4.5 will be communicated, I came across a little information.  I hope someone rim reads this.

    Can anyone confirm if the final FB 4.5 will allow the use of design with the libraries of qnx?  It has been said in this post, he does.

    While I was trying to find that out I came across this little nugget on Adobe 4.5 FAQ:

    Flash Builder 4.5 now requires AIR 2.6 for mobile applications. RIM plans to deliver an over-the-air update for AIR 2.6 later in 2011, allowing developers to then use Flash Builder 4.5 for PlayBook application development. This means that developers will be able to recompile applications built for Android at that time for deployment to the BlackBerry PlayBook.
    

    Anyone know when this might be?

    I am mainly interested in can quickly access my screens with actionscript, mxml and design mode and use or C++ for complicated stuff.  Currently the design mode does not work and I'd rather not have to wrap each qnx component that I want to use so it will work even in mxml.

    Currently, we have not shared a release date for future updates to the runtime LOOK on the PlayBook. I can tell you that we are working on it well.

  • App packaging and Code-signing (Flash Builder Burrito)

    Hi guys,.

    I would like to know if the function "export version Release" (the tab Flash Builder project in the top menu) does not work correctly or if I should use the command line for the packaging. I see that my .bar includes the META-INF / "MANIFEST. MF' it's supposed to get generated only after the signature of the app.

    Thank you

    Hi daniel,.

    Yes, you should always use the tools of command line to package and sign your applications. There is a bug in the IDE that prevents it to properly sign the app here is a thread that can help you with the signature of the command line:

    http://supportforums.BlackBerry.com/T5/Tablet-OS-SDK-for-Adobe-Air/useful-tip-package-images-via-com...

    Good luck!

  • Why not be able to display boxes of the IP and the password in the configuration of run/debug in Flash builder

    I'm trying to get the HelloWorld application to work, but I can't find the IP address and the option of setting the password for the simulator of tablet in the run/debug configuration. It should be in run/debug configurations, but it's not.

    I already have the Simulator works and correctly installed the Playbook SDK (link to version 2.5 SDK and Flash Builder). I have no error in compilation (QNX namespaces are used), I think that the installation has been correctly executed.

    Please let us know if anyone has the idea to solve this problem.

    Please see below the screenshot associated to above posted the question:

    Sometimes last discussions stressed that some dialog size is bad, and if you resize, you will see where the password field is.  Is that what you face here?

Maybe you are looking for

  • Satellite A500-1GL - software cooling question

    Not so long ago, my favorite laptop A500-1GL began to annoy me with overheating. Average temperature of GPU in State of rest was 100? (CPU - 38-40 ° C). When I tried to play the game or to view HD videos, temperature rise up to 105-107 C, then the la

  • I need to know how to enlarge the text whenever I go on the Internet

    My text of the e-mail is fine.  It is when I go on the Internet and need to look for a website that gets printing super small.  Can someone tell me how can I make bigger it?    Again, it is only when I use internet access... email and the office are

  • Synchronized picture deleted

    On an ipad, I had some Sync photos by itunes from my old computer. By mistake I have synced my device with a new computer, and all old synchronized photo´s from the old pc had disappeared. No problem I thought, that I simply return to my backup of ye

  • New iTunes installation problem on Win 7

    As indicated in the title, I am facing this problem when installing iTunes on my win 7. I tried to uninstall my previous iTunes before you run the new installer, but that didn't work either.

  • Windows XP license for home computers

    If an individual has Windows XP on a computer at home, and they get a second computer for use in their home, can I use the Windows XP license from their original computer to install XP on their second computer? Or should they buy a second copy of Win