
Welcome Guest
|
#1
|
|||
|
|||
|
FLVPlayback nested in mc created with attachMovie
Ciao,
I'm having a problem with an mc created with attachMovie. The mc has an instance of FLVPlayback in it that is not displaying the flv movie assigned dynamically to it's contentPath property. After using attachMovie, apparently the FLVPlayback's contentPath property is assigned correctly, but it's not displaying the flv. When I was using an instance of the movie clip that is already on the stage I could assign contentPath without a problem and the video displays. I'm working with XML and custom classes so I'll only show a few code snippets. Here's the code that works fine using an instance already on the stage: Code:
this.mainTimeline.videoActivity.playback.contentPath = mediaActivity.getMediaFileURL() ; Here's the part that's not working, when I attach the movie clip. It looks like this (done within a loop): Code:
var videoClip:MovieClip = mainTimeline.attachMovie( "VideoCaseHistory" , MCName, (i + 10) ) ; videoClip.playback.contentPath = mediaActivity.getMediaFileURL() ; While debugging, I did a for-in loop to check and see if I could find the nested component and it's properties. It finds the FLVPlayback instance fine and it finds it's contentPath property. The contentPath even shows the right value for the flv, but it's not displaying. Is there something I'm missing, big DOH!, or something strange about using the FLVPlayback instance in connection with attachMovie? Any tips are greatly appreciated, Pauline |
«
Previous Thread
|
Next Thread
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Stopping FLVPlayback, Help! | milagre | Newbies |
3 | 08-04-2008 12:25 PM |
| Nested Shapes vs. Nested Sprites in AS 3.0 | clem_c_rock | ActionScript 3.0 |
2 | 05-23-2008 01:53 AM |
| Targeting programatically created Movie from within externally loaded swf | gp_330 | Flash MX 2004 |
2 | 11-08-2005 08:49 PM |
| Do data components not work on Nested Screens? | Younify | Actionscript 2.0 Components |
0 | 08-12-2005 04:52 PM |
| assigning script to objects created with attachMovie | Dark Abyss | Flash MX ActionScript |
9 | 02-24-2005 07:40 PM |





