Iphone :: Flash - AIR - Make The StageWebView Content To Scale?

Jul 20, 2011

I 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?

View 4 Replies


Similar Posts:


Actionscript 3 :: Save File (mp4 & Pdf) Loaded With StageWebView To IPhone Directory?

Apr 13, 2012

I'm using StageWebView to load mp4 & pdf files in my iPhone app (Adobe air 3.2 for iOS, in Flash CS5.5)

Below is the code I'm using to load the pdf file (same code to load an mp4 file).

I need to save the file on the iPhone, so the next time the user opens the app, i'll check if the file exist I'll load it using FileStream.open(filePath, FileMode.READ);Is there a way to save a file loaded using the StageWebView? [code]...

View 2 Replies

IDE :: Flash Content To Scale When Scale Browser Window?

Feb 19, 2010

I want my flash content to scale when I scale my browser window.

View 5 Replies

Actionscript :: Stagewebview Cannot Re-select Text Content In IOS Device - Flex 4.6

Jan 31, 2012

Developing APPs on IOS using Flex 4.6 I am displaying parsed epub files into stagewebview. It works fine on the device. However, when I try to add the annotation tool which (likes the ibook annotation), I can only select one single word!! I tried the "Game of Flex" which it did the same way as loading a web content into a stagewebview component, and it cannot have control to select more word as well. Therefore, I think its the current limitation (correct me if there is actually a way to do that in stagewebview) on the stagewebview. So, do you guys have other good ideas to display content as html without the limitation? like use other components, call JS? or use native object-c?

View 1 Replies

Iphone :: Haxe Convert Flash Content Into Objective C?

Dec 15, 2011

I went through many links like this,this and this, but not getting good direction to move with. I need to implement some flash content in my iPhone app. good tutorials to move on with the conversion process.

Suppose I am having a flash air iOS app and I need to convert the whole app in objective c for say adding some features like APNS then I have to do some needful. I want to convert the air iOS based app in objective c for same thing and hence need a tool like Haxe.

View 2 Replies

Professional :: Dynamic Scale Of A Flash Content?

Mar 20, 2010

I use Flash CS4 and most of the explanations you find online are for CS3.I used a mechanism once in HTML that set the flash site to 100% width, 100% height, which did scale it but there was no maximum limit and all the content got scaled equally. I would like to do it like in the HP above, where certain elements are differently scaled.

View 1 Replies

IDE :: Flash Full Screen In Browser - Lock Certain Content To Not Scale?

May 6, 2009

I am trying to create a website that will full scale the browser window with all the flash elements inside but I am having trouble deciding what resolution to design in and how to lock certain content to not scale.

I am trying to achieve the effect that will consist of a high resolution image as the background for each section of the website that will full screen. Content such as logo and footer etc should always remain locked. An example of this can be found at http:[url]..... If you shrink the browser window all content stays centralised and the top and bottom footer do not scale, although the central part of the site does change. I was wondering how this effect was achieved? How does some content remain locked and others scale. I really can not figure out what dimension size to design in and achieve the high res image effect for the site. I too will require a top and bottom footer.how that site was published and constructed that would be brilliant.At present I am playing around with the following code:

fscommand("fullscreen",true);
Stage.scaleMode = "noScale";
Stage.align = "C";

I then know the publishing settings should be set at 100 x 100 percent and that when the swf is imported to the html to write the following style tag:

<style>
body {margin;0px:padding;0px}
</style>

View 1 Replies

Ios :: SWF Content On IPhone?

Jun 27, 2011

Can I play/parse SWF content on the iPhone using FFMPEG? As per the document it should support ShockWave Flash (SWF).

View 1 Replies

Get Flash CS5 / Make IPhone Apps?

Dec 3, 2009

I have been looking for a beta/demo of Adobe CS5, because I saw the tutorial how to make iPhone apps.

View 2 Replies

Flash :: Make Maps In CS4 And Then Use Them In IPhone Games?

Dec 7, 2009

I 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.

View 2 Replies

Professional :: IPhone Compatibility - Can't Access Content

May 11, 2010

Will Apple ever give up trying to push quicktime and finally accept flash on the iPhone? I'm a Utah auto insurance agent and use my phone all day long and I hate when I can't access content because it is in flash.

View 1 Replies

Actionscript 3 :: Packager For IPhone App Download Content?

Feb 4, 2011

I am in the stages of designing a magazine concept for a client, taking the printed version and adding animated and interactive content, it seems Flash would be the obvious choice, and something which I am reasonably skilled with.

If I build the Magazine app with Flash, will the app be able to download additional issues? if so please point to any resources on the subject if possible.

View 1 Replies

Professional :: Make Iphone App File From Adobe Flash Cs3.0?

Feb 3, 2012

I 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 Replies

Iphone :: Is Application Developed By Adobe Flash Professional CS5 (not CS5.5) Visible In App Store On IPhone 4

Jul 4, 2011

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>

View 1 Replies

Iphone :: Promising Is Flex/Flash As A Development Path For The IPhone/iPad?

Mar 6, 2010

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 Replies

Iphone :: Flash CS5 On IPhone - Developing Client/server Data Apps?

Oct 13, 2010

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?

View 1 Replies

Iphone :: Flex - RIA Flash Apps On The IPhone Store Persist Data Until An Internet Connection Is Available?

Oct 8, 2009

I'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?

View 2 Replies

Iphone :: Compile Flex Application For Iphone Using Adobe Flash CS5?

May 1, 2010

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 Replies

Iphone :: Flash Packager For IPhone : Use Core-Data Or Other Database?

Dec 19, 2010

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 Replies

Iphone :: Screen Lock & Sound Stop IPhone Dev (FLASH CS5.5)

Jun 29, 2011

I'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?

View 1 Replies

Iphone :: Ios - Possible To Pause Flash App On Iphone By Pressing Home Button?

Mar 3, 2012

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 Replies

SWF Content Will Not Scale To Fit Loader Component

Nov 12, 2009

I have a flash file for a website section.  I inserted a Loader component component to load a .swf file, and set the "scaleContent" property (in the Component Inspector) to True, but the .swf loads tiny, like a thumbnail.  I also set the minimum dimensions (400x300), but this seems to have zero effect.  I also have the size of the loader component set to 424x350. I have played with both sets of these numbers to no effect. 

Here is where I've uploaded the file for testing:  [URL] If you click any 1 of the 4 images, it will load 1 of 4 .swf files within (but very small).

Furthermore...the size of the embedded videos is not always consistent. Sometimes, after re-uploading the main file, Some of the 4 videos will be correctly sized, but if visited more than once, they return to being small.  Very weird.
 
P.S.  I have attached a screen capture of the Flash program, showing the component inspector and properties.

Attachments:
screen_capture.jpg
(225.1 K)

View 4 Replies

ActionScript 3.0 :: Scale The Content When Publishing?

Dec 15, 2011

I wanted to ask about resizeing things. Lets say that i have a stage with demensions 1280x720(with  few Movieclips in different locations ) and  web browser is working with max 800x600 how to scale the content when publishing

View 1 Replies

Resize Your Stage And Scale Content?

Mar 9, 2012

I have to adjust to a new size and my objects have to adjust accordingly. Is there a way to select multiple objects on separate frames and resize as a group?

View 1 Replies

Flash :: Iphone - Remove Gloss From An IPhone App Icon?

Jan 18, 2011

Here 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 Replies

Iphone :: Objective C - Read Flash Video In Iphone App?

Jan 21, 2011

I 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

Professional :: Alternative Content Safari On IOS Devices IPad IPhone IPod Touch?

Dec 27, 2011

Is there a documented best practice for providing alternate content for Flash in Safari on iOS devices?I am getting white space where my Flash animation would normally appear, and management is displeased. I need to display alternative content in this space.

View 1 Replies

Flash - StageWebView With Transparent Background?

Feb 25, 2011

I have a Flex Mobile Project with a View in it. I placed a background image on that view. Now I want to add a StageWebView on it to render an HTML file, in such a way that the contents of the HTML scroll while the View's background is visible. However, when the StageWebView gets rendered, it has a white background. I didn't find a Background property on it to modify. I tried to change the stage's alpha, but it didn't work.

View 1 Replies

Javascript :: Make Flash Movie To Scale Proportionately To Div Width?

Jun 20, 2009

My website is going to have a main wrapper that is set to a max-width property for compatible browsers. It will stretch to 940px across at max. When scaled down I would like the swf to scale proportionately with it. Like an image with width percent applied. The flash movie has the dimensions of 940 × 360 pixels.

I can't seem to figure out the correct attributes to add to the embed tag to get it to do this.I am currently using jquery flash embed, but am open to other options, though this is my ideal.In the example I have set the flash background to black.

When resize the browser window the flash movie doesn't scale proportionately to the div, only the photo does, leaving a blank canvas (black), while the div height stays the same. I can't add a height value in the CSS.How do I make this scale correctly? Adding a noscale param only crops the image. The swf's height doesn't scale also.

View 3 Replies

Flash :: Physics Required To Make A Basic Weighing Scale?

Dec 15, 2010

Okay so I need to make a basic activity (working Flash/as3) that simulates very basic weighing scales. All the objects that go on to the scales are the same weight.

If you imagine the classic weighing scales [URL]..we are dragging/dropping stuff on to the sides and animating accordingly.

I don't want anything fancy, just the maths required to affect the scales according to how many objects are on each side.

What I'm looking for is probably the angle of rotation of the horizontal arm. Any pointers?

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved