Flash embed tag does not obey the dimensions of percentage, even with html and body to 100%
For some reason, I can't get this swf file to show the height and the width of 90%. I tried to add a style sheet in the header to explicitly set the html and body to 100%, but this is not always enough. can you see if there is a problem in the code?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title></title> <style type="text/css"> html, body { margin: 0; padding: 0; height: 100%; width: 100%; } </style> </head> <body> <center> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="90%" height="90%" ID="Captivate1"> <param name="movie" value="tutorial.swf"> <param name="quality" value="high"> <param name="menu" value="false"> <param name="loop" value="0"> <embed src='tutorial.swf' width='90%' height='90%' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash'/> </object> <BR> <p> <align=center><a Href="javascript:window.close();">Close Window</a> </p> </center> </body> </html>
This can happen because of the < center > element that does not have a height and a width specified. Don't forget to specify the dimensions for all containers if you use percentages, otherwise you can end up with 90% of 0 or a default value.
Tags: Firefox
Similar Questions
-
embed tag does not work for ms word (it's ok for the pdf)
Hi dear,
The following
Why?
if :P138_TYPE like '%pdf%' then htp.prn(' <div style="position: absolute; height: 100%"> <embed height="100%" width="100%" name="embed_content" src="'|| apex_util.get_blob_file_src('P138_FILE_CON', :P138_ID)|| '" type="' || :P138_TYPE || '" /> </div> '); else htp.prn(' <div style=""> <object src="'|| apex_util.get_blob_file_src('P138_FILE_CON', :P138_ID)|| '"><embed height="100%" width="100%" style="position: absolute; height: 100%" name="embed_content" src="'|| apex_util.get_blob_file_src('P138_FILE_CON', :P138_ID)|| '" type="application/msword" /></object> </div> '); end if;
concerning
SIA
This is a HTML thing and not a thing of the APEX.
For
PDF works because (almost) always PDF plugins are installed:
- FireFox includes its own PDF plugin
- Adobe Acrobat Reader (which almost everyone has) offers a plug-in also
MS Office documents... not so much.
In order to display a Word document in a web browser, you must have a Plugin who knows how to view Word documents.
(.... Or... be stuck with Internet Explorer...)
I believe that OpenOffice is a plugin... but you can be guaranteed that the {end} user has this plugin installed.
MK
-
My work as a Photoshop Mix does NOT have the Adobe library. I have already sent more than 100 things at the library (successfully!) It has now stopped working. Photoshop Mix not send. If I delete the Photoshop Mix of iPad Pro. It deletes all the pictures in Photoshop Mix? I had technical support look in my ADOBE Office without success. (case 187698996) Thank you. I have several files in the Adobe library and checked all the. Nothing appears from my Photoshop Mix.
Thank you.
Susan hers
Update: Susan fixed this problem by uninstalling and reinstalling the application.
-
After you have installed Windows 10, I can no longer create a PDF of my program Pagemaker 7.0.1. Purchased Acrobat DC, but still no joy. Apparently, Acrobat PDF maker does not recognize the .pmd extension. I get errors and various suggestions, but nothing works. WHAT?
Print to Adobe PDF? Why the * & ^ * & ^ V_ $ didn't pay a lot more money to Adobe for an Adobe program that does not work with another Adobe program? Oh, right--they want to move me up (buy) the new Adobe graphics programs. I'll keep sweating this point and will no doubt wind up forking over a thousand$ $$ or so for 'new' stuff I don't need.
-
Does not mark the emails as unread - iOS 9.3 and Exchange account
Hello
It drives me crazy! I'm an iPhone user for many years since the first iPhone.
I use the mail with exchange account application.
Given that I have updated to iOS 9.3 I does not mark the emails as unread after they are read.
The status "unread" is constantly reset to 'read '.
I lose emails because of it!
Who can help on this?
Thank you
Oded
This isn't the behavior that I'm observing.
Have you tried a simple Reset by pressing the Home and Power buttons until the Apple logo appears.
-
SnippingTool does not include the URL when I drag an html screenshot in IE8
Hello everyone
Despite the fact that I had ticked the optioninclude URL below shears (HTML only) ".
The cutting tool does not include the URL when I drag and drop a screenshot of Iexplore 8 html
I have Windows Vista SP2 with IE8 and I must maintain this version...
Any suggestions will be appreciated
Hi Jose,
Scan the file system (CFS) auditor to repair corrupted files.
How to use the System File Checker tool to fix the system files missing or corrupted on Windows Vista or Windows 7
http://support.Microsoft.com/kb/929833You can also view Snipping Tool: frequently asked questions
-
Form Flash CS3 application does not support the FlashVars?
Someone try to load FlashVars in Application Form? It does not work. Why?
In the HTML object tag, I add:
< param name = "FlashVars" value = "varvalue = myValue" / > "
"< embed src =" flash/student.swf"FlashVars =" varvalue = myValue '...
And on the frame on the first form (named: application) I use the code:
myTxt.text = _root.varvalue + '-' + _level0.varvalue + '-' + varvalue;
And I got: endefined-undefined-undefined. Why fail nothnig that?
But when I create the project of normal Flash, it works fine!?
-----------------------------------------------------------------------------------------
Sorry for my English. I don't know if good. Thank you!I found the problem. Problem is in the javascript code, it also needs to be changed:
script type = "text/javascript" >
-
DisplayImageFile() does not change the dimensions of the image control
Hello
I put in an image with DisplayImageFile() control image + assigning to the attribute of control ATTR_FIT_MODE = VAL_SIZE_TO_IMAGE. The image size is larger, then the size of the control and I want the control to resize to the size of the image.
It works fine except when I ask the dimensions of the control with GetCtrlAttribute (panel, control, ATTR_HEIGHT, & height), I get the original size (before calling DisplayImageFile())...
It seems I missed something basic...
Environment: LAB Windows CVI 2012, Windows 7
Thanks in advance
Ramy
I don't know if you still experience this problem or not, but I came across this discussion now and wanted to point out that this could happen if your picture controls if it is covered by another control or is it hidden altogether (and there might be other similar situations that I can't think of right now).
When this happens, the CVI runtime can pull the image directly on the image. Instead, he plans an asynchronous action that will redraw this section of the Panel from the back to the front (if it's just overlapped, not hidden). It is only in the later action that the image is applied to the control, and it is only then that the control is resized to fit the image. This may seem immediate to the casual observer, but, because it is asynchronous, you can't try to get new size immediately after calling DisplayImageFile, because the image is not yet in control at that moment.
Ironically, this occurs only if the control has already been set to the image size at the time you call DisplayImageFile. If this isn't the case, then the new size is applied when you later change the mode made programmatically. Whereas if the adjustment mode has been already updated the image size, trying to programmatically set the same value of the image size has no effect and nothing happens then.
If this is what is happening, one way around this would be to call ProcessDrawEvents or ProcessSystemEvents immediately after the call to DisplayImageFile. Unless the control or Panel has been hidden way explicit, which will require the drawing action will take place at this time, and you should then be able to get the new size of control at any time after that.
Luis
-
After the upgrade to the last bridge, the metadata panel displays is no longer the width and height of a PNG image. It still works for other types of files, such as jpg.
I have to use Explorer to get the dimensions for a bunch of PNG. Very inconvenient. I wanted to downgrade the last bridge, but it seems that it is no longer available.
I tried to completely uninstall the CC (and pref.) and reinstall. No joy.
Just updated bridge this morning (6.3.0.177) and happy to say on my system (OS X El Capitan 10.11.6) that the dimensions of the png is now displayed after several months of not having at their disposal!
-
AS3 dropped MovieClip does not have the dimensions of the parent
Please help me with my code. I'm working on a project to map with several video clips that are dragged and dropped off on their respective film clips.
PROBLEM:
Initially, video clips draggable decrease their original size. When they are deposited on their corresponding video clip, I want to take the dimensions of the films placed on the map. How to do this?
HERE IS MY CODE
Stop();
var startX:Number;
var startY: number;
var finalX:Number;
finalY var: number;var finalWidth:Number;
var finalHeight:Number;var counter: Number = 0;
alta_mc1.addEventListener (MouseEvent.MOUSE_DOWN, Pick-up);
alta_mc1.addEventListener (MouseEvent.MOUSE_UP, dropIt);
alta_mc3.addEventListener (MouseEvent.MOUSE_DOWN, Pick-up);
alta_mc3.addEventListener (MouseEvent.MOUSE_UP, dropIt);
alta_mc2.addEventListener (MouseEvent.MOUSE_DOWN, Pick-up);
alta_mc2.addEventListener (MouseEvent.MOUSE_UP, dropIt);
alta_mc4.addEventListener (MouseEvent.MOUSE_DOWN, Pick-up);
alta_mc4.addEventListener (MouseEvent.MOUSE_UP, dropIt);
alta_mc5.addEventListener (MouseEvent.MOUSE_DOWN, Pick-up);
alta_mc5.addEventListener (MouseEvent.MOUSE_UP, dropIt);
alta_mc6.addEventListener (MouseEvent.MOUSE_DOWN, Pick-up);
alta_mc6.addEventListener (MouseEvent.MOUSE_UP, dropIt);
alta_mc7.addEventListener (MouseEvent.MOUSE_DOWN, Pick-up);
alta_mc7.addEventListener (MouseEvent.MOUSE_UP, dropIt);
alta_mc8.addEventListener (MouseEvent.MOUSE_DOWN, Pick-up);
alta_mc8.addEventListener (MouseEvent.MOUSE_UP, dropIt);
alta_mc9.addEventListener (MouseEvent.MOUSE_DOWN, Pick-up);
alta_mc9.addEventListener (MouseEvent.MOUSE_UP, dropIt);
alta_mc10.addEventListener (MouseEvent.MOUSE_DOWN, Pick-up);
alta_mc10.addEventListener (MouseEvent.MOUSE_UP, dropIt);
alta_mc11.addEventListener (MouseEvent.MOUSE_DOWN, Pick-up);
alta_mc11.addEventListener (MouseEvent.MOUSE_UP, dropIt);
alta_mc12.addEventListener (MouseEvent.MOUSE_DOWN, Pick-up);
alta_mc12.addEventListener (MouseEvent.MOUSE_UP, dropIt);
alta_mc13.addEventListener (MouseEvent.MOUSE_DOWN, Pick-up);
alta_mc13.addEventListener (MouseEvent.MOUSE_UP, dropIt);
alta_mc14.addEventListener (MouseEvent.MOUSE_DOWN, Pick-up);
alta_mc14.addEventListener (MouseEvent.MOUSE_UP, dropIt);function pickUp(event:MouseEvent):void {}
event.target.startDrag (true);
event.target.scaleX = 1.2;
event.target.scaleY = 1.2;
m_txt. Text = "";
event.target.parent.addChild (event.target);
startX = event.target.x;
startY = event.target.y;
}function dropIt(event:MouseEvent):void {}
event.target.stopDrag ();
var myTargetName:String = "target" + event.target.name;
var myTarget:DisplayObject = getChildByName (myTargetName);
If (event.target.dropTarget! = null & & event.target.dropTarget.parent == myTarget) {}
m_txt. Text = "Good Job!"
event.target.removeEventListener (MouseEvent.MOUSE_DOWN, Pick-up);
event.target.removeEventListener (MouseEvent.MOUSE_UP, dropIt);
event.target.buttonMode = false;
Flex418 = myTarget.x;
Finally = myTarget.y;
HERE'S WHERE I CAN'T MAKE THE DROPPED CLIP MOVIE CLIP DIMENSIONS OF THE PARENT.
finalWidth = event.target.width
finalHeight = event.target.height;
counter ++;
} else {}
m_txt. Text = "Try Again!";
Event.Target.x = startX;
Event.Target.y = startY;
event.target.scaleX = 1;
event.target.scaleY = 1;
}
if(Counter == 14) {}
m_txt. Text = "Felicitaciones! HA colocado todos los municipios correctamente. « ;
}
}alta_mc1.buttonMode = true;
alta_mc2.buttonMode = true;
alta_mc3.buttonMode = true;
alta_mc4.buttonMode = true;
alta_mc5.buttonMode = true;
alta_mc6.buttonMode = true;
alta_mc7.buttonMode = true;
alta_mc8.buttonMode = true;
alta_mc9.buttonMode = true;
alta_mc10.buttonMode = true;
alta_mc11.buttonMode = true;
alta_mc12.buttonMode = true;
alta_mc13.buttonMode = true;
alta_mc14.buttonMode = true;completo. Visible = false;
help_1.addEventListener (MouseEvent.CLICK, showMap);
function showMap(event:MouseEvent): void {}
completo. Visible = true;
}
help_1.addEventListener (MouseEvent.ROLL_OUT, showMap1);
function showMap1(event:MouseEvent): void {}
completo. Visible = false;
}Thank you
German
Try:
Stop();
var startX:Number;
var startY: number;
var finalX:Number;
finalY var: number;var finalWidth:Number;
var finalHeight:Number;var counter: Number = 0;
for (var i: uint = 1; i<>
This ["alta_mc" + i.ToString ()] .addEventListener (MouseEvent.MOUSE_DOWN, Pick-up);
This ["alta_mc" + i.ToString ()] .addEventListener (MouseEvent.MOUSE_UP, dropIt);
This ["alta_mc" + i.ToString ()] .buttonMode = true;
}
function pickUp(event:MouseEvent):void {}
event.target.startDrag (true);
event.target.scaleX = 1.2;
event.target.scaleY = 1.2;
m_txt. Text = "";
event.target.parent.addChild (event.target);
startX = event.target.x;
startY = event.target.y;
}function dropIt(event:MouseEvent):void {}
event.target.stopDrag ();
var myTargetName:String = "target" + event.currentTarget.name;
var myTarget:DisplayObject = getChildByName (myTargetName);
If (event.target.dropTarget! = null & event.target.dropTarget.parent == myTarget) {}
m_txt. Text = "Good Job!"
event.target.removeEventListener (MouseEvent.MOUSE_DOWN, Pick-up);
event.target.removeEventListener (MouseEvent.MOUSE_UP, dropIt);
event.target.buttonMode = false;
Flex418 = myTarget.x;
Finally = myTarget.y;
HERE'S WHERE I CAN'T MAKE THE DROPPED CLIP MOVIE CLIP DIMENSIONS OF THE PARENT.
event.currentTarget.width = myTarget.width;
event.currentTarget.height = myTarget.height;counter ++;
} else {}
m_txt. Text = "Try Again!";
Event.Target.x = startX;
Event.Target.y = startY;
event.target.scaleX = 1;
event.target.scaleY = 1;}
if(Counter == 14) {}
m_txt. Text = "Felicitaciones! HA colocado todos los municipios correctamente. « ;
}
}completo. Visible = false;
help_1.addEventListener (MouseEvent.CLICK, showMap);
function showMap(event:MouseEvent): void {}
completo. Visible = true;
}help_1.addEventListener (MouseEvent.ROLL_OUT, showMap1);
function showMap1(event:MouseEvent): void {}
completo. Visible = false;
} -
Literally what the title above says. I just can't get anything to boot. CS4, CS5, PSE 8 PSE 9. It worked just the other day when this laptop had NOTHING on this subject. but now that I have all my files migrated absolutely nothing does not yet have flash player.
Have you checked: error: "Setup cannot initialize ' | Windows
Failed to initialize the installation of Adobe
Mac - installer failed to initialize. (etc.) Help! I can't install the CS6 Master Collection Suite.
Setup could not initialize photoshop cc, Fixed - YouTube
Concerning
Stéphane
-
In the last 6 months + / _ my Comcast email not send mail as the smpt said that the name and the password not recognized. I can delete them both and then re-enter on my iphone and ipad, imac and it works again. It happens now 2 or 3 times each week. Comcast.com my website does not do this and can receive and send email without problem. Their support, explains what's happening with many of their apple using the client.
All the answers in the group. Has not happened before. This could be with apple's IOS dates as google is not not the case.
pdeyedoc
You should probably get a different email.
I know this isn't much of an answer or even very applicable but everyone I know eventually loses their emails from mobile provider or cable operator sends cause unless you stick with them forever, your account is deleted after you leave them.
Gmail, yahoo, rocket mail, and even AOL don't do that.
-
NETGEAR genius App does not display the numbers of traffic correctly with IOS 10 meter
Since I've updated my Air Ipad 2 and Iphone 5 IOS 10.0.1, genius app on these 2 devices does not traffic counters numbers - the numbers are blacked out. Both devices have been updated to IOS 10.0.2 and numbers still are not displayed correctly. I've uninstalled and reinstalled the app on devices engineering and numbers are always blocked. I tried an old Ipad 2 which is not updated for IOS 10 and my desktop Windows 10 PC and the traffic engineering counter displays the numbers correctly. I called Netgear support, but they were not aware of this problem and so far do not have a solution. Someone has encountered this problem on their Apple devices? Thank you! Another question - is - it possible through the genius app for what it tell me the amount of use of band bandwidth/data device not only in total for all devices? Thanks again!
Hey all
I have forwarded this to our engineering team.
There was another user who made the same case.
-
the RealPlayer download button does not show downloading a video using Windows XP and explorer8
Hello lailaanis
First of all exit Internet Explorer. If you want to enable the download button when you hover over a video in Internet Explorer 8 you must go to tools > Preferences > download and save. Then to fix your problem, first UNCHECK the checkbox enable Web download and record in the window right under download and recording options, click OK. Then the Real Player output.
Now, open Real Player again, follow the steps as tools > Preferences > download and record and this time this BOX called Web download and registration. Click OK and real player output.
Now open Internet Explorer and visit any favorite video link and the download box will now appear.
You can also use other services like http://www.keepvid.com/ to download videos from sites of common videos easily in different quality formats which can be played in Real Player.
Hope that answers your question.
Concerning
Zeeshan Ahmad
-
Computer does not recognize the discs when inserted in my D: and E: drives.
Original title: DISK DRIVES D AND E . Do NOT WORK
When I insert a blank disc in my drives .He is not found by my computer.could would it be a disc that I need to update? or is their another way I can get it going again until a few weeks ago running good, I ultimate.32 bit .is their a scan from windows vista I can do to find what reader needs to update it please help.
Hello
It is not unusual for the same problem have an impact on both drives, in fact, is planned.
Step 1: Please do all the same underneath if you did some before as is often total
a process that solves the problem.Try this - Panel - Device Manager - CD/DVD - double click on the device - driver tab.
Click on update drivers (this will probably do nothing) - RIGHT click ON the drive - uninstall.
RESTART this will refresh the default driver stack. Even if the reader does not appear to continue
below.
Then, work your way through these - don't forget the drive might be bad, could be a coward
cable or slight corrosion on the contacts (usually for a laptop) and other issues.Your CD or DVD drive is missing or is not recognized by Windows or other programs
http://support.microsoft.com/kb/314060 - a Mr FixitTry this fix manually if the Fixit 314060 does not work
http://www.pchell.com/hardware/cd_drive_error_code_39.shtmlYour CD or DVD drive is missing or is not recognized by Windows or other programs-
a Mr Fixit
http://support.Microsoft.com/kb/982116The CD drive or the DVD drive does not work as expected on a computer that you upgraded to
for Windows Vista
http://support.Microsoft.com/kb/929461When you insert a CD or a DVD, Windows Vista may not recognize the disc
http://support.Microsoft.com/kb/939052Your CD or DVD drive cannot read or write media - A Mr Fixit
http://support.Microsoft.com/GP/cd_dvd_drive_problemsCD/DVD drive does not appear in Windows Vista, or you receive this error in Windows
Vista installation after booting from the DVD (AHCI)
http://support.Microsoft.com/kb/952951
Drive CD - R or CD - RW Drive is not recognized as a recordable device
http://support.Microsoft.com/kb/316529/Hardware devices not detected or not working - A Mr Fixit
http://support.Microsoft.com/GP/hardware_device_problemsAnother possibility is that the cables are loose. Remove ALL power, then make sure that the cables in both
ends. Remove and replace, do not just tight. For laptops, you can often clean power and
contacts data with a pencil eraser.Some DVD players do not use the Windows default drivers so check with the manufacturer of system and
manufacturer of device to see if there is a firmware or drivers for your drive if necessary.===============================
Step 2: You have disc problems as the CD/DVD is actually 4 discs in 1 case (CD & DVD
Burn and CD and DVD read). So it is not unusual for 1 or 2 operational so that other parts
do it right.Did you follow the Troubleshooting Guide for the reader who still does not work? There are
the entries in registry that the troubleshooter does not solve and those who "might" be the cause.Check with your Maker system and a device for the two possible firmware updates and
the correct registry entries for your car.Here are the keys that I of course are those in question - for the subkeys of the CD/DVD drive
as there will be other subkeys in these keys. Do not forget to ask specific keys involved as well as
the parameters.HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\IDE
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Hardware Profiles\0001\System\CurrentControlSet\Enum\IDE
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\ {4D36E965-E325-11CE-BFC1-08002BE10318}
-----------------------------------------------------------------------
You can probably find more info here and maybe even the exact registry for your CD/DVD settings
drive from someone with the same model.Forums - a lot of expert real help
http://Club.myce.com/CD/DVD units
http://www.myce.com/storage/Use DevManView to locate the CD/DVD in the registry (be careful and do a prior Restore Point)
nothing change) - find the DevManView device and then make a right click on it free in RegEdit.DevManView - free - an alternative to the standard Windows Device Manager, which displays all the
devices and their properties in flat table, instead of the tree viewer
http://www.NirSoft.NET/utils/device_manager_view.htmlI hope this helps.
Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle="" -="" mark="" twain="" said="" it="">->
Maybe you are looking for
-
13D-4100cto: migration of oem software
I had on my old HP dv4 OEM of Cyberlink media suite 10. I just bought a x 360 Sepectre and tried to install Cyberlink and he couldn't because it can be installed on a HP computer. Why he thinks that my HP is not an HP computer? What can I do to in
-
Cannot use Vista in Spanish, don't have XP Home English (Presario V6216EA)
Hi guys... Yes, I fully understand the advice not to downgrade from Vista to XP, but my non-techie here in Spain friend bought his laptop with Vista Premium preinstalled in Spanish, thinking that he could simply tell him to switch to English (Um, I a
-
user accounts suddenly denied access to games standard
OS is Vista Home Premium. I created two centuries ago user accounts. I am the administrator and have no problem. My husband is defined in Standard and until Friday 4th has been able to play an installed game he plays online. Suddenly, he is unable to
-
Installation of pop-up won't go away
I got the Office Student 2016 remotely installed today. When the installation is complete a box appears at the bottom right of the screen that says: "Installation is complete! Your Office product is now completely installed. You can now go offline
-
an intermittent failure of screen saver and power off to turn on?
Hello. Win 7 Desktop, unlike my laptop and other computers in Win 7, has a configuration screen saver and power who, sometimes, never active? I have checked the background process and doesn't understand why sometimes it works and other times that I h