/    Sign up×
Community /Pin to ProfileBookmark

on android table flash object blink on focus

I have page with flash object on it. something like this:

[CODE]<html>
<head>
<title>MyFlash</title>
</head>
<body onLoad=”onLoadFunc()”>

<script type=”text/javascript”>
function onLoadFunc(){
//
}
</script>
<div>
<object classid=”clsid:D27CDB6E-AE6D-11cf-96B8-444553540000″ id=”MyFlash” width=”100%” height=”100%”
allowScriptAccess=”always” >
<param name=”movie” value=”MyFlash.swf”/>
<EMBED src=”MyFlash.swf” style=”WIDTH:620;HEIGHT:460″ NAME=”MyFlash” allowScriptAccess=”always” />
</object >
</div>
</body>
[/CODE]

When this page shown on tablet browser (samsung galaxy tab and every browser in android market), flash object “blinks” for half seconds, when getting focus. On desktop computer (win7, every browser) it doesn’t happens. I tried listen to events from family “onTouch”, but didn’t succeed prevent this blinking. Only idea is set focus onLoad on this object, but it doesn’t prevent blinking if object lose focus and get it back. Thank you.

to post a comment
HTML

1 Comments(s)

Copy linkTweet thisAlerts:
@1DayTutoringMay 30.2012 — Hard to say without actually seeing the page is action. If your site is live then please paste the URL to the page in question for us to experiment.

In the meantime try having the same dimensions (width, height) on the <object> and <embed> elements and see if that helps.
×

Success!

Help @SergeyPankratov spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.5,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...