1 person found this helpful
your code is as3 but your applying an as2 property to mattVid. in as3, you want to use source instead of contentPath.
OK good call. I thought so too. I did that too, used source. Got a different error and it did not work, but did try it.
I will add at this point, that if you are posting examples, you are forever my heros. However, if you do post examples, it would be really useful if you posted which version of ActionScript you are using. For an idiot, the differences don't always stand out.
Has anyone done this? I would really like to see the FULL as code for the flash component and the js for the HTML page if possible.
what error are you getting now?
OK. I think you got it.
I really wish I knew more about Flash.
When I set it to MattVid.source, it still didn't work. However in the file that I *did* have working with a hard coded source, there was one additional line that I did not have in this file. On line 1 I added:
And it worked. Therefore it was a combination of two issues, I had set them both right before but not right at the same time in the same file. Once done, it appears to work fine. This is HUGE for us as we are doing dozens of streams a week and I would have to have hardcoded individual files each time. THANK YOU!