Scrolling in a Flash App on a mobile device. Anyone?
In my opinion, the biggest different between a flash app on a computer desktop vs a flash app on a mobile device is the scrolling behavior.
A flash app on a computer desktop usually has a scrollbar and you click on the up/down arrows or the scrollbar to scroll. But on a mobile device, this scrolling is done with a swipe of the finger through the screen either horizontally or vertically.
Has anyone had any success implementing this scrolling behavior on a mobile device with a flash app?
If so, what technique did you use?
Dissipation, Can you possibly post your method of scrolling? For a comparison, i have been trying to get this scrolling to work for ages.
I have this:
var ease:int = 6
var targX:int = dragMe.x
var targY:int = dragMe.y
var drag:Boolean = false
var ptX:int
var ptY:int
dragMe.cacheAsBitmap = true;
function down(sprite:Sprite):void{
//ptX = sprite.x - mouseX
ptY = sprite.y - mouseY
drag = true
function dragC(sprite:Sprite):void{
if (drag) {
//targX = mouseX+ptX;
targY = mouseY+ptY;
//trace ('targX ' +targX)
//trace ('ptX ' +ptX)
if (sprite.x != targX || sprite.y != targY) {
//sprite.x += (targX-sprite.x)/ease;
sprite.y += (targY-sprite.y)/ease;
function up(sprite:Sprite):void {
drag = false;
stage.addEventListener(Event.ENTER_FRAME, dragHandler)
stage.addEventListener(MouseEvent.MOUSE_DOWN, downHandler)
stage.addEventListener(MouseEvent.MOUSE_UP, upHandler)
function dragHandler(event:Event):void { dragC(dragMe) }
function upHandler(event:MouseEvent):void { up(dragMe) }
function downHandler(event:MouseEvent)
This works fine, it scrolls with easing, but on the device its quite slow, i mean its not jumpy but once flicked it scrolls very slow. Even if i changed the variable: ease
Similar Messages
-
Update Flash Professional CC and Mobile Device Packaging
The adobe crative cloud app says that I have an upgrade for Flash Professional CC and Mobile Device Packaging. It has been failing for as long as I can remember. How do you download and install the update?
R/JensHere are the individual Flash updates: http://www.adobe.com/support/flash/downloads.html
-
Okay so I'm trying to download Adobe Flash Pro. I've gone to creative cloud and downloaded "Flash Professional CC and Mobile Device Packaging (2014)" and I have no idea what to do afterwards... There's no way to open or run the file. And to be honest, I'm not even sure if it's the right download... Help!
I'm using PC with Windows 8.1. I got onto the Creative Cloud and downloaded "Flash Professional CC and Mobile Device Packaging (2014)". <--- That would be the file. I can't open or run it from CC and I couldn't find a file in my computer either.
I've also found direct downloads for the trial version and hit the set-up button, it loads up, and then nothing happens. -
please give me the solutions.
Dear Bob,
I downloader a VLS Streamer from the Apple app store. It requires some kind of helper software to run, which, as far as I can tell from the video at the developer's site, allows one to download content from one's mobile device to their computer. Since I don't have a compatible computer for my iPad to link to, the instructions don't help my situation. I emailed them with my query and will probably hear from them sometime this week.
I've lived with this problem for the 3 months I've had my iPad, and I'll keep after it until I have a solution. But right now, I've run out of steam. If this lead helps me to resolve my issue, I'll come back and HELPFUL or RESOLVED every response you've given. I'm very grateful for your help. Sorry I'm so utterly clueless.
Thanks once again. Please don't cringe if I get back to you another day. -
When I go to access my albums from any app on my phone or iPad, I cannot access the iCloud albums, only the albums synced with iTunes/iPhoto manually. This is frustrating because I cannot add to those albums from mobile device, I have to add to them during a Mac sync. I would like to be able to use my iCloud albums to organize my photos but if I cannot access them from apps it seems pointless. I will end up having to maintain both an iCloud library and a separate iPhoto library which is more work that seems necessary. I want everything easy to organize and access. It seems like in this age where most people are more likely to use their mobile devices than their Macs (and some do not even own Macs) that there should be a mobile solution. Hopefully I am simply without a clue and you folks can help me out with a fix or a source of info as a solution. I have not found answers yet.
gail from maine wrote:
Hi keriah,
When you go to Settings>Pages, do you have the "Use iCloud" option turned on?
Cheers,
GB
That was it! Thanks!!! -
How do i install flash player to my mobile device
Why cant i install flash player on my lg g2
There is no Flash Player for mobile devices. Android supported Flash Player up to 4.0, but no longer.
-
Removing Flash using CSS for mobile devices
Hi- I'm trying make my website moble friendly (I know- drop the flash all together but I can't).
Instead of having JS redirect to a new page, I'd like to have CSS hide the Flash and replace with a menu. Is this possible?
Here is the page w/ flash: http://www.prodentite.com/about/index.htm
I'd like to be able make the page look like this when the browser doesn't support flash:
http://www.prodentite.com/mobile/
Any suggestions?Create a new css stylesheet with a media type of "handheld" and make selectors that call out those items you wish to "hide" by making them display: none;
Be sure you put a media type on your general css stylesheet of "screen" so that your stylesheets won't fight with each other.
I know there are great tutorials out there for creating "print" stylesheets for "screen" web pages. You can follow a similar procedure when you create your "handheld" stylesheet.
Here's one of them now:
http://www.adobe.com/devnet/dreamweaver/articles/designing_css_pt7_02.html
Beth -
What is the best way to create a Scheduler app for ALL mobile devices?
I've used indesign to make apps before, (more like interactive/digital publications) and now I'm trying to make a scheduling app. What's the best way for me to accomplish this since it's a little more intricate? Indesign + DPS?? Any other recommendations?
Skipping InDesign & using HTML5/something such as Appcelerator's Titanium would be your best bet.
If you're set on using DPS, however, you'll need to make multiple multi-folio apps, single issue apps aren't supported iPhone or Android. DPS folios are also not responsive, although in some cases renditions will scale to support different devices. -
Complementary apps with new mobile device
Hello, I was wondering about the complementary apps (pages, keynote, iPhoto, and iMovie) that are supposed to be included when you buy a new iphone. I bought my phone on December 27th, I think they were included by then. But anyway, does anyone know how to download them from the App Store without having to pay for them?
So far I haven't really done much except for go to the App Store and see of they would prompt me I download it.Excellent. The key is you have to "purchase" the apps on your iPhone, not iTunes or a different Apple device.
Enjoy your Apple gear. -
Saving app data on mobile devices?
Hey, I want to make a save file for the game I'm making for iOS and Android, but I'm not sure how to go about doing it.
Should I make a text file? Where do I store it/read it from? Where does it go?
Any help would be greatly appreciated.
-Thanks in advance.The application storage directory is a good place for saved game files.
The format is whatever you find easiest to use. Both text and XML work. You can also write a save game object to a byte array and save that to a file.
Instead of reading and writing a file yourself, you could use a local shared object. -
Exit Code: 16
Please see specific errors below for troubleshooting. For example, ERROR: DW039 ...
-------------------------------------- Summary --------------------------------------
- 0 fatal error(s), 1 error(s)
ERROR: DW039: Failed to load deployment FileLay Dada Exit Code 16 indicates a problem deploying the deployment file. Please try running your installation again.
-
How to Make Dreamweaver CS4/Flash CS4 Website Function on all Latest Mobile Devices
Hello!
I am trying to add code into my Dreamweaver CS4 file and/or Flash CS4 file in order to have the website I have created work across all of the latest mobile devices as well as traditional online systems. My flash file has a transparent stage, and my dreamweaver file has a full-screen background image. I have reviewed various tutorials and articles available online, and some advocate simply adding code, which does not seem to be working for me, while others suggest having a similar separate site created solely for mobile devices. If this is the best option, I don't know how that should be set up. What is the best path to take with this?
This is the collection of various pieces of code I have tried adding to my files:
<meta name="viewport" content="width=device-width" user-scalable="yes" initial-scale="1.0" /> <!-- iphone,android -->
<meta name="HandheldFriendly" content="true" /> <!-- blackberry -->
</style>
<param name="allowScriptAccess" value="sameDomain" />
<param name="allowFullScreen" value="true" />
<param name="allowScriptAccess" value="sameDomain" />
<param name="allowFullScreen" value="true" />
<param name="var params = { id: "flashID", name: "flashcontent", menu: "false", allowFullScreen: "true", fullScreenOnSelection: "true", scale:"noscale", salign:"middle"};"
stage.scaleMode = StageScaleMode.NO_SCALE;
stage.align = StageAlign.TOP_LEFT;
//or//
this.stage.scaleMode = StageScaleMode.NO_SCALE;
this.stage.align = StageAlign.TOP_LEFT;
next_btn.width = 133 * .5;
next_btn.height = 133 * .5;
//flash//
next_btn.width = Capabilities.screenDPI * .5;
next_btn.height = Capabilities.screenDPI * .5;
//flash//
this.stage.addEventListener(Event.RESIZE, doLayout);
//flash://
<initialWindow>
<width>320</width>
<height>480</height>
<!-- several other properties... -->
</initialWindow>
* Convert inches to pixels.
private function inchesToPixels(inches:Number):uint
return Math.round(Capabilities.screenDPI * inches);
var button:Sprite = new Sprite();
button.x = 20;
button.y = 20;
button.graphics.beginFill(0x 003037);
button.graphics.drawRect(0, 0, this.inchesToPixels(.75),
this.inchesToPixels(.25));
button.graphics.endFill();
this.addChild(button);
//hard-code title://
var titleBar:Sprite = new Sprite();
titleBar.x = 0;
titleBar.y = 0;
//stage width determines width of title://
var titleBar:Sprite = new Sprite();
titleBar.x = 0;
titleBar.y = 0;
titleBar.graphics.beginFill(0x003037);
titleBar.graphics.drawRect(0, 0, this.stage.stageWidth,
this.inchesToPixels(.3));
titleBar.graphics.endFill();
this.addChild(titleBar);
//footer://
var footer:Sprite = new Sprite();
footer.graphics.beginFill(0x003037);
footer.graphics.drawRect(0, 0, this.stage.stageWidth,
this.inchesToPixels(.3));
footer.graphics.endFill();
footer.x = 0;
footer.y = this.stage.stageHeight - footer.height;
this.addChild(footer);
* Center one DisplayObject relative to another.
private function center(foreground:DisplayObject,
background:DisplayObject):void
foreground.x = (background.width / 2) -
(foreground.width / 2);
foreground.y = (background.height / 2) +
(foreground.height / 2);
//cont.//
var title:SimpleLabel = new SimpleLabel("My Application",
"bold", 0xffffff, "_sans", this.inchesToPixels(.15));
this.center(title, titleBar);
this.addChild(title);
//override width and height getters
public override function get width():Number
return this.textLine.textWidth;
public override function get height():Number
return (this.textLine.ascent - 1);
if (Capabilities.manufacturer == "Android Linux" && Capabilities.screenResolutionY == 1024)
next_btn.width = 85;
next_btn.height = 85;
This is the code for my Dreamweaver CS4 file (without the additional erogenous code attempts):
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<?xml version="1.0" encoding="utf-8"?><!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.2//EN"
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>My Website Title and Slogan.</title>
<style type="text/css">
<!--
body {
background-image: url(bground%20_img3.jpg);
background-repeat: no-repeat;
-->
<script src="Scripts/swfobject_modified.js" type="text/javascript"></script>
</head>
<body>
<img src ="image.gif" width=90% height=auto>
<script src="Scripts/swfobject_modified.js" type="text/javascript"></script>
<meta name="Keywords" content="keywords…" />
<div align="center"></div>
<div align="center">
<p> </p>
<p>
<object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="900" height="630">
<param name="movie" value="FlashFile.swf" />
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
<param name="swfversion" value="6.0.65.0" />
<!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
<param name="expressinstall" value="Scripts/expressInstall.swf" />
<!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="FlashFile.swf" width="900" height="630">
<!--<![endif]-->
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
<param name="swfversion" value="6.0.65.0" />
<param name="expressinstall" value="Scripts/expressInstall.swf" />
<!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
<div>
<h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
<p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
</div>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>
</p>
</div>
<div align="center"> </div>
<script type="text/javascript">
<!--
swfobject.registerObject("FlashID");
swfobject.registerObject("FlashID");
//-->
</script>
</body>
</html>
I have tried various combinations of the code listed above, but nothing seems to be working. I am not sure as to the positioning of the code, and maybe that is the problem, or maybe it is because this code in not for CS4, or not appropriate for my project. I also do not know what code should be inside the Flash file, nor what should should be inside the Dreamweaver file.
Thank you in advance for any assistance!Hi
To add to what Gramps has said, Adobe has ceased developing its flash player for ALL mobile devices so do not use Flash for any mobile device.
Depending on the complexity of your Flash program you may be able to recreate it using Edge, but the code generated by Edge does not work in IE8 or below.
For details on Edge, see - http://labs.adobe.com/technologies/edge/
PZ -
Jerky scrolling on mobile devices with Muse website
We have just built and published our first website on all three platforms (desktop, tablet and phone) but the vertical scrolling on the Phone and Tablet pages is jerky, and struggles to render the text smoothly compared to other websites when scrolling. All our images are optimised to the minimum size, and the pages are just simple html with images, with no complicated actions or behaviours. They appear jerky across both Apple/Android and Windows devices and also across the various browsers on each device. Has anyone else had this problem and found a solution?
Thanks in advance. PhilHi Gaurav,
Thanks for the response.
Since I posted the question, we have solved the problem by removing the sticky navigation bars which appeared to have default scroll effects applied to them. Do mobile devices not like the parallax scroll effects from within Muse, as obviously we would like to reinstate the sticky navigation if possible in the future?
Regards,
Phil -
Web Root Flash Builder 4.5 mobile + PHP
hello everyone, i just want to know how to add the address of the web root when i do a flex mobile project, when i work locally in my server i put C:\xampp\htdocs, but when when i work remotelly how can i put this address.
for example if mi server is 200.100.1.12, and my root URL is http://200.100.1.12, how can i write de web root for this server, please help me, i dont know if i have to configure something else in the server or what i need to do, pleas any answer will be welcome.
ThanksEven though I spent a lot time, still my flex app on a mobile device cannot access to db on the remote server.
I made changes on the following files. Can you point out what was wrong? Thanks
.flexProperties file:
serverRoot="/var/www/vhosts/mydomain.com/httpdocs/public" serverRootURL="http://mydomain.com"
Web host's document root is /var/www/vhosts/mydomain.com/httpdocs/public
MyService.as file:
protected override function preInitializeService():void
super.preInitializeService();
// Initialization customization goes here
this._serviceControl.endpoint = "http://mydomain.com/gateway.php";
MyService.php
class MyService
public $username = "root";
public $password = "pwd_2";
public $server = "xx.xx.xxx.xx";
public $port = "3306";
public $databasename = "testdrive_db";
public $tablename = "mydb";
amf_config.ini
webroot = "/var/www/vhosts/mobilemenu.info/httpdocs/public"
zend_path ="/usr/local/php/ZendFramework-1.11.4-minimal/library"
library ="/var/www/vhosts/mydomain.com/httpdocs/library"
services ="/var/www/vhosts/mydomain.com/httpdocs/services"
[zendamf]
amf.directories[]=services
gateway.php
<?php
ini_set("display_errors", 1);
$dir = dirname(__FILE__);
$webroot = $_SERVER['DOCUMENT_ROOT'];
//Web Hosting Document Root: /var/www/vhosts/mydomain.com/httpdocs/public
$zenddir = '/usr/local/php/ZendFramework-1.11.4-minimal/library'; -
Flash Design for Mobile Devices May Workshop
I'll be running a 2 day workshop in San Francisco on
Flash Design for Mobile Devices in May.
Please forward this announcement to anyone who might be
interested.
Details are below.
Thanks,
Nader Nejat // CEO
Omega Mobile //
http://www.omegamobile.com
Accelerating profit through stunning mobile experiences
==========================================
What:
Flash Design For Mobile Devices
When:
2 days: Saturday, May 6 & 13, 9am — 5pm
Where:
San Francisco State University Downtown Center
Multimedia Studies Program
425 Market Street, 2nd Floor
San Francisco, CA 94105
For more information and to register:
On the Internet go to:
http://msp.sfsu.edu
Or, call: 415.405.7700
Flash Design For Mobile Devices
In the era of rich mobile media development, your mobile
future is here. Now, learn how to create it in this hands-on
workshop.
We'll give you all the information and practice you need to
be on the
cutting edge of creating Flash content for PDAs, mobile
phones and next
generation devices. We'll explore the mobile Flash landscape
by looking
at working prototypes and actual applications that leverage
the current
mobile Flash player technology.
In this class, each attendee is assigned their own computer
to work on.
Discussions are followed by exercises that show you exactly
what you need
to know to produce your own mobile content. We emphasize
creating great
mobile multimedia experiences for cell phones using Flash
Lite.
In addition to exploring development opportunities available
today, you'll learn:
• The capabilities and limitations of Flash for mobile
development.
• Best practices for planning your mobile projects.
• How to efficiently convert Flash projects to mobile.
• The entire production process from planning to
testing and debugging on the device.
• How to create engaging content and user experiences
for small screens.
• How to maximize memory and processor performance of
your applications.
• How to develop for multiple devices with minimal
changes.
• To tap into resources to get you started quickly
• About handy third party utilities.
Who should take this class?
Anyone interested in developing rich media content for mobile
devices
including: mobile developers interested in Flash as a
potential delivery
platform and interface designers who want to use Flash for
mobile design,
Flash developers who wish to leverage their skills for mobile
development,
web designers who want to take advantage of the next big
medium and anyone
interested in Flash's capabilities for mobile devices.
Prerequisite: Flash I or equivalent experience recommended.
Course #: MULT 9234
Schedule #: 26264
Section: Z01
Hands on, 1 student per computer
2 days; Saturday, May 6 & 13, 9am — 5pm
SFSU Downtown Center, 425 Market
Fee: $395.00
Register Now! Call 415.405.7700Anything similar available in UK?
"..Nader.." <[email protected]> wrote in
message
news:[email protected]...
> I'll be running a 2 day workshop in San Francisco on
> Flash Design for Mobile Devices in May.
>
> Please forward this announcement to anyone who might be
interested.
>
> Details are below.
>
> Thanks,
> Nader Nejat // CEO
> Omega Mobile //
http://www.omegamobile.com
> Accelerating profit through stunning mobile experiences
>
> ==========================================
>
> What:
> Flash Design For Mobile Devices
>
> When:
> 2 days: Saturday, May 6 & 13, 9am ? 5pm
>
> Where:
> San Francisco State University Downtown Center
> Multimedia Studies Program
> 425 Market Street, 2nd Floor
> San Francisco, CA 94105
>
> For more information and to register:
> On the Internet go to:
http://msp.sfsu.edu
> Or, call: 415.405.7700
>
> Flash Design For Mobile Devices
> --------------------------------
> In the era of rich mobile media development, your mobile
> future is here. Now, learn how to create it in this
hands-on workshop.
> We'll give you all the information and practice you need
to be on the
> cutting edge of creating Flash content for PDAs, mobile
phones and next
> generation devices. We'll explore the mobile Flash
landscape by looking
> at working prototypes and actual applications that
leverage the current
> mobile Flash player technology.
>
> In this class, each attendee is assigned their own
computer to work on.
> Discussions are followed by exercises that show you
exactly what you need
> to know to produce your own mobile content. We emphasize
creating great
> mobile multimedia experiences for cell phones using
Flash Lite.
>
> In addition to exploring development opportunities
available today, you'll
> learn:
> ? The capabilities and limitations of Flash for mobile
development.
> ? Best practices for planning your mobile projects.
> ? How to efficiently convert Flash projects to mobile.
> ? The entire production process from planning to testing
and debugging on
> the
> device.
> ? How to create engaging content and user experiences
for small screens.
> ? How to maximize memory and processor performance of
your applications.
> ? How to develop for multiple devices with minimal
changes.
> ? To tap into resources to get you started quickly
> ? About handy third party utilities.
>
> Who should take this class?
> --------------------------------
> Anyone interested in developing rich media content for
mobile devices
> including: mobile developers interested in Flash as a
potential delivery
> platform and interface designers who want to use Flash
for mobile design,
> Flash developers who wish to leverage their skills for
mobile development,
> web designers who want to take advantage of the next big
medium and anyone
> interested in Flash's capabilities for mobile devices.
>
> Prerequisite: Flash I or equivalent experience
recommended.
>
> Course #: MULT 9234
> Schedule #: 26264
> Section: Z01
>
> Hands on, 1 student per computer
> 2 days; Saturday, May 6 & 13, 9am ? 5pm
> SFSU Downtown Center, 425 Market
> Fee: $395.00
>
> Register Now! Call 415.405.7700
>
Maybe you are looking for
-
I'm not allowed to pay my bill online because I'm a new customer
I switched my eight year old account from AT&T a few months ago, to Verizon. Very unhappy with the payment options. I got a call saying "Pay now or else" and I happily pressed "2" to "Make a payment now"* - after going through the system, my call w
-
Problem in Attachment @ Runtime
Hi, ####Senario1: I started my GP process which has two actions. Action1 is done by initiator and Action2 is done by other user. @using Attachment Clip On Action1, I attached a file at process level by using attachment clip and completes this step.
-
Keep fonts?? Help!
I've created a website with iWeb '08, using various fonts. Some of these fonts are not standard so they don't show up when viewed by other computers. This screws up alignments and the entire look. Is there any way to embed the fonts so they will show
-
I have some problem with Camera raw 4.6 beta and canon 50D. The clouds turn purple when i decrease the exposure or the recovery. Here a sample: http://www.temporalite.com/forum/cloud.jpg I do not have this issue with canon DPP. I suppose this will fi
-
IPhone 4 Spring Board crashes when I slide the top menu
Every time I slide down the top menu, Spring Board crashes: it appears that it is resetting, showing the black screen with the white apple logo for a few seconds, then the screen goes black for a few seconds and then iOS is back, like the crash didn'