1 person found this helpful
What is the code in the SearchResultContainer file...
In what way do you think you can get new Video Id by using the statement newvideoida= searchContainer.selectedVideoID
What is the relation where you have set the videoId in b.as so that you are accessing in SearchResultContainer file..
Sorry for the confusion...
SearchResultContainer() is actually b.as
I forgot to change it when I posted here...
Few questions come to my mind...by seeing your code posted...
1) Do you have any public variable or property selectedVideoID in b.as (This was not seen in b.as file)
2) When your YouTubeSearchEvent.CHANGE_VIDEO_READY event is dispatched in your a.as file which is called in onClick()
3) Just by creating an instance to b.as file ...Do you get the video Id populated in b.as file.....
Your code I think is not fully clear ...and you missed some part of the code being posted..