Swfobject Interview Questions with Answers
Question: 1. Do You Know Why Is The “settings…” Option In The Flash Player Context Menu Grayed Out?
Answer:
Flash Player’s “Settings” panel has a minimum length of 214×137 pixels. If your embedded SWF is smaller than 214×137, Flash Player will not have enough room to show the settings panel, and could make the “Settings…” menu item inactive (grayed out). If you would love the “Settings…” menu item to be clickable, you may want to make certain your SWF is at the least 214px extensive by way of 137px tall.
This length constraint also applies to the Express Install conversation.
Question: 2. Explain Why Can We See Memory Usage Increase On Every Page Refresh In Internet Explorer?
Answer:
Recently the crew from Anychart.Com discovered the cause behind a protracted status apparent Flash Player nine/10 memory leak while a user refreshes the web page. This bug influences HTML pages which has a swf embedded on the page (whether or not the usage of SWFObject or now not) whilst regarded in IE 6/7/8. The reason for the bug become in reality not the Flash participant itself, however the Skype IE plug-in.
Flash Interview Questions
Question 3. Tell Me Why Does Internet Explorer 6 And 7 Show The Error Message J.Parentnode Is Null Or Not An Object?
Answer:
This happens while the SWFObject library (variations 2.0 or 2.1) are included more than once on the equal internet web page. To keep away from this, make sure that your swfobject.Js file is only blanketed as soon as. SWFObject 2.2 will encompass a fix for this issue.
Question: 4. Tell Us Why Does Firefox Report Permission Denied To Call Method Location.To String In The Error Console?
Answer:
When you create an iframe on a page that is living on a one-of-a-kind domain than the parent page you’ll get this mistake which is as a result of the Flash plug-in.
Flash Tutorial
Question five. Do You Have Any Idea Why Do Stage.Stagewidth And Stage.Stageheight Return zero In Firefox Or Internet Explorer When Using Dynamic Publishing?
Answer:
When the use of the dynamic publishing method in Internet Explorer or Firefox on Mac degree.StageWidth and stage.StageHeight might initially go back zero (be aware that for Internet Explorer the level size could be to be had on first load, however whilst reloading or revisiting a web page it will to start with be 0).
The solution is to outline a resize handler to your ActionScript code. The Flash Player crew became manifestly privy to this problem and consequently the Flash Player will hold on triggering the degree.Resize event until it gets its actual width and top.
An AS3 instance:
degree.AddEventListener(Event.RESIZE, resizeHandler);
stage.DispatchEvent(new Event(Event.RESIZE)); // pressure level resize event for ordinary cases
function resizeHandler(occasion:Event):void
if (level.StageHeight > zero && degree.StageWidth > zero)
stage.RemoveEventListener(Event.RESIZE, resizeHandler); // best execute as soon as
// your initialization code right here
Sound Interview Questions
Question 6. Why Would Not Flash Player 10 Display My Swf File?
Answer:
A new safety characteristic in Flash Player 10 reasons SWF’s no longer to be displayed while a HTTP server sends the following response: Content-Disposition: attachment.
Question: 7. How To Know Which Flash Player Version Is Installed And Which Version Is Detected By Swfobject?
Answer:
The Flash Player version as set up by:
Firefox 3: Type “approximately:plugins” in the area/cope with bar and look for the “Shockwave Flash” access
Safari 3: Click “Help > Installed Plug-ins” in the important menu and look for the “Shockwave Flash” entry
The Flash Player model as detected by means of:
SWFObject 2
Flash (using HTML `item` detail handiest)
Flash (using HTML `embed` detail simplest)
Web Developer Guide Tutorial Dreamweaver Interview Questions
Question eight. Where Can We Find Older Flash Player Versions, E.G. To Test Adobe Express Install?
Answer:
Flash Player uninstaller
Archived Flash Player variations for testing purposes
The latest launched version of Flash Player
When you run an archived Flash Player on Intel-primarily based Macintosh computers please remember the fact that there are two forms of Mac installers:
A universal binary installer consists of both a model of Flash Player that runs natively on Intel-based Macs and a PowerPC version.
PowerPC installers require browsers to run in Rosetta, that is a unique mode that runs older legacy PowerPC packages on Intel-based totally Macs. You can pressure a browser to open in Rosetta by way of starting the information window in Finder (clicking the app and choosing “Get Info”), then ticking the “Open in Rosetta” box. New versions of Safari and Opera now not guide this, however Firefox three does.
Question: nine. How To Disable Flash Player Or Javascript?
Answer:
For static publishing and dynamic publishing you may enable/disable your Flash Player with the aid of:
Internet Explorer 7: Menu: Tools > Internet Options, Program Tab, click on button: Manage upload-on, Filters, Add-ons that run without requiring permission, select Shockwave Object, click Enable/Disable button at bottom, close and restart browser
Firefox three: Menu: Tools > Add-ons, Plugins tab, Select Shockwave Flash, permit/disable
Safari three: Menu: Safari > Preferences, Security tab, Web content material: take a look at Enable plug-ins
Opera nine.Five: Menu: Opera > Quick Preferences > Enable Plug-Ins
For dynamic publishing you can enable/disable JavaScript by:
Internet Explorer 7: Menu: Tools > Internet Options, Security tab, click on icon: Internet, click on button: Custom Level, scroll to the “Scripting” section of the listing, click on radio button Disable beneath Active scripting, near and restart browser
Firefox three: Menu: Firefox > Preferences, Content tab, Check Enable JavaScript
Safari three: Menu: Safari > Preferences, Security tab, Web content material: take a look at Enable JavaScript
Opera 9.5: Menu: Opera > Quick Preferences > Enable JavaScript.
3-D Animation Interview Questions
Question 10. Do You Know Why Does Firefox Load My Swf Twice?
Answer:
Firefox 3 has a recognised trouble that on occasion causes a swf to be ‘double initialized’. The hassle seems to be fixed in their codebase, however has no longer been released yet. See the subsequent bugs for greater info: bug 438830 and worm 445599.
Or, when you have “Disable cache” selected for your Firefox Web Developer Toolbar extension a double load will arise.
Adobe Flex Tutorial
Question 11. Why Do We See A Dotted Border Around My Swf When Using Firefox three On Windows And Wmode Transparent Or Opaque?
Answer:
Firefox three on Windows using wmode transparent or opaque introduces a brand new default style for the object element; it treats it like an energetic link.
This Firefox implementation deviates from Firefox three on Mac, previous Firefox versions on Windows and the default fashion for the embed detail, so it’s far therefore probably to be a Firefox bug.
The following style rule in the head of your web page should solve this problem:
Adobe Flash CS6 Interview Questions
Question 12. Tell Me Why Can Not I See Flash Content In Firefox three?
Answer:
Do you have the Adblock extension installed? In Firefox three Adblock incorrectly blocks Flash content (the object tag simplest, so it really is why content embedded with SWFObject 1.Five does work, as it makes use of the embed tag), even in case your entire web page is whitelisted.
In this situation just disable Flash block (by using disabling the extension, do not use Adblock’s disable characteristic, because then it nonetheless may not display Flash content). Please word that the improvement of and assist for Adblock has been discontinued.
Flash Interview Questions
Question thirteen. Please Tell Me Why Does Not The Salign Param Element Work In Firefox Or Safari?
Answer:
When the use of static publishing make certain which you have duplicated your nested param elements for each item elements.
Also the order of certain param elements are vital, e.G. The scale parameter should continually be declared BEFORE the salign parameter.
Flask Tutorial
Question 14. Tell Me Do Swfs Embedded With Swfobject 2 Display In The Sony Ps3 Or Nintendo Wii Web Browsers?
Answer:
The Opera internet browser on Nintendo Wii presentations each Flash content embedded with static and dynamic publishing. Please notice that the Wii currently most effective supports Flash Player 7 content and that Adobe Express Install isn’t always supported.
The Netfront browser on Sony PSP and older versions of PS3 will only display Flash content while using static publishing. The purpose for this is that it is JavaScript guide is extremely restrained, in order that the SWFObject 2 script will by no means be completed. Please additionally note that it currently handiest supports Flash Player 6 content material and that Adobe Express Install is not supported.
Question: 15. How To Avoid That Extra Whitespace Is Created Underneath My Swf?
Answer:
When the usage of dynamic publishing and a strict HTML DOCTYPE Firefox, Safari and Opera can also create some pixels whitespace underneath your Flash movie.
To keep away from this ensure that your object detail is set as a block level element, which can be executed with the subsequent CSS fashion rule:
Dreamweaver CS3 Interview Questions
Question 16. How To Pass Uris Or Html Code As A Value Using Flashvars?
Answer:
Special characters and the symbols = and & can not directly be used inside flashvars values (the latter due to the fact they’re used to stack the flashvars themselves).
You can workaround this trouble via escaping those characters before passing them as flashvar values.
An instance:
encodeURIComponent(“&exchange”) will become %26trade
The values may be available on your swf already unencoded, so no unescaping is needed interior your swf.
Note that encodeURIComponent isn’t to be had in all browsers, but is to be had in all of the common current variations. If you need full backwards compatibility, you may use break out() rather, but note that break out() does now not work well with double-byte characters (like Chinese).
You also can break out those characters manually by means of using:
%3-d in preference to =
%26 in preference to &
Question: 17. How To Avoid Active Server Pages Error Asp 0139 When Using Static Publishing And Microsoft Iis?
Answer:
Microsoft IIS’s ASP interpreter incorrectly would not allow a page with nested
Active Server Pages blunders ‘ASP 0139’
Nested Object
/yourWebpage.Html, line XX
An item tag cannot be positioned internal any other item tag.
You can keep away from this mistake via the use of one of the following workarounds (word: which workaround may be great will rely upon your particular situation):
Configure IIS no longer to serve .Htm and .Html documents as ASP
Use a server-aspect include
Create the object tags dynamically, the ‘Update – The Dynamic Approach’
Web Developer Guide Interview Questions
Question 18. How To Prevent Internet Explorer From Showing An Error Message When Using External Interface And Swf That Is Inside A
