Iphone :: Make A Sprite With Intercambiable Images
May 10, 2011How can i get sprite thats updates the image with this interface?[code]
View 1 RepliesHow can i get sprite thats updates the image with this interface?[code]
View 1 RepliesI am very interested in applying the warp/deform effect seen in the iPhone app Wobble (it lets you define regions on a raster image and then deforms those regions as it gets input from the accelerometer or the user's touch as if they had adopted faux soft-body physics) to a game I am making, but I'm not sure how this effect was achieved. How I might program an analogous effect using Flash and as3?
View 2 Replies* I have a flash project called contact
* The document class is ContactClass
I am trying to make a sprite button with graphics and can't make it work. I have successfully added text fields so I know the path is correct. I suspected my code was correct and confirmed it should be, after reading several tutorials showing the process for creating sprite buttons with graphics. Anyway, I imported nearly every class on Earth, but certainly everything which needs to be. Stage is gray and 800x600.The graphics code by itself with appear, but not when linked to the sprite. Also, the sprite won't appear no matter what. Another interesting piece of the puzzle: nothing will trace, not even objects such as textfields which actually appear and function on the stage when I text the code.
public class ContactClass extends Sprite {
public function ContactClass() {
var home_btn:Sprite = new Sprite();[code]....
I have been looking for a beta/demo of Adobe CS5, because I saw the tutorial how to make iPhone apps.
View 2 Replieswhen I pass a sprite variable to a class to place images in it the spite doesnt display all the image as it should. It is unstable.
[CODE]canvas1=new Sprite(); addChild(canvas1);mybackground=new ClassBackGroundtile(canvas1); canvas1.addChild(mybackground);
////////////////////////////////////classbackgroundTileprivate var canvas1:Sprite;[code]...............
I'm new to these forums and just have a question that I can't seem to find the answer to.I'm building an app for a project that requires the use of mutli-touch, not neccesarily gestures butore like triggering two seperate events on differant parts of the screen at the same time.To be more specific, say i have one movie-clip that triggers an event by a mouseOver listener and anotherthat triggers an event by a mouseDown listener, is it possible to have these events trigger simultaneously when theuser places a finger on each movie clip at the same time?
View 10 RepliesI`ve read that I have to use a 114x114 icon for my iphone 4 app , but I can`t use an 114x114 icon when I publish my app
View 1 RepliesIs it possible to make applications for iPhone using Adobe Flex/AIR?
View 5 RepliesI was watching a video showing an ngmoco rolando2 level designer. He seemed to be using flash CS4 to make the maps. Would anyone know how I would go about doing this?
Just in case you need to know, I am an intermediate programmer, I know both Java and Objective-C pretty well.
I've got a stack of images.Those images are all added to a sprite container:
var container:Sprite = new Sprite();
container.addChild(img);//added in a loop
addChild(container);
Later, when I iterate through the container to remove the images I say:
for(var i:int=0;i<container.numChildren;i++)
{
var currImg:Sprite = container.getChildAt(i) as Sprite;[code].....
Only a part of the images are removed. If I trace container.numChildren I get the correct number of images to be removed.
I have two images that are externally loaded through an imageLoader I made. What I want is to have both those images loaded into a sprite (like a container) so that when I animate them, they move as one, but I'm not sure how to go about doing this...
View 3 RepliesI have abode pro 5.5 and I have made an Iphone app. my project haves 2 files with exten .fla and .swf so, how can I make iphone file?
View 4 RepliesI am using Flash Builder 4.5 to build an iPhone app.In order to display ads I plan to use StageWebView and load a webpage containing the ad code.Lets say the ad will be 320x50 pixels.So the Actionscript code would look similar to this:
adView = new StageWebView();
adView.loadURL("http://www.myadishere.com/ad.html");
var top:Number = navigator.actionBar.measuredHeight + 1[code]....
In the application I have set the applicationDPI="160" so the application is displayed properly when run on iPhone3 and iPhone4.However the content of the StageWebView looks tiny on iPhone4.If I do adView.drawViewPortToBitmapData() the bitmap's size is OK.how to make the StageWebView content to scale accordingly, so it looks OK regardless of the screen DPI?
does anyone know how to create/or have a link to a tutorial which shows how to make the iphone album flick through effect? I've seen it on a few sites (the name of which escapes me now) but basically it is a set of bitmap images that move left to right and basically skew out as they move out of the main focus.
View 1 RepliesIs there an advantage to store loaded images into a sprite?
var container:Sprite = new Sprite();addChild(container);var pictLdr:Loader = new Loader();var pictURL:String = "banana.jpg"var pictURLReq:URLRequest = new URLRequest(pictURL);pictLdr.load(pictURLReq);pictLdr.contentLoaderInfo.addEventListener(Event.COMPLETE, imgLoaded);function imgLoaded(event:Event):void{ container.addChild(pictLdr.content);}
I just finished with developing my application by Adobe Flash Professional CS5 and I wonder if this will be visible to iPhones 4 because support for Retina displays was added since CS5.5.
There is section in my info.plist:
<key>UIDeviceFamily</key>
<array>
<string>1</string>
</array>
I'm interested in developing for the iPad and iPhone, but I'd prefer not to learn Apple's whole development stack (and good golly, I sure don't want to go back to manual memory management). Oh, sure, I could learn it, but I don't have that level of commitment to the environment at this point. I've got professional experience with Flex already, so I'm intrigued by Adobe's move to make Flash/Flex compile to the iPhone and iPad. My question is: how promising of a development path will Adobe's Slider be? Are we likely to see Slider publicly available in a reasonable timeframe (Adobe: "An early mobile branch of the Flex framework is expected to be available in 2010")? Are we likely to see reasonable performance? Are there development hurdles that haven't become clear yet? Heck, is it all just vaporware? There's pretty limited information available so far, as far as I've seen, but I'm interested in people's predictions, even if they're speculative.
View 6 RepliesI have built a multi-touch application which is based on a Java EE backend and combined with BlazeDS to a Adobe Flex frontend. The application runs on a DIY-Multi-Touch which I built. Now I want to use another solution. The Adobe Flex frontend (with a multitouch library) and the BlazeDS adapter should be replaced by a solution which covers iPhone/iPad, Android and commercial Multi-Touch displays.
The problem is the iPad/iPhone, there is no Flash Player runtime (not the jail-breaked ones), but the application should be runnable also on those devices. So Adobe Flex and a Java frontend (no JVM on the iPhone/iPad) is not possible anymore. At first, starting the developing of the application it was not neccessary, to run it on Apples mobile devices, but this changed So, what can I do, using HTML5? So I can use it for Android and iPhone/iPad. But I also want to make it possible to use it on a commercial multi-touch-display and normal display with a mouse (I only have gestures for one finger, the 2-finger gestures are not neccessary). Are there any frameworks that allow this? Because I do not want to create several frontends (App for iPhone/iPad on Objective-C and a Adobe Flex for all other devices), it would be great if I can build a frontend for all devices.
I am looking to develop basic client server data application to add value to a website.
The website is .net based and opening an api such as asmx web service, json or xml would be simple.
Can anyone tell me what are the limitations - technically, what is possible with flash and also what Apple consider to be good practice.
Does anyone have any Actionscript code examples?
Can an iphone app developed with Adobe AIR (version 2.6/2.7) play a streaming sound when it is in background? Only native application can play in background? I have not found a clearly response to this question on documentation. PS: i'm using the Adobe AS3 class Sound to play a shoutcast streaming.
View 2 RepliesI know javascript, CSS, AJAX, and HTML/ XHTML. I was told to learn these in order to make an application for the iphone. Now what? What/how do I start learning objective-C?
View 1 RepliesI'm interested in building a thick client application for my existing web services that will run on the IPhone. Flash finally seems to be an option, so I thought about using Flex for client side development.
However, since flash apps are not natively supported by the IPhone, but only through a wrapper, I was wondering if these apps can persist any data. Data entered by the user should eventually be transmitted to the web service, but until then I want it to persist even if the Iphone should run out of power.
Is this possible? Or does the Iphone flash wrapper make it impossible to access the hard disk?
How to compile your flex (Flash Builder) application for Iph*ne Using Adobe Flash CS5? A User can Install an app having it as compiled binary?
View 1 Repliesi'm following Christian Cantrell guide for packaging AS3 application for iPhone, but i can't find a way to use the packager for creating an app for testing on device. I've tried with -target ipa-test and -target ipa-app-store but when i try to upload my app on the iPad, iTunes throws an error sayng that i'm not allowed.I've done a simple test using the Packager bundled width CS5 (with the same certificates) and everything gone right.
Is is possible to use CS5 Packager for Flex project ? (i know that flex isn't optimized for mobile)
I'm wondering if the flash packager for iPhone allows you to somehow save data in some kind of database maybe using Core Data or any other form? If it just allows you to export some kind of actionscript based game but doesn't allow for saving data that'd be kinda weak I'd assume so they must have a way (?).
View 1 RepliesI'm trying to create iphone apps using Flash CS5.5 and I have a doubt... I just created a simple app which plays a long sound (more than 5 min).
When the phone auto-locks, my sounds stop. If I unlock the phone, my audio resumes...
How could I do to avoid the lock, or dont interrupt the sound when the device auto-lock?
I've created my app and it works great. But when I press home button on my iphone, my app minimizes and when I open it from multitasking apps, it simply restarts. Is it possible to freeze or pause the game instead of stop?
View 1 RepliesI've made a *.swf file of the sprite sequences of 1000 images with (780 x 480) size. After that I embed this with another one class to show but every time it crushes during run time because of insufficient memory (assume that I have 2GB memory space). Which is the best way to implement such big sprite sequences in AS3 by avoiding the memory problem?
View 3 RepliesHere is a tutorial that tells you how to remove the gloss on an app in xcode. How can I do this in flash cs5? If I can't, can I do something to the image in photoshop so that it looks like it has no gloss when the gloss is applied?
View 3 RepliesI would like to play flash video in my iphone app.I'm parsing XML file and I get flash video url like this : http:[url]....
View 2 Replies