Hi All,
When i try to open the window, i get only the title. When I re-size it manually, I can see the loaded SWF file.
Please help me in fixing this bug.
Following is the code: -
wizardWin = desktop.createWindow({
-
id: 'StartWizard/' + expId,
-
title: 'Wizard: ' + expName,
-
width: win_wd,
-
iconCls: 'view_wizard',
-
height: win_ht,
-
resizable: true,
-
tbar:tb,
-
minimizable: false,
-
draggable:true,
-
autoScroll:false,
-
items:[{
-
xtype: 'flashpanel',
-
border :true,
-
id: 'flash-wiz',
-
width: win_wd,
-
height: win_ht,
-
hideMode : 'nosize',
-
mediaCfg : {
-
mediaType:'SWF',
-
url: path,
-
id: 'flash-wiz',
-
start: true,
-
controls: true,
-
status: true,
-
params: {
-
allowScriptAccess: 'always',
-
wmode: 'opaque',
-
scale: 'exactfit',
-
salign: 't'
-
}
-
}
-
}]
-
});
-
3 2315 gits 5,390
Expert Mod 4TB
i assume you use the uxMedia plugin for ExtJs? ... have you tried to set the autosize config option according to the doc? - mediaCfg: {Object}
-
{ mediaType : mediaClass defined by ux.Media.mediaTypes[mediaClass]
-
,url : Url resource to load when rendered
-
,requiredVersion : may specify a specific player/plugin version (for use with inline plugin updates where implemented)
-
,loop : (true/false) (@macro enabled)
-
,scripting : (true/false) (@macro enabled)
-
,start : (true/false) (@macro enabled)
-
,volume : (number%, default: 20 ) audio volume level % (@macro enabled)
-
,height : (default: 100%) (@macro enabled)
-
,width : (default: 100%) (@macro enabled)
-
,scale : (default: 1) (@macro enabled)
-
,status : (default: false) (@macro enabled)
-
,autoSize : (true/false) If true the rendered <object> consumes 100% height/width of its
-
containing Element. Actual container height/width are available to macro substitution
-
engine.
-
,controls : optional: show plugins control menu (true/false) (@macro enabled)
-
,unsupportedText: (String,DomHelper cfg) Text to render if plugin is not installed/available.
-
,listeners : {"mouseover": function() {}, .... } DOM listeners to set each time the Media is rendered.
-
,params : { } members/values unique to Plugin provider
-
}
Yes gits. I am using uxMedia plugin. I tried setting autoSize but still the same error. Only title is visible.
gits 5,390
Expert Mod 4TB
then you might try to wrap that in a fit-layout - you might use a surrounding border-layout or another panel with the layout: 'fit', config.
Sign in to post your reply or Sign up for a free account.
Similar topics
by: vKp |
last post by:
I'm having a problem with file(). If I try to open a url of the form
"http://example.com/find?one,two", I get an error of the following form:
....failed to create stream: Bad file descriptor...
...
|
by: Eric Caron |
last post by:
Hi
Here's my problem, I create a windows service with Config.xml file.
All setup for my service is in this file. I create a windows
application to manage these settings (Config.XML File). This...
|
by: Mike - EMAIL IGNORED |
last post by:
Using RH9, from this fragment:
fstream theStream_;
string fPath = "myFile";
int mode = O_EXCL | O_CREAT;
theStream_.open(fPath.c_str(),mode);
I get the failure shown below. ...
|
by: Alfons |
last post by:
Hello,
I have build a program that can do file transferring between a Windows
XP computer and a DOS computer via a serial port. The Windows program
I have build in C++ with Visual Studio 6.0....
|
by: Madhur |
last post by:
Hello
what about this nice way to open a file in single line rather than using
if and else.
#include<stdio.h>
void main()
{
FILE *nd;
clrscr();...
|
by: Brad |
last post by:
In several aspx applications I export crytal reports to pdf, xls and doc
files and then the aspx page writes the selected export file to the client
browser. This all works with one small quirk: ...
|
by: aldrin |
last post by:
I'm trying to run this code under windows xp sp2 using codeblocks v1.0
compiler with great difficulty.There is no problem with running this
under KDevelop in linux. Any help would be greatly...
|
by: Bob Alston |
last post by:
Really wierd problem opening a form with selection.
I use this code on a button:
On Error GoTo Err_Command8_Click
Dim stDocName As String
Dim stLinkCriteria As String
stDocName =...
|
by: bimeldip |
last post by:
Hi,
I an tryin to create a html page where users can choose a file and open it however, i keep getting it wrong.So far this is wat i've worked on:
(open.html)
<html>
<head>
<title>Opening...
|
by: SUNIL TYATA |
last post by:
Once the program goes through the while loop which is checking the file existence like in this code
#include<iostream>
#include<fstream>
using name space std;
int main()
{
read_emails();...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
| |