I have a Video object "Video1" and a button in my project.
I want to click the button, which will open "Dialog.FileBrowse" - there I'll select a video file and this file will load into the "Video1" object - I used this script:
and it doesn't work (there's a message "Page1 -> Button1 -> On Click, Line 3: Argument 2 must be of type string"). Could you help me?Code:video_file = Dialog.FileBrowse(true, "Locate File", "C:", "All Files (*.*)|*.*|", "", "avi", false, true); Video.Load("Video1", video_file, true, false);


