Multidmedia Limited (MDM)
Search
advanced search »    
Quick Links
advanced search »
   Friday September 10th 2010

 




Untitled Document
+
Products & Solutions
 
Products
- Zinc 3.0 Builder
- Zinc 3.0 Plug-In Windows
- Zinc 3.0 Plug-In Mac OSX
- Zinc 3.0 Plug-In Linux
- Zinc 3.0 Development Suite
- Inferno 1.0 Windows
- Inferno 1.0 Mac OSX
Solutions
- Developers
- Designers
- Education
   
+
Support & Resources
 
Support
- Support Home
- Technotes & Known Issues
- FAQs
- Contact Us
Resources
- Software Updates
- Software Release Notes
- Software Bug Management
- Developer Articles
- File Exchange
- LiveDocs
- Support Forums
   
+
Purchase Online
 
- Online Shop
- Find a Reseller
- Volume Licensing
   
+
Company
 
- About Multidmedia (MDM)
- Client Showcase
- Legal Information
- Job Opportunities
- Press Room
- Blog
   
 

breadcrumbs

Home > Support > Bugs

 

Software Bug Management & Tracking

The MDM Software Bug Management and Tracking System is used to track and monitor the progress of user reported software bugs. You can search for a reported issue below to track it's progress and/or to get more information on an outstanding technical issue.


Bug Report #ZNC-2536DX
Verified on 18 December 2009
in certain scenarios reading "source" property of mdm.MediaPlayer could crash application  
Reported By Staff Member
This issue is Pending and is marked as a Low priority.
 
Zinc 3.0 > Windows > Wrapper/Projector > 3.0.18 > Crash/Hang  
Description
On specific use case trying to read "source" property of instance of mdm.MediaPlayer would result in application crash.

To repeat please compile provided example.

The issue only occurs if:
- instance of mdm.MediaPlayer was created with empty path passed in constructor
- the "source" property has been set on such instance on later code call
- the "source" property was tried to be read via call,
that is as in example below:

function initApp():void
{
debug("initApp();");
// create instance of player with empty path (allowed)
mediaPlayer = new mdm.MediaPlayer(0, 0, stage.stageWidth, stage.stageHeight/2, "none", false, true, "");
mediaPlayer.onWMPChangeState = playerNewState;
// now after player is craeted with empty path
// set new path using that property
// if we pass a path in constructor - no subsequent crash occur
// on "property" read operation
var path:String = mdm.Application.path+"sampleOne.wmv";
mediaPlayer.source = path;
};
/**
* called by media player instance when
* player state is changed
* when playback is 3 (playing) for the first time try to read "source" property of player
*/
function playerNewState(evt:Object):void
{
debug("player newState: "+evt.newState);
// 3 (Playing)
if(evt.newState == "3")
{
// try to show what is played in player
debug("now playing: "+mediaPlayer.source);
};
};

Attached File(s)
Click Here to download the Attached File
Resolution
Pending

View all Pending Bug Reports » Report a new Software Bug/Issue »

 

 
Multidmedia Limited (MDM)

AddThis Social Bookmark Button
Copyright © 2002-2010 Multidmedia Limited (MDM) All rights reserved. Use of this website signifies your agreement to the Terms of Use.
Flash, Flex and associated Logos are the Registered Trademarks of Adobe Systems, Inc.
There are currently 21 Users Online.