473,320 Members | 1,887 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Reseting a flash object.

UJ
I've got a flash object on a Window's form. At some point I want to change
the flash file that is playing. But it doesn't seem to want to do it. I've
done a stop on the control, changed the name of the movie file, set
movieembed = true, and refresh it. But it always plays the same file.

How do I reset it - or do I need to destroy the control and recreate it?

TIA - Jeff
Apr 12 '06 #1
3 1825
UJ,

It seems like you might have to do this. Is it possible to set the
source of the file to blank/null, and then set the source back? Maybe that
will work.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"UJ" <fr**@nowhere.com> wrote in message
news:ed**************@TK2MSFTNGP02.phx.gbl...
I've got a flash object on a Window's form. At some point I want to change
the flash file that is playing. But it doesn't seem to want to do it. I've
done a stop on the control, changed the name of the movie file, set
movieembed = true, and refresh it. But it always plays the same file.

How do I reset it - or do I need to destroy the control and recreate it?

TIA - Jeff

Apr 12 '06 #2
UJ
Turns out you need to do a .loadmovie and that resets it.

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote in
message news:OJ**************@TK2MSFTNGP04.phx.gbl...
UJ,

It seems like you might have to do this. Is it possible to set the
source of the file to blank/null, and then set the source back? Maybe
that will work.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"UJ" <fr**@nowhere.com> wrote in message
news:ed**************@TK2MSFTNGP02.phx.gbl...
I've got a flash object on a Window's form. At some point I want to
change the flash file that is playing. But it doesn't seem to want to do
it. I've done a stop on the control, changed the name of the movie file,
set movieembed = true, and refresh it. But it always plays the same file.

How do I reset it - or do I need to destroy the control and recreate it?

TIA - Jeff


Apr 13 '06 #3
Hi,

Could you please post (this part of) your code? It seems I've the same
problem but another loadMovie doesn't solve it.

Thank you,
Marije
UJ schreef:
Turns out you need to do a .loadmovie and that resets it.

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote in
message news:OJ**************@TK2MSFTNGP04.phx.gbl...
UJ,

It seems like you might have to do this. Is it possible to set the
source of the file to blank/null, and then set the source back? Maybe
that will work.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"UJ" <fr**@nowhere.com> wrote in message
news:ed**************@TK2MSFTNGP02.phx.gbl...
I've got a flash object on a Window's form. At some point I want to
change the flash file that is playing. But it doesn't seem to want to do
it. I've done a stop on the control, changed the name of the movie file,
set movieembed = true, and refresh it. But it always plays the same file.

How do I reset it - or do I need to destroy the control and recreate it?

TIA - Jeff



May 10 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Uma Vivek | last post by:
Hi, I have a problem with Flash remoting via .NET . I seem to have all the code right, but flash does not seem to display the data at all. Here's is what Ive done so far... (1) Ive...
9
by: Keith Rowe | last post by:
Hello, I am trying to reference a Shockwave Flash Object on a vb code behind page in an ASP.NET project and I receive the following error: Guid should contain 32 digits with 4 dashes...
1
by: waschbaer2 | last post by:
Hi! What's the proper Visual Basic for Applications (VBA) code for reseting the menu bar and the tool bar in Access. Thanks in advance, Markus
10
by: Steve Cook | last post by:
Hi, I have an upload application written in PHP and Flash. The PHP page gets the file information via $_POST. Moreover, the user never actually visits the PHP page, rather Flash sends the...
2
by: avanhalen | last post by:
To embed flash objects in my pages, I read them from a database. A script file (Filedownload.aspx) reads it from the database, and streams it to the browser. Here are two example flash objects...
8
by: Neo Geshel | last post by:
Greetings. BACKGROUND: My sites are pure XHTML 1.1 with CSS 2.1 for markup. My pages are delivered as application/xhtml+xml for all non-MS web clients, and as text/xml for all MS web...
1
by: critchey1 | last post by:
Hey everyone, i've been playing around with trying to get some scripts to work with detecting whether flash player is installed on your computer or not. I found a flash detection kit on the adobe...
2
dream party
by: dream party | last post by:
Inserting a Flash (SWF, FLV) file into HTML web page is already an old and familiar thing to all of us. It is a rather non-flexible thing that just to edit some options in the template. However, I...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.