|
-
Feb 23rd, 2005, 06:41 PM
#41
Thread Starter
Hyperactive Member
Re: can someone shed some light on this
-
Feb 24th, 2005, 03:18 AM
#42
Thread Starter
Hyperactive Member
Re: can someone shed some light on this
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
-
Feb 24th, 2005, 03:21 AM
#43
KING BODWAD XXI
Re: can someone shed some light on this
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
-
Feb 24th, 2005, 03:26 AM
#44
Thread Starter
Hyperactive Member
Re: can someone shed some light on this
How do you mean check the flash version? In VB? hows that done an where can I get the update if needed.
Thanks
R
-
Feb 24th, 2005, 03:35 AM
#45
KING BODWAD XXI
Re: can someone shed some light on this
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?
-
Feb 24th, 2005, 03:44 AM
#46
Thread Starter
Hyperactive Member
Re: can someone shed some light on this
It says macromedia flash player version 7
-
Feb 24th, 2005, 04:10 AM
#47
Re: can someone shed some light on this
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.
-
Feb 24th, 2005, 04:29 AM
#48
Thread Starter
Hyperactive Member
Re: can someone shed some light on this
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
-
Feb 24th, 2005, 07:20 PM
#49
Re: can someone shed some light on this
Can you read the xml file first?
-
Feb 24th, 2005, 07:36 PM
#50
Thread Starter
Hyperactive Member
Re: can someone shed some light on this
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
-
Feb 24th, 2005, 07:38 PM
#51
Re: can someone shed some light on this
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?
-
Feb 24th, 2005, 07:43 PM
#52
Thread Starter
Hyperactive Member
Re: can someone shed some light on this
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
-
Feb 24th, 2005, 08:06 PM
#53
Re: can someone shed some light on this
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?
-
Feb 24th, 2005, 08:27 PM
#54
Re: can someone shed some light on this
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.
-
Feb 24th, 2005, 08:35 PM
#55
Thread Starter
Hyperactive Member
Re: can someone shed some light on this
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
-
Feb 24th, 2005, 09:31 PM
#56
Re: can someone shed some light on this
I got you. Can you read the xml file in again to reset things?
-
Feb 24th, 2005, 10:15 PM
#57
Thread Starter
Hyperactive Member
Re: can someone shed some light on this
no it wont do anything until I close the app and restart
-
Feb 24th, 2005, 10:16 PM
#58
Thread Starter
Hyperactive Member
Re: can someone shed some light on this
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|