# Programming for multiple devices- PPI

**URL:** <https://forum.kirupa.com/t/programming-for-multiple-devices-ppi/330497>\
**Category:** flash\
**Created:** [January 30, 2013, 3:59am UTC](https://forum.kirupa.com/t/programming-for-multiple-devices-ppi/330497 "2013-01-30T03:59:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![wortic](https://avatars.discourse-cdn.com/v4/letter/w/91b2a8/32.png) [@wortic](https://forum.kirupa.com/u/wortic)\
**Post date:** [January 30, 2013, 3:59am UTC](https://forum.kirupa.com/t/programming-for-multiple-devices-ppi/330497/1 "2013-01-30T03:59:00Z")

</div>

Hello,  
How can you write a program for multiple devices? I mean devices with different resolutions. I found out there is a thing called PPI but couln’t really find a way to implement it.  
Lets say I have an object in flash with dimensions 1000x1000.  
In one of the devices I would like it to appear 500_500, in another one 400_400.  
Any suggestions?  
Thank you in advance.  
Edit: Just to make it clear, my aim is to use one flash file and get it to work on different devices without recoding.
