Sunday, August 2, 2009

How do I pass a variable from an embedded .swf flash file to html?

I am trying to figure out how to pass a variable from flash to an html page. For example: Lets say I have an html page with an embedded flash .swf file and a read only text box, and when the user clicks on button 1 in the flash file, the text box reads 'One', and when the user clicks on button 2, the text box reads 'Two'. Keep in mind that the text box isn't in the flash .swf file, but on the html page itself.





I've looked around quite a bit and can't seem to find the solution. All I've found is a bunch of articles on how to pass variable to a swf file, not retrieve them from it.

How do I pass a variable from an embedded .swf flash file to html?
You will have to do this via javascript. You can have your flash actionscript call javascript functions on the HTML page. Then through that you can easily set the text of a textbox using javascript DOM functionality.





The following message board talks a bit about it and provides some code that shows you some actionscript / javascript action. This should give you an idea of how you can merge the two to produce your desired result.





Good luck


How do you find out what the HTML code is of webpage you're viewing?

Also: Is it legal to copy html code from another website?

How do you find out what the HTML code is of webpage you're viewing?
In Internet Explorer: Right-click and click on View Source to get a box with the HTML.





In Firefox: Right-click and click on View Page Source.





Its legality is somewhat of a gray area; using it for learning purposes is fine, but blatantly copying someone else's code without asking them and referencing them violates copyright law.





Note: in well-written webpages, this won't include the CSS (layout) code, so it may be slightly useless for trying to copy a design. For that, you have to find the stylesheet link that'll be near the top of the page, and it'll say something like http://blah.com/blah/blah3.css; this is a CSS file that you can download that will contain the layout code.
Reply:right click on the webpage and go to view source a txt box will pop up with the code and it is perfectly legal or you wouldnt be able to get it.
Reply:In Internet Explorer, go to "View --%26gt; Source". This process is similar in other browsers.


Also, if you are using the html code as if you are its author, then it is illegal.

eurovision song contest

Where can I find people with HTML, JAVA, and Dreamweaver experience to help me start a Web based business?

Looking for Business partners to help me start this business. I have the business savvy, but I need webmasters to handle the technicial end.

Where can I find people with HTML, JAVA, and Dreamweaver experience to help me start a Web based business?
try dice.com or hotjobs.comj or monster.com
Reply:you can post a ad on myspace carrers


Can people block a web site by what is typed in the comment of an HTML source code?

Can a web site be blocked by what is in a comment? The comment itself would not appear on the page, only in the HTML source code so it wouldn't be blocked because it is not visible, right?

Can people block a web site by what is typed in the comment of an HTML source code?
It's not possible to block the website just by an HTML comment. It's not even possible by HTML alone, but using other languages such as JavaScript.


How do you make a sign up box that send resalts to your email in HTML?

How do you make a sign up box that send resalts to your email in HTML? for a freewebs website.

How do you make a sign up box that send resalts to your email in HTML?
You need to insert a form in the page and attach a mailer script to it. See the link for one such example.
Reply:The best place for this would be in your company's break room. Make a large sign saying "results". Have co-workers submit their results on paper, then give it to a secretary to create a spreadsheet and send the e-mail. I've been doing this for years without a hitch.
Reply:If you have a yahoo webhosting account, you can find an email form under the section; FORMS ..





Otherwise you can use perl or PHP or javascript to make one.





1!
Reply:What's a resalt?


How do I make sure My MYSPACE blog is in HTML mode?

How do I make sure my MySpace blog is in HTML mode? I make layouts and I need it to be in HTML mode. Help!! THNKU--First answer that is correct gets 10 PTS

How do I make sure My MYSPACE blog is in HTML mode?
Simple, read the code over and double check for any javscript or perl entries.

wedding song

Friday, July 31, 2009

Myspace help! Is there an html code to block people from copying and pasting from a Myspace blog?

I wanted to start putting my poems on MySpace, but I don't want anyone to steal them.

Myspace help! Is there an html code to block people from copying and pasting from a Myspace blog?
yes, but they will steal them either way it goes. if it can be displayed on someones computer, then they can copy it. how? with a digital camera and re type it. I think you should keep ur favorite poems to urself and only read those to others. Post the ones that you think suck to you. Remember, what sucks to you might be gold to others.
Reply:Well, the answer still didn't say how to do it and I'm trying to figure it out. So, how do you block someone from copy/paste your blog???? Report It