Skin Setting not working with XML file
I am trying to use the Adobe Flash Playback with a flashvars skin setting. I am pointing this setting to an xml file where I am trying to overide the playButtonOverlay image. Below is my code. I am using MVC, so you will see a couple Html Helpers. The helpers are working just fine. It is only the skin setting I can't seem to get to work. Any help would be appreciated. Thanks, Michael.
Html File
<object width="384" height="288" >
<param name="movie" value="http://fpdownload.adobe.com/strobe/FlashMediaPlayback.swf" />
<param name="flashvars" value="src=<%: Model.VideoFilePath %>&poster=<%: Model.PosterFilePath %>&skin=/Skin/FlashPlayerSkin.xml" />
<param name="allowFullScreen" value="false" />
<param name="allowscriptaccess" value="always" />
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
<embed src="http://fpdownload.adobe.com/strobe/FlashMediaPlayback.swf" type="application/x-shockwave-flash"
allowscriptaccess="always" allowfullscreen="false" width="384" height="288"
flashvars="src=<%: Model.VideoFilePath %>&poster=<%: Model.PosterFilePath %>&skin=/Skin/FlashPlayerSkin.xml"
quality="high" wmode="transparent" />
</object>
XML File
<?xml version="1.0" encoding="utf-8" ?>
<skin>
<elements basePath="/Content/MFBImages/FlashPlayer/">
<element id="playButtonOverlayNormal" src="playButtonOverlay.png"/>
<element id="playButtonOverlayDown" src="playButtonOverlay_down.png"/>
<element id="playButtonOverlayOver" src="playButtonOverlay_over.png"/>
</elements>
</skin>
Thank you both for replying so quickly. I still don't seem be having too much luck. The first thing I did was watched fiddler, and it did show an error with crossdomain.xml. So I added the below elements to a crossdomain.xml file in my root folder. I also changed all my paths to be absolute for both the skin flashvar and xml, but still no luck.
crossdomain.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<allow-http-request-headers-from domain="*" headers="SOAPAction,Content-Type"/>
</cross-domain-policy>
Since I am having trouble with the xml, I decided to try and just put the skin element into the html page where the flash player is located. I then removed the flashvar skin element out of the player. Below is my code for the skin element and flashplayer with absolute paths. The player still seems to use the default overlay play button. Any other suggestions would help out greatly.
<skin>
<elements basePath="http://localhost:1852/Content/MFBImages/FlashPlayer/">
<element id="playButtonOverlayNormal" src="playButtonOverlay.png"/>
<element id="playButtonOverlayDown" src="playButtonOverlay_down.png"/>
<element id="playButtonOverlayOver" src="playButtonOverlay_over.png"/>
</elements>
</skin>
<object width="384" height="288" >
<param name="movie" value="http://fpdownload.adobe.com/strobe/FlashMediaPlayback.swf" />
<param name="flashvars" value="src=http://localhost:1852/VideoLibrary/Agents/test video.flv&poster=http://localhost:1852/Content/MFBImages/AgentImage/Poster.jpg" />
<param name="allowFullScreen" value="false" />
<param name="allowscriptaccess" value="always" />
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
<embed src="http://fpdownload.adobe.com/strobe/FlashMediaPlayback.swf" type="application/x-shockwave-flash"
allowscriptaccess="always" allowfullscreen="false" width="384" height="288"
flashvars="src=http://localhost:1852/VideoLibrary/Agents/test video.flv&poster=http://localhost:1852/Content/MFBImages/AgentImage/Poster.jpg"
quality="high" wmode="transparent" />
</object>
Similar Messages
-
Problem when load more swf files work with xml files into my movie
hi ;
I have one flash file & more of swf files which work with xml files .
when I load one swf file into my flash file and remove it and load anther one on the same movieclip in my flash file it load the old swf file.
when i load one on movieclip and remove it and load anther swf on anther movieclip the file doesn`t work and stoped.
when test my flash file to load and remove swf files without xml file it work fine but when repleaced the swf files with other work with xml files the problem hapend.
thanks;YOu should trace the names of the files that are being targeted for loading to see if they agree with what you expect. If you want help with the coding you will need to show the code that is relevant to your problem (not all of it)
-
"Display the number of found items in the find toolbar" Not work in xml file
Word count feature that comes with version 32 does not work in xml file.
This only happens when Firefox uses the "pretty print" layout if there is not XSL stylesheet file.
* <b>about:config</b> page: layout.xml.prettyprint = false
*http://mxr.mozilla.org/mozilla-release/source/content/xml/document/src/nsXMLPrettyPrinter.cpp
*http://mxr.mozilla.org/mozilla-central/source/dom/xml/nsXMLPrettyPrinter.cpp
*chrome://global/content/xml/XMLPrettyPrint.xml
*chrome://global/content/xml/XMLPrettyPrint.xsl -
Has anyone not working with .dv files had synchronization problems?
Has anyone not working with .dv files had sound synchronization problems? I'm not exactly sure what the alternatives to DV are, but I think one of them is HD.
The reason for asking this question is to help isolate the nature and cause of a very serious flaw in iMovie '11. In the original release of iMovie '11 (version 9.0) there was a small--but serious--synchronization problem. In the 9.01 there is a large synchronization problem. We know of one person who has not experienced the problem, and he is not working with DV files (media). So we want to find out if anyone who is using something other than .dv files is experiencing a lack of synchronization between sound and picture. Knowing the answer to this will help with figuring out where the cause lies. For the initial iMovie '11 release (9.0), you probably would not notice a problem unless you had very long event-clips, e.g., two hours long. Events get this long if you are transferring from analog 8 mm tapes. Even then, it would have to be in scenes in which the connection between event and sound is obvious, e.g., close ups of people talking. It isn't until the 9.01 release that most people would notice anything. All we need to do is establish one case of a synchronization problem in which the person is using something other than DV.
Message was edited by: Paul BullenHopefully, the 9.0.2 release will make my question moot. Zyfert must have posted the announcement of the release just as I was formulating my question. Still, if you have information on the subject, it would be interesting to hear.
-
Quicklook does not work with WMV files and quick look no longer maintains resized views when viewing from a folder using the up/down arrows. Any fixes?
Same problem here...
-
Validation Event Handler Not working with Flat File GTC Trusted Recon
We are created Event Handler for checking special characters in Telephone field.Its working fine when the user is created through Admin Console.but the event handler is not triggering while doing GTC Flat File Trusted recon.
Version: OIM 11.1.1.5.0
Can someone please help me out with this.
Thanks
Edited by: 790561 on 17-Feb-2013 09:01
Edited by: 790561 on Feb 17, 2013 9:35 PM
Edited by: 790561 on Feb 18, 2013 12:38 AMValidation Event handlers will not work with your trusted recon. You can use the GTC Validation provider, it is nothing but the plugins which you can insert with in your source field in GTC. I think you can easily get the steps for how to create a custom GTC Providers.
Edited by: iam37 on Feb 16, 2013 4:09 PM -
Full-Text search is not working with PDF files - SQL Server 2012 64 bit
Hi,
We are in the process of storing PDF files in SQL Server 2012 with Full-Text search capability.
I followed the steps as below and it works fine with word document but not for PDF files. I tried with PDF ifiler 11 & 9 and both are unsuccessful.
Server/DB Level Settings:
1)
Enable FileStream
2)
Install Full-Text
then restart
3)
Use [specific db]
alter
database [db name]
add
filegroup Files
contains filestream;
alter
database [db name]
add
file (
name = N'Files',
filename =
N'D:\SQL\DATA') to
filegroup [Files];
3)
Database level
Settings:
FileStream:
FileStream
Directory name:
[Set the name]
FileStream
non-transacted
Access: [set Appropriate]
3a)
Add a
datafile to DB
with filestreamdata
filetype.
4)
Share D:\SQL\DATA
directory and
add specific accounts
with read/write
access
5)
Give bulkadmin
access to those
specific accounts
at server
level
6)
From the
page (link)
download and
install the *.pdf
IFilter for
FTS. Link:
http://www.adobe.com/support/downloads/detail.jsp?ftpID=5542
7)
To the
PATH global system
variable add
path to the
catalog,
where you installed
the plugin.
Default for
this version is:
C:\Program
Files\Adobe\Adobe
PDF iFilter 9
for 64-bit
platforms\bin
8)
From the
page (link)
download a
FilterPackx64.exe
and install
it. Link:
http://www.microsoft.com/en-us/download/confirmation.aspx?id=20109
9)
Now from
SSMS execute the following
procedures:
-sp_fulltext_service
'load_os_resources',1
-sp_fulltext_service
'verify_signature', 0
EXEC
sp_fulltext_service
'update_languages';
-- update language list
EXEC
sp_fulltext_service
'restart_all_fdhosts';
-- restart daemon
reconfigure
with override;
10)
Restart the
server
11)
select document_type,
path from
sys.fulltext_document_types
where document_type
= '.pdf'
-select
document_type,
path from sys.fulltext_document_types
where document_type
= '.docx'
12) Results are OK.
Following is my Table /Index/ catalog script:
CREATE
TABLE dbo.DocumentFilesTest
DocumentId INT
IDENTITY(1,1)
NOT NULL
PRIMARY KEY,
AddDate datetime
NOT NULL,
Name nvarchar(50)
NOT NULL,
Extension nvarchar(10)
NOT NULL,
Description nvarchar(1000)
NULL,
FileStream_Id UNIQUEIDENTIFIER
ROWGUIDCOL NOT
NULL UNIQUE DEFAULT
NEWSEQUENTIALID(),
FileSource varbinary(MAX)
FILESTREAM DEFAULT(0x)
go
--Add default add date for document
ALTER
TABLE dbo.DocumentFilesTest
ADD CONSTRAINT
DF_DocumentFilesTest_AddDate
DEFAULT sysdatetime()
FOR AddDate
EXEC
sp_fulltext_database
'enable'
GO
IF
NOT EXISTS
(SELECT
TOP 1 1 FROM sys.fulltext_catalogs
WHERE name
= 'Ducuments_Catalog_test')
BEGIN
EXEC sp_fulltext_catalog
'Ducuments_Catalog_test',
'create',
'D:\SQL\PDFBlob';
END
--EXEC sp_fulltext_catalog 'Ducuments_Catalog_test', 'drop'
DECLARE
@indexName nvarchar(255)
= (SELECT
Top 1 i.Name
from sys.indexes
i
Join sys.tables
t on
i.object_id
= t.object_id
WHERE t.Name
= 'DocumentFilesTest'
AND i.type_desc
= 'CLUSTERED')
PRINT @indexName
EXEC
sp_fulltext_table
'DocumentFilesTest',
'create',
'Ducuments_Catalog_test',
@indexName
EXEC
sp_fulltext_column
'DocumentFilesTest',
'FileSource',
'add', 0,
'Extension'
EXEC
sp_fulltext_table
'DocumentFilesTest',
'activate'
EXEC
sp_fulltext_catalog
'Ducuments_Catalog_test',
'start_full'
ALTER
FULLTEXT INDEX
ON [dbo].[DocumentFilesTest]
ENABLE
ALTER
FULLTEXT INDEX
ON [dbo].[DocumentFilesTest]
SET CHANGE_TRACKING
= AUTO
ALTER
FULLTEXT CATALOG
Ducuments_Catalog_test REBUILD
WITH ACCENT_SENSITIVITY=OFF;
INSERT
INTO DocumentFilesTest(Extension,
Name,
FileSource)
SELECT
'pdf'
'BOL12006553.pdf'
* FROM
OPENROWSET(BULK
'd:\SQL\PDFBlob\BOL12006553.pdf',
SINGLE_BLOB)
AS BLOB;
GO
INSERT
INTO DocumentFilesTest(Extension,
Name,
FileSource)
SELECT
'docx'
'test.docx'
* FROM
OPENROWSET(BULK
'd:\SQL\PDFBlob\test.docx',
SINGLE_BLOB)
AS Document;
GO
SELECT
d.*
FROM dbo.DocumentFilesTest
d WHERE
Contains(d.FileSource,
'BILL')
Returns nothing. it should come from PDF file
SELECT
d.*
FROM dbo.DocumentFilesTest
d WHERE
Contains(d.FileSource,
'TEST')
Returns from word document as follows:
2 2014-06-04 10:11:41.393 test.docx docx
NULL [BINARY Value] [Binary Value]
Any help is appreciated. Its been a long wait.
Thanks,
Vel
Vel ThavasiHello,
Did you check the fulltext log files for more details about the errors. If the filter isn’t working, there should be errors in the error log file.
The following thread is about similar issue, please refer to:
http://social.msdn.microsoft.com/forums/sqlserver/en-US/69535dbc-c7ef-402d-a347-d3d3e4860d72/sql-server-2008-64bit-fulltext-indexing-pdf-not-working-cant-find-ifilter
Regards,
Fanny Liu
If you have any feedback on our support, please click here.
Fanny Liu
TechNet Community Support -
InsertHTML won't work with XML files
I am trying to create a command that writes text to an open
XML file. The command I've created works fine under some
circumstances but not others.
It works if I open an XML file and apply the command without
editing the file. If I make any edits to the file manually and then
apply the command, it doesn't insert anything.
It works fine with HTML files in design view, but in code
view, if I make any edits and then run the command, nothing
happens. If I switch to design view and back again, the command
then works fine.
I tested the built-in Dreamweaver command "Flash Text" on an
XML file (after editing it so it could be used with an XML file),
and the same problem occurs with this command when using it on an
XML file. The problem didn't occur with HTML in code view, though.
Below is the .JS file for my command. The corresponding HTML
file contains only an empty form.
function canAcceptCommand() {
return(true);
function isDOMRequired() {
return false;
function commandButtons()
return new Array( MM.BTN_OK, "cmdOK(); "
, MM.BTN_Cancel, "cmdCancel();");
function cmdOK()
var theDOM = dw.getDocumentDOM('document');
theDOM.insertHTML("test", true);
window.close();
function cmdCancel()
window.close();I need a function, though, that will insert text at the
cursor location in an open file.
I'm also discovering that the command I created above
functions erratically even when it does deign to insert the text in
an XML file. The text is usually inserted somewher other than where
the cursor is located. -
QuickLook not working with eps files
My hard drive started to die late last year and I got it cloned. But now that I have a new hard drive, I can't preview eps files with QuickLook (holding down the space bar). I tried downloading this plugin http://www.eternalstorms.at/utilities/epsqlplg/ but it didn't work. Does anyone have any other suggestions? I work at a printing company and I deal with a lot of eps files every day. It's really frustrating not being able to preview eps files and having to open every single one. I'd love to be able to get the preview feature back. I can preview everything else, just not eps files.
From a scripting level, ID doesn't see EPS as all vector, so I am unsure why it would be unable to differentiate during link updates. If I place a vector EPS and a bitmap EPS and do:
repeat with i from 1 to count every link
get effective ppi of parent of link i
end
only one will have an effective ppi.
I suppose you could script around this irregularity by running a script that basically set all EPS with an effective PPI to 100% veritical and horizontal scale after you have scaled them correctly. Something like:
tell application "Adobe InDesign CS3"
tell active document
repeat with i from 1 to count every link
if link type of link i = "EPS" then
set hasPPI to false
try
set hasPPI to effectivePPI of parent of link i
end try
if hasPPI ≠ false then
set vertical scale of parent of link i to 100
set horizontal scale of parent of link i to 100
end if
end if
end repeat
end tell
end tell
As for why this isn't happening when Adobe updates links, I have no idea except that EPS has always been the red-headed stepchild of formats with InDesign... -
How to work with .XML files with FINAL CUT PRO HD
Ok so I am a newby, kind of. We filmed a feature using the SONY XDCAM 350. uses the optical 23.3GB disc. I used the camera to copy all the HD files ( .XML ) to an 1TB external drive. Now the drive is readable, everything looks fine, when I select a .XML file. Final Cut Pro HD opens, but then asks to choose a TRANSLATION file. Where do I go from here. I do not understand that command of action it is asking. Newby here, so pity me for awhile.
Thanksmy instinct is "No" but thats no (because the app is expecting th efiles to be located on an mounted XDCAM disc that is formated as such) ... but in your situation I'd be inclined to download the XDCAM Transfer app and try for myself
what you may need to do though is get hold of the discs and a deck and import using the method above
failing that you have the option of using Flip4Mac's MXF quicktime components ... not cheap.
this will allow you to select the local XDCAM source media that you've alreday transfered in the native MXF format, and rewrap as Quicktime for editing in FCP
(a trial version is available for download)
... and if thats out of budget, or for whatever reason not an option, you can sit it out and see if the next FCP revision helps you out any with its direct Log and Transfer support for XDCAM. may have the same restrictions though (ie need a properly attached formatted device)
... and other than that, you're looking at switching to an NLE with native MXF support (Avid, Edius, Vegas etc) -
DW9 (CS3) split view not work with ASP files?
I just installed and ran DW CS3 (ver 9.0 bulid 3481) -- I use
"coder" view for the screen layout. I like the split-view style
since I code inline HTML with my ASP and ASPX code. However, the
new version has the split-screen view button grayed out. How do I
enable split view when I edit files that are not just ending in
"htm" or "html" extensions? If the Adobe programmers made an
ASSumption then they need to issue a patch and remove it pronto. I
do not want someone else making decisions on how I do my work...I
get enough of that from Microsoft already, I do not need it from my
tools also. Please forward this to the developers if there is no
way to change my preferences, otherwise please tell me how to edit
a config file or hex-edit the executable to get this funtionality
back. TIA!I still can't figure out why the split view or design view is
grayed out and not accessible when editing files with an .asp or
.aspx extension and it is driving me crazy! I called the support
line and got someone in India who didn't understand my problem. 30
minutes later I finally got her to agree to transfer me to
secondary support but they were busy and she promised me they would
call the next day. That was over a week ago. I didn't even get a
voicemail, even though I stayed by my phone the whole day. I see
that support for DW under Adobe is no better than it was under
Macromedia...how sad. Microsoft Expression Web is looking better
and better every day....... :( -
Flash Preloader Not Working with Local Files?
Hello all,
I have created a digital resumé using a Flash
presentation. The presentation links to several SWF files that are
rather large. I have designed and implemented preloaders for the
files.
My intent is to burn the whole product to CD for
distribution. The problem I am having is that my Flash preloaders
work perfectly in FireFox; I click the button in the main
presentation and the preloader comes up in the target screen,
followed by the SWF.
However, the preloaders do not work at all in IE, which
leaves a black pane with nothing in it and causes the user to click
the button several times trying to figure out why nothing is
happening.
The Flash presentation that is being displayed is embedded in
a HTML document. The user clicks a button to load a SWF to a
separate screen; the preloader runs until the file is loaded.
Any help you could provide is appreciated.I have attached the actionscript for the data connection. The
odd thing about this issue is some of the data is being displayed
from the webservice call and then some is not. The drop down list
is not being populated but I am getting some text in a textarea
that is on the form. My datasource is a SQL Server database and in
ColdFusion administrator, I used the actual machine name to point
to the datasource because it is directly linked to my web server.
This configuration is the one giving me problems. If I change the
datasource to my test SQL Server (server.somewhere.com) it works
fine. Does this help any? -
Email Attachment is not Working for xml file
Hi All,
if any one has any answer to this below Query, Your help will be highly appreciated.
1- while configuring the email for attachment i am getting the selection failure Error in Content Encoding line where i am setting the base64 for encoding. Please fine configuration done for Email activity
<scope name="Email1">
<bpelx:annotation>
<bpelx:pattern patternName="bpelx:email"></bpelx:pattern>
</bpelx:annotation>
<variables>
<variable name="varNotificationReq"
messageType="ns1:EmailNotificationRequest"/>
<variable name="varNotificationResponse"
messageType="ns1:ArrayOfResponse"/>
<variable name="NotificationServiceFaultVariable"
messageType="ns1:NotificationServiceErrorMessage"/>
</variables>
<sequence name="Sequence1">
<assign name="EmailParamsAssign">
<copy>
<from expression="string('Default')"/>
<to variable="varNotificationReq" part="EmailPayload"
query="/EmailPayload/ns1:FromAccountName"/>
</copy>
<copy>
<from expression="string('')"/>
<to variable="varNotificationReq" part="EmailPayload"
query="/EmailPayload/ns1:Bcc"/>
</copy>
<copy>
<from expression="string('')"/>
<to variable="varNotificationReq" part="EmailPayload"
query="/EmailPayload/ns1:Cc"/>
</copy>
<copy>
<from expression="string('')"/>
<to variable="varNotificationReq" part="EmailPayload"
query="/EmailPayload/ns1:ReplyToAddress"/>
</copy>
<copy>
<from expression="bpws:getVariableData('subject')"/>
<to variable="varNotificationReq" part="EmailPayload"
query="/EmailPayload/ns1:Subject"/>
</copy>
<copy>
<from expression="bpws:getVariableData('mailId')"/>
<to variable="varNotificationReq" part="EmailPayload"
query="/EmailPayload/ns1:To"/>
</copy>
<copy>
<from>
<Content xmlns="http://xmlns.oracle.com/ias/pcbpel/NotificationService">
<MimeType xmlns="http://xmlns.oracle.com/ias/pcbpel/NotificationService">multipart/mixed</MimeType>
<ContentBody xmlns="http://xmlns.oracle.com/ias/pcbpel/NotificationService">
<MultiPart xmlns="http://xmlns.oracle.com/ias/pcbpel/NotificationService">
<BodyPart xmlns="http://xmlns.oracle.com/ias/pcbpel/NotificationService">
<MimeType xmlns="http://xmlns.oracle.com/ias/pcbpel/NotificationService"/>
<ContentBody xmlns="http://xmlns.oracle.com/ias/pcbpel/NotificationService"/>
<BodyPartName xmlns="http://xmlns.oracle.com/ias/pcbpel/NotificationService"/>
</BodyPart>
<BodyPart xmlns="http://xmlns.oracle.com/ias/pcbpel/NotificationService">
<MimeType xmlns="http://xmlns.oracle.com/ias/pcbpel/NotificationService"/>
<ContentBody xmlns="http://xmlns.oracle.com/ias/pcbpel/NotificationService"/>
<BodyPartName xmlns="http://xmlns.oracle.com/ias/pcbpel/NotificationService"/>
<contentencoding xmlns="http://xmlns.oracle.com/ias/pcbpel/NotificationService"/>
</BodyPart>
</MultiPart>
</ContentBody>
</Content>
</from>
<to variable="varNotificationReq" part="EmailPayload"
query="/EmailPayload/ns1:Content"/>
</copy>
<copy>
<from expression="string('base64')"/>
<to variable="varNotificationReq" part="EmailPayload"
query="/EmailPayload/ns1:Content/ns1:ContentBody/ns1:MultiPart/ns1:BodyPart[2]/ns1:ContentEncoding"/>
</copy>
<copy>
<from expression="string('application/xml')"/>
<to variable="varNotificationReq" part="EmailPayload"
query="/EmailPayload/ns1:Content/ns1:ContentBody/ns1:MultiPart/ns1:BodyPart[1]/ns1:MimeType"/>
</copy>
<copy>
<from expression="bpws:getVariableData('body')"/>
<to variable="varNotificationReq" part="EmailPayload"
query="/EmailPayload/ns1:Content/ns1:ContentBody/ns1:MultiPart/ns1:BodyPart[1]/ns1:ContentBody"/>
</copy>
<copy>
<from expression="string('application/xml')"/>
<to variable="varNotificationReq" part="EmailPayload"
query="/EmailPayload/ns1:Content/ns1:ContentBody/ns1:MultiPart/ns1:BodyPart[2]/ns1:MimeType"/>
</copy>
<copy>
<from expression="'abc.xml'"/>
<to variable="varNotificationReq" part="EmailPayload"
query="/EmailPayload/ns1:Content/ns1:ContentBody/ns1:MultiPart/ns1:BodyPart[2]/ns1:BodyPartName"/>
</copy>
<copy>
<from expression="ora:readFile('file:///*/*.xml')"/
<to variable="varNotificationReq" part="EmailPayload"
query="/EmailPayload/ns1:Content/ns1:ContentBody/ns1:MultiPart/ns1:BodyPart[2]/ns1:ContentBody"/>
</copy>
</assign>
If any one has done it before please help me out...
thanks
DillipHello Dillip,
Please find below links. Either of one should solve your problem -
http://mysoathoughts.blogspot.fi/2013/02/send-xml-file-as-attachment.html
http://neeraj-soa-tips.blogspot.co.uk/2012/01/sending-attachment-using-email-activity.html
BR
Vaibhav -
FlexUnit is working with FlashBuilder and not working with Build file
Hi
I have few flexunit test cases . When I am running those testcases from Flashbuilder FlexUnit plugin I am able to run all the testcases and when I run Build file to run those testcases , build file is launching my testrunner swf file and it is throwing follwoing runtime error in flash player
VerifyError: Error #1014: Class flash.events::NativeWindowBoundsEvent could not be found.
at flash.display::MovieClip/nextFrame()
at mx.managers::SystemManager/deferredNextFrame()
at mx.managers::SystemManager/preloader_preloaderDocFrameReadyHandler()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.preloaders::Preloader/timerHandler()
at flash.utils::Timer/_timerDispatch()
at flash.utils::Timer/tick()
here is the Build Console log
[taskdef] Could not load definitions from resource flexTasks.tasks. It could not be found.
test:
[mxmlc] C:\Users\user\Documents\workspace\project\bin-debug\projectTestRunner.swf (1626331 bytes)
[flexunit] Validating task attributes ...
[flexunit] Generating default values ...
[flexunit] Using the following settings for the test run:
[flexunit] FLEX_HOME: [C:\Program Files\Adobe\Adobe Flash Builder for Force.com\sdks\4.5.1.21328]
[flexunit] haltonfailure: [false]
[flexunit] headless: [false]
[flexunit] display: [99]
[flexunit] localTrusted: [true]
[flexunit] player: [flash]
[flexunit] command: [C:\Program Files\Adobe\Adobe Flash Builder for Force.com\sdks\4.5.1.21328\runtimes\player\10.2\win\FlashPlayerDebugger.exe]
[flexunit] port: [1024]
[flexunit] swf: [C:\Users\user\Documents\workspace\project\bin-debug\projectTestRunner.swf]
[flexunit] timeout: [60000ms]
[flexunit] toDir: [C:\Users\user\Documents\workspace\project\report]
[flexunit] Setting up server process ...
[flexunit] Starting server ...
[flexunit] Opening server socket on port [1024].
[flexunit] Waiting for client connection ...
[flexunit] Entry [C:\Users\user\Documents\workspace\project\bin-debug] already available in local trust file at [C:\Users\user\AppData\Roaming\Macromedia\Flash Player\#Security\FlashPlayerTrust\flexUnit.cfg].
[flexunit] Executing 'C:\Program Files\Adobe\Adobe Flash Builder for Force.com\sdks\4.5.1.21328\runtimes\player\10.2\win\FlashPlayerDebugger.exe' with arguments:
[flexunit] 'C:\Users\user\Documents\workspace\project\bin-debug\projectTestRunner.swf'
[flexunit] The ' characters around the executable and arguments are
[flexunit] not part of the command.
[flexunit]
[flexunit] Stopping server ...
[flexunit] End of test data reached, sending acknowledgement to player ...
[flexunit] Closing client connection ...
[flexunit] Closing server on port [1024] ...
BUILD FAILED
C:\Users\user\Documents\workspace\project\build\build.xml:33: The following error occurred while executing this line:
C:\Users\user\Documents\workspace\project\build\build.xml:175: java.util.concurrent.ExecutionException: Socket timeout waiting for flexunit report
Many thanks for In advance for your help ..We had a similar problem in my project. Took a lot of research and trial and error, but we finally narrowed it down to the resource.properties file. Turns out that if the file gets too big it causes this problem. Extending the timeout doesn't help. You have to break your resource.properties into more granular files to reduce the file size. This seems to fix the problem. We have had it happen several times since then and we know how to fix it, so we get it fixed pretty quickly.
Not sure if this will fix your problem, but it fixed ours. -
Strobe Media Playback, basic code not working with FLV file?
I am trying to use the following code with Strobe Media Playback swf 1.5:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title> </title>
<script type="text/javascript" src="scripts/swfobject.js"></script>
<script type="text/javascript">
var flashvars = {};
flashvars.src = "song.flv";
flashvars.poster = "preview.jpg";
var params = {};
params.movie = "StrobeMediaPlayback.swf";
params.allowfullscreen = "false";
params.allowscriptaccess = "always";
var attributes = {};
// Embed the player SWF:
swfobject.embedSWF
( "StrobeMediaPlayback.swf" //swf file name
, "videoDiv" // targeted div
, "652", "366" // width, height
, "10.1.0" // Flash version
, "scripts/expressInstall.swf" //location of expressinstall script
, flashvars
, params
, attributes
</script></head>
<body>
<div id="videoDiv">
<video controls="controls" poster="preview.jpg" width="652" height="366">
<source src="song.flv" type="video/flv" />
<source src="song.ogg" type="video/ogg" />
</video>
</div>
</body>
</html>
However, the page is saying:
We are having problems with playback. We apologize for the inconvenience.
My links do not appear to be broken, I have checked them with Firebug / View Source. Has the javascript changed for Strobe 1.5?Okay, I think I have it *partly* figured out. If I use the link from the example it works:
http://players.edgesuite.net/videos/big_buck_bunny/bbb_448x252.mp4
Does the video have to be online for it to work?
Maybe you are looking for
-
Select from table containing clob
If i try to select from table containing clob column in SQL PLus it gives error. Tab1 contains 3 clob columns and 1 blob column select * from tab 1; SP2-0678: Column or attribute type can not be displayed by SQL*Plus The same statement works in SQL D
-
How do I add a link to the key chain?
I am new to mac , my supplier is asking me to add them as a trusted site . I am having trouble doing this . All help is appreciated. Thank you in advance
-
When I buy a song that has the ringtone icon it goes away after I buy it
When I go to my music the icon is gone and I can't create ringtones. How to I get it back?
-
BizTalk User Credentials, Certificates in transport header
BizTalk handles user credentials in Enterprise Single Sign on and the certificates are stored in Certificate store. I have been asked a general question, Is it possible that user credentials & certificates in a transport header? I am not exactly sure
-
Sales order line item cannot be rejected as service order has been archived
Iam trying to reject a line item in a sales order with a "AP cancel line item" reason, but it does not allow me saying that the service order does not exist. The service order has been archived earlier. Is there any solution or workaround of this pro