<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.2.1" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Dynamically creating ActionScript cue points from FlashVars received from the HTML container</title>
	<link>http://blog.flexexamples.com/2007/08/09/dynamically-creating-actionscript-cue-points-from-flashvars-received-from-the-html-container/</link>
	<description>A bunch of examples for Adobe Flex and ActionScript</description>
	<pubDate>Tue, 06 Jan 2009 06:25:41 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.1</generator>

	<item>
		<title>By: peterd</title>
		<link>http://blog.flexexamples.com/2007/08/09/dynamically-creating-actionscript-cue-points-from-flashvars-received-from-the-html-container/#comment-7699</link>
		<author>peterd</author>
		<pubDate>Wed, 19 Mar 2008 14:08:26 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2007/08/09/dynamically-creating-actionscript-cue-points-from-flashvars-received-from-the-html-container/#comment-7699</guid>
		<description>neeraj,

I'd probably start by creating an ActionScript cue point that gets dispatched when the FLV movie is half finished (something like &lt;code&gt;myVideoDisplay.totalTime/2&lt;/code&gt;). When that cue point is reached and the &lt;code&gt;cuePoint&lt;/code&gt; event is dispatched, use the ExternalInterface class (there should a few examples at http://blog.flexexamples.com/category/externalinterface/) to set the HTML button's visibility to visible (you may have to wrap the button in a &#60;div&#62; or some container).

Peter</description>
		<content:encoded><![CDATA[<p>neeraj,</p>
<p>I&#8217;d probably start by creating an ActionScript cue point that gets dispatched when the FLV movie is half finished (something like <code>myVideoDisplay.totalTime/2</code>). When that cue point is reached and the <code>cuePoint</code> event is dispatched, use the ExternalInterface class (there should a few examples at <a href="http://blog.flexexamples.com/category/externalinterface/" rel="nofollow">http://blog.flexexamples.com/category/externalinterface/</a>) to set the HTML button&#8217;s visibility to visible (you may have to wrap the button in a &lt;div&gt; or some container).</p>
<p>Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: neeraj</title>
		<link>http://blog.flexexamples.com/2007/08/09/dynamically-creating-actionscript-cue-points-from-flashvars-received-from-the-html-container/#comment-7696</link>
		<author>neeraj</author>
		<pubDate>Wed, 19 Mar 2008 13:33:45 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2007/08/09/dynamically-creating-actionscript-cue-points-from-flashvars-received-from-the-html-container/#comment-7696</guid>
		<description>i hav a  flv fullscreen player,inside a html page,

in that html page one button is there,

that button should be invisible until user click &#38; watch half of the flv movie,

after watching that half of the movie,that html button should be automatically active,

any idea how to do this type of thing using javascript in flash

plz mAIL ME AT neeraj8585@gmail.com</description>
		<content:encoded><![CDATA[<p>i hav a  flv fullscreen player,inside a html page,</p>
<p>in that html page one button is there,</p>
<p>that button should be invisible until user click &amp; watch half of the flv movie,</p>
<p>after watching that half of the movie,that html button should be automatically active,</p>
<p>any idea how to do this type of thing using javascript in flash</p>
<p>plz mAIL ME AT <a href="mailto:neeraj8585@gmail.com">neeraj8585@gmail.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peterd</title>
		<link>http://blog.flexexamples.com/2007/08/09/dynamically-creating-actionscript-cue-points-from-flashvars-received-from-the-html-container/#comment-160</link>
		<author>peterd</author>
		<pubDate>Sun, 12 Aug 2007 17:41:30 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2007/08/09/dynamically-creating-actionscript-cue-points-from-flashvars-received-from-the-html-container/#comment-160</guid>
		<description>See &lt;a href="http://blog.flexexamples.com/2007/08/12/dynamically-creating-actionscript-cue-points-from-flashvars-loaded-using-the-httpservice-tag/" rel="nofollow"&gt;"Dynamically creating ActionScript cue points from FlashVars loaded using the HTTPService tag"&lt;/a&gt; to see how you can use the &#60;mx:HTTPService /&#62; tag to load a text file of name/value pairs and convert that into cue point objects. Using this technique would let you easily call a dynamic server-side script which could query a database and return cue point objects as name/value pairs or as XML which could be parsed into cue point objects.</description>
		<content:encoded><![CDATA[<p>See <a href="http://blog.flexexamples.com/2007/08/12/dynamically-creating-actionscript-cue-points-from-flashvars-loaded-using-the-httpservice-tag/" rel="nofollow">&#8220;Dynamically creating ActionScript cue points from FlashVars loaded using the HTTPService tag&#8221;</a> to see how you can use the &lt;mx:HTTPService /&gt; tag to load a text file of name/value pairs and convert that into cue point objects. Using this technique would let you easily call a dynamic server-side script which could query a database and return cue point objects as name/value pairs or as XML which could be parsed into cue point objects.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peterd</title>
		<link>http://blog.flexexamples.com/2007/08/09/dynamically-creating-actionscript-cue-points-from-flashvars-received-from-the-html-container/#comment-116</link>
		<author>peterd</author>
		<pubDate>Fri, 10 Aug 2007 04:59:48 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2007/08/09/dynamically-creating-actionscript-cue-points-from-flashvars-received-from-the-html-container/#comment-116</guid>
		<description>Click the video above to begin/replay playback. Sorry, I should have added a label or something in there to make it a bit more obvious. Also, hovering the mouse over the video displays the progress bar showing video playback.</description>
		<content:encoded><![CDATA[<p>Click the video above to begin/replay playback. Sorry, I should have added a label or something in there to make it a bit more obvious. Also, hovering the mouse over the video displays the progress bar showing video playback.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
