sad1sm0
Mar 20 2008, 06:53 PM
I don't know if anyone on here is familiar with this script. You can check it out here. Basically it's a script that is supposed to give you javascript control over a flash object. I am using it for a flv player. My question is this. I would like to display the current file's title in a span element on the page, but the function described to gather the information for the current file doesn't seem to work for me. The function, as outlined on on this page looks like this: CODE function getUpdate(typ,pr1,pr2,swf) { if(typ == 'state') { alert('the current state is: '+pr1'); } } I'm not even remotely sure how this is supposed to work, and I just keep getting an error that says that it isn't a function. I am using FireFox. Any help would be appreciated. Thanks
Reply
galexcd
Mar 24 2008, 05:00 PM
So you are trying to run javascript actions from flash? Whenever I've done that I never did something as complicated as that. There may be an advantage to doing it another way but i'm not sure, but this is how I would always do it: CODE geturl("java script:functionname();"); where functionname is the name of the javascript function you are trying to call from flash.
Reply
Recent Queries:--
swfobject getupdate - 56.38 hr back. (1)
-
swfobject.js flash multiple onclick - 88.79 hr back. (1)
Similar Topics
Keywords : flash, javascript, interaction, swfobject, js, questions
- Adding Flash Music Player To Home/any Page
How-to (put any song you want!!!) (4)
Some Of The Biggest Questions In Life.
Things that make you go hmmmm... (3) NUMBER ONE! The current world record for a 100m dash is 9.72 seconds right?? But it's been
broken before and it's more than likely that at some point it will be broken. So what is the
highest that the 100m dash record will ever go. Technically there is no maximum that the record can
get to right? I mean you can always go a bit faster. But there also must be a limit to how fast
people can travel right? Everyone says you cant go faster than the speed of light, as we know the
speed of light equals 299 792 458 m / s right? So the maximum time that you can do it ....
Amazing Software
I found this amazing software, if you work with flash.. (0) If you work with flash, this is the coolest software i seen.. You can make amazing things for the
desktop.. check it out.. www.swfmagician.com ....
Flash Wmode(transparent) Pramater In Firefox3(on Linux) - Not Working
issue with flash transparancy and firefox3( on linux op. sistem) (1) Can anybody help me... Unfortunately I have an issue with firefox2-3 (under linux (ubuntu)
operating sistem) and flash transparacy... The site structure is: Menu (dropdown with javascript)
and under that a big flash with wmode=transparent param enabled.. On mouse-over the menu is not
appearing because the flash hides it... With all other browsers it works. I understood that this
is a flash plugin bug under linux - firefox2-3 Does anyone has a solution?....
Lesser Known Useful Javascript Features
(2) Variables Javascript assigns every variable a type which changes as we assign different
values to the variable. We can get the type of a variable using the ' typeof ' operator.
For eg., CODE var hello = "Welcome to Trap17"; var year = 2008; alert(typeof hello
); alert(typeof year ); The above lines will output the type of the first variable
'hello' as String and the second variable 'year' as Number . The types of
Javascript variables are Boolean, Function, Number, Object and String . A variable with ....
Adjusting Rows/cols Of Frames In Frameset Using Javascript Is Not Working In Firefox 3 Is Not Working
(4) I am not able to adjust frames length/width in a frameset using java script functions I am using
firefox 3. In below code changerows is not working for me. Where as same is working in IE6.
Please help me in resolving this issue. Note: here frameset1 is the name given to the FRAMESET.
CODE function changeRows() { parent.frameset1.rows="30%,70%" }function
restoreRows() { parent.frameset1.rows="50%,50%" } ....
External History And Favorites
how to put them on a flash drive (0) i installed FF3 (which works great) on my flash drive for testing perposes (web desighning). anyways
yesterday at school since i had time i went to the library to use it but i realise that my history
and bookmarks where not saved on the flash even though i imported (duh i know they're on my hard
drive). i'd like to know how can i put my history and favorites (or at least my favorites) on
my flash drive and how to make sure that the browser knows that and that's what it uses not the
one on the hard drive. thank you /laugh.gif" style="vertical-align:middle" ....
Cms For Video, Embedding Flash
(2) Hello, I was wondering if anyone knew of a good open source CMS that allows dynamically embedding
flash videos such as those from youtube (needs to be able to embed flash with parameters), and also
allows uploading any type of file to the main server. Thanks! =)....
Tax Deduction Questions...
(0) I was just looking at tax deductions because I'm buying a bunch of stuff for when I go downrange
and was planning on doing a tax write-off on that stuff. However, I'm not sure what is allowed
technically/legally, so if anyone could point me in the right direction, that would be cool.
Basically, I'm going off and buying a ton of stuff off of Ranger Joe's because we all know
that in today's Army, yesterday's Army, and the Army of yesteryear, the government has been
great in equipping the individual soldier with the best stuff to keep them alive. /....
A Couple Of Questions About Delphi
(3) 1. Is there a way to get a legal version of delphi 7 free? 2. Where are some tutorials for it? 3. Is
this is the wrong section?....
Some Questions About Qupis Hosting !
(2) Hi All, I have some more questions about Qupis hosting. 1.) Will my account get deleted suddenly
without notice ? 2.) When doing ajax on some applications. The text-ad appear on that data also.
Possible this limited to only a single whole pages ? Thanks Eric,....
Flash Media Into Html/css Website
does anyone know how to import a flash into a webpage with transparenc (1) Hi I need some help , Im designing this website for school studies However, I made a flash drop down
menu, works perfectly, but you know how flash has a background when you export it in to a SWF file?
For example my flash is width= 800, and height = 200 but my div box on my html page for my
navigation is only 50 px my buttons is width of 50px and the rest of the content is the drop down
animations i want to insert it into my navigation div box but i want to set the flash background to
transparent so that when the drop down menu comes down it overlaps the text or whateva....
Flash Streaming
flash streaming (4) Who what can tell about flash streaming? On mine this is the best way to show the other people that,
that you can create. Except for that in fact you can use Live and on demand streaming solutions Free
of charge, but on mine it depends as well on the "companies" to which you address. Not from all you
can receive 100 %-s streaming. Interestingly to whom you have addressed for flash streaming
/rolleyes.gif" style="vertical-align:middle" emoid=":rolleyes:" border="0" alt="rolleyes.gif" /> ....
Java Vs Javascript
(11) I thought they were completely different things. Surely javascript should be seperated from the rest....
Flash Problem
sometimes the buttons will load the wrong link. (9) Its weird but sometimes when you hit the forums or roster button on my flash banner it will load:
www.childrenofconan.trap17.com/index.html instead of what its suppost to. It works fine, but if you
mess around and click the buttons for a little bit you will notice this happening. This is a problem
because people visiting the site will sometimes click the button once and be like oh I guess the
link is broken and never come back, if anyone has a solution to what could be the problem it would
be awesome. This is one of my first custom flash banners and im just confused what....
Do You Close The Javascript?
about browser's secruity (3) hi folks i'm learning that the javascript and cookies sometimes leak your real ip and actions on
surf , some expert advice me close javascript ,stop the function of my opera and IE. so i did.then
everytime i log into a forum i need opend it manually so i can log in. /sad.gif"
style="vertical-align:middle" emoid=":(" border="0" alt="sad.gif" /> and lots of website's using
javascript as a necessary then i opened it manually..oh my life got boring. /dry.gif"
style="vertical-align:middle" emoid=" how your guys doing with that? is it really necessary or
not? bt....
Simple Javascript And Password System
How to protect your pages with password (6) The quickest way to get a password protection system up and running is to use a Prompt box in
JavaScript that has a title like "Enter your Email Address". Only you and the relevant users know
what the password should be, could even be one each, that can be sorted out at the next page then
pass the "input" directly through the url by changing the .href, like
http://www.iSource.net.nz/users/?leTmeIn= The page that then processes this should also check for
the referring page, and three fails from an IP if you like the php (the next page): CODE
<?php // processdo....
How To: Flash Streaming
How to (if possible) stream a flash (*.swf) movie over the net (4) Hello, Searched through the forum but didn't find any hits on how to do this. I've designed
a page that has an embeded flash movie (*.swf format). The page works great when I test it on my
local server but when I post it on the net the movie (about 2 megs in size) takes a while to load.
Is there any way to stream the movie as opposed to have the browser download it all at once? Any
other suggestions to speed the loading of the page? Thanks in advance.....
Can I Make Dynamic Menu In Php
is it posible to make dynamic menu in php without javascript (7) As there are many java script by which we can have event based interaction like,message on mouse
over etc,that we can create dynamic menu in javascripts to make navigation bar ,but is it possible
in php to have this acomplished without javascripts,i am new to php,is it possible?. Thanks....
Learn Html Quick And Easy
HTML, javascript, and CSS (14) well eversince i got interested in web desighn i've looked for tutorials but they where not that
helpfull and uderstanderble but there where two web sites that i liked 1. my favorite one was
htmldog it had tutorials on HTML, CSS, and a little bit of javascript. they where very
comprehenseve . and i read through all of them, understoode them, in about less than a week. also
has full references for HTML, and CSS tags. 2.since html dog did not provide realy good javascript
tutorial i looked to w3school for that while it wasnt very understandable too me, maybe it....
Flash Flash Revolution
(12) Anyone play this? It's basically DDR except the songs are way faster and you play them with your
fingers. There are two basic styles that people play, one with two fingers and the other with
four... Two indexes - can make it hard to do some of the faster songs, but when you're fast
enough, you mostly get perfects. Index/middle - makes it easier, except you'll get more
goods-averages on the left and right arrows. And since the up and down arrows are on top of each
other, 4 finger can be a little akward to use. When I play, I arch my right index finger and ....
Flash Games
(4) Hi guys!!!! I was searching some Flash games. Maybe some one of you can give me an
help about that!!!!! You know, I need to create a particulare effect that
alllow me to do some knid of 3d room, where you can trun around your self and whach walls. Than I
will put link in tha walls, so that I will create a Labyrint game. any suggestion is apreciated
ALEXVIII....
Allie's Advice
hey ppl! just ask me questions and i'll give u answers and adv (5) hey ppl! i am dead serious. just ask questions and i'll give u answers. (or advice) if u
don't want to type ur question for the whole board to see, you can email me privatley. include
ur name, city and state. (if in U.S) and if u give me ur email address in the note, that would be
easier 4 me. thx! /biggrin.gif" style="vertical-align:middle" emoid=":D" border="0"
alt="biggrin.gif" /> don't pm me cuz i don't ever check that, so just email me at:
actress_gurl_94@yahoo.com u can talk to me about love problems, crushes, trouble, acting careers,
sin....
Adding Rows & Columns In Html Table Using Javascript
(1) I'm trying to create a website with a form that collects some user information to store in MySQL
database. However, I've a problem when I want to dynamically add new rows and columns in the
HTML table so that the user can add more information in the dynamically added textboxes. Here's
what I have: CODE <table border="0" width="90%"
align="center" id="itemsTable"> <tr>
<td width="20%"> Quantity
<....
Dell D600 Questions
(2) Hello, i have a Dell D600 laptop, and i want to know if it is prossible to upgrade the processor to
the Dothan series , anyone tryed this?? The laptop specifications: Pentim M1.6 FSB 400 1mb L2
cache (Banias) 512MB 266DDR 1 modules (1 slot free) MotherBoard Intel i855PM Rev. 3, BIOS A16
Another question i have is this: This laptop come with a Ati RADEON 9000 with 32mb (not onboard),
and the aperture size is : 128mb, in the bios there isn´t a option to change it, So if i add a new
512mb module of ram(1GB total RAM), the system automatically will increase the ape....
Javascript Close Window
Javascript close window (12) Hi does anyone have a code to close the browser window. This code needs to be used to close an
actual full sized window, not a pop-up window.....
Rpg Maker 2003 Questions
Questions in general (27) While looking for help on the 2003 edition, I could NOT find any sites that covered one-time events
or displaying your character name. I'll put this into context if it helps. The hero starts in
a house, with a pile of jewels on the table. I made an event where he can 'talk' to the
jewels, and gains 5 currency. I WANT this event to happen only once, but he can keep talking to the
jewels again and again. So, is there a way to make the jewels dissapear after use? After he steps
out of his house, he heads south and meets a little girl on the coast. She asks h....
Flash Movie As Background?
- Is it possible? (20) Can I create a Flash movie, with sound, and set it as my background for my site? I don't want
this flash movie to be the body background, but in a cell. If somone knows a code for that, do tell.
, thanx Nickmealey....
Difference Between C, C++ And C#?
And some other questions. (13) What's the difference between C, C++ and C#? What is more closely related to working with
ASP.NET, C++, C#, or VB? Which comiler is best for C++ and/or C#? Are there any benefits in choosing
VB over C++ or C#? Z^ivjo HR....
Best Free Flash Editor
(8) Anyone know where I can find the best free Flash editor?....
Looking for flash, javascript, interaction, swfobject, js, questions
|
|
Searching Video's for flash, javascript, interaction, swfobject, js, questions
|
advertisement
|
|