Im currently usin inno
Printable View
Im currently usin inno
would I be able to put a button that will refresh everything because it is working best when I just load load the swf from the main form but after adding I need to start the whole app again.
thanks
R
Have you checked the flash version number? Ensure you have the most upto date the control can be different from that in IE for some reason. I have seen it a few times and it stops certain things occuring like text or buttons appearing etc :)
How do you mean check the flash version? In VB? hows that done an where can I get the update if needed.
Thanks
R
Load a control onto a form and load in a flash file. Run it and right click to see the version number. What is it? :)
It says macromedia flash player version 7
7 . 0 . 19 is the new one that came with Firefox. I don't think it updated IE (at least one of them didn't, it would only update Netscape and Firefox and Mozilla)
It probably was Flash.
Do you mean that your app won't read the xml unless you restart your app, or that flash won't read a swf unless you restart aplayer? In the second case, just use TerminateExe to kill aplayer.exe and you'll be good to go.
Sorry if I wasn't clear the player shows and loads from the button but it wont read the XML file until the app is restarted.
Thanks
R
Can you read the xml file first?
Yes it will read the xml and play everything but when I add a track and update the XML it will not play anything.
Thanks
R
are you using FreeFile or a static file number? Did you try to terminate the exe and then read the xml file? Did you ever post your code?
I dont understand what you mean about Freefile or static file I tried adding the code to terminate the exe but I couldnt get it to do anything the only code I can manage to get it to do anything remotely like running the file is using this simple code
Private Sub Command6_Click()
Shell "C:\player\playa.exe", 1
End Sub
I have tried adding the swf to a form but then it wont even read the XML at all.
Thanks
R
what does the swf have to do with the xml file? i thought that you were making an mp3 player. You read playlists from an xml file, and you want to show a swf spashscreen.
is that close, or am i thinking of something else?
Not sure if this result is relavent any more, however, if you want to use
ShellEx to open IE and pass the file (.swf) as a param, like:
VB Code:
ShellExecute 0&, "OPEN", "iexplore.exe", "C:\mgamerz\test.swf", "C:\", SW_SHOWNORMAL
Or using Shell:
VB Code:
Shell ("c:\program files\internet explorer\iexplore.exe C:\mgamerz\test.swf")
Bruce.
The swf is the actual mp3 player.This mp3 player runs off the xml file. It displays the information of the song and has a series of buttons that play, pause, next track etc
R
I got you. Can you read the xml file in again to reset things?
no it wont do anything until I close the app and restart
the app that is not vb