Multidmedia Limited (MDM)
Search
advanced search »    
Quick Links
advanced search »
   Friday September 3rd 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 > Technotes

 

Technotes & Known Issues

The MDM Technote & Known Issues Index provides a selection of the most recent and popular MDM Technotes. Enter a keyword or phrase into the search box below to search for specific TechNotes and Known Issues.

Untitled Document
   

Technote #0011
FLV's not loading with FLV Player Component
Issue
Loading an FLV with the FLV Player Component in Flash fails to load the referenced FLV Movie.

Most path references online are relative and there is no need to use absolute paths. However, when coding for the desktop, it is always advisable to use absolute paths for a number of reasons.

Firstly, there is no knowing where exactly the user will decide to launch the compiled Application from. It could be from a CD or it could be from a Hard Drive. The second reason is that the internal SWF isn't ever physically available on the users Hard Drive (it is contained within the EXE shell) and therefore doesn't "know" what it's current location is and, more importantly, doesn't know what is relative to it.

Solution
FLV Paths cannot be entered into the Component Parameter box, but must be scripted instead. You must specify the URL of the FLV file as an absolute path using mdm.Application.path. The correct syntax should look like this:

myMedia.setMedia(mdm.Application.path+"myMovie.flv", "FLV");

You should note that the sample code above expects the MediaPlayback Component to have an Instance Name of "myMedia".

If you are using the Flash 8 FLV Player Component, the correct code should be:

myFLVPlayer.contentPath = mdm.Application.path+"myMovie.flv";

Recently Added Most Popular
Troubleshooting Zinc 3.0 Builder and Plug-In Installs
Flash Player 10.1 and Flash 8 Projects on Mac OSX
Remote PDF loading with mdm.PDF
Remote QuickTime Movie Playback with mdm.Quicktime
Installing an Extension and/or Plug-In under Windows 7
Chinese/Japanese Characters do not appear correctly in Flash Input Text Boxes
Screensaver Support in Snow Leopard (Mac OS 10.6)
Screensavers do not exit on User Interaction
Zinc 3.0 Mac OSX SDK Linkage Requirements
Linux Projectors and 'error while loading shared libraries' Message
HTTP Multiple File Download with Flex 2 / ActionScript 3
Internet Explorer 7 and Flash Player 9
FLV's not loading with FLV Player Component
Installing and Registering Zinc 3.x Plug-Ins
'ntdll.dll' Access Violation Error (Zinc v2.5)
Cannot Load XML/FLV Files or Use Shared Libraries
Windows Vista Compatability (Zinc 2.x)
Loading an FLV in a Flex/MXML Project
{mdm} Script Not Working in Flash 9 ActionScript 2 projects
{mdm}Script Not Working in the Zinc Projector (Zinc v2.5)
   
View all Technotes & Known Issues »

 

 
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 125 Users Online.