Load .flv dynamically or at runtime
Hi,
I stucked in a problem when i was trying to load Approptiate
.flv file dinamically when I click on HTML hyperlinks.
Actually I called a .flv file inside Flash Video using Action
Script and as a result i got the approprite flash file played using
Flash Player 8 but i wanna do the same thing using HTML tag i want
to call the indivudual file using Html hyperlinks at the same
position. i.e.
var my_video:Video;
var connection_nc:NetConnection = new NetConnection();
connection_nc.connect(null);
var stream_ns:NetStream = new NetStream(connection_nc);
my_video.attachVideo(stream_ns);
stream_ns.play("my_movie.flv");
Actually i called .flv file using the above mentioned script
but i wanna do the same using HTML hyperlinks ...........
Now my problem is if we will pass the variables then We have
to assign the value inside Html Page but how?
Similar Messages
-
Loading .FLVs dynamically into a single .SWF
Hey guys, so here's my issue. I've got a site that I'm
working on with a friend of mine who is a software developer. His
comfort is with .net and asp.net. The site we're doing has a media
section where the clients want to be able to upload videos in .flv
format and have these uploaded movies populate a dropdown list.
Instead of having them upload a .swf of an flv player and the
actual .flv movie, we would like to have a single .swf that loads
these .flvs dynamically. So, basically the problem there is that
the location of the .flv file is usually hardcoded, either through
actionscript or through the component parameters window inside
flash itself. So I figure the solution is to have the flv player
inside the swf call to a variable in the database, and when each
video is selected in the dropdown, it is set as that variable. Do
you guys have any tips on that code or any other solutions to my
problem?Yes, you must embed them rather than load them from a url at runtime:
http://www.adobe.com/devnet/flex/quickstart/embedding_assets/ -
[AS2] Controlling loaded FLV sound??
While I haven't any hints in the documentation on how to
control a dynamically loaded FLV's sound(volume), everywhere I read
that you create a Sound object on the parent MovieClip. This isn't
working
var nc = new NetConnection();
nc.connect(null);
var ns = new NetStream(nc);
mc.vid.attachVideo(ns); // MovieClip on stage with Video
instance named "vid"
ns.play('TestVideo.flv'); // this all works, video loads and
plays full volume
function onMouseUp(){
var snd = new Sound(mc);
snd.setVolume(25);
What am I doing wrong?I seriously spent 2 hours trying to figure this out and got
no where. I posted this question literally a minute ago, and have
just figured it out:
mc.attachAudio(ns);
I should have posted this question two hours ago ;-) -
How to generate a PDF 417 Barcode by assigning a dynamic value at runtime?
PDF 417 Barcode Description given in the Livecycle Designer 8.2
: PDF 417 Non-Scriptable Barcode. Value must be assigned to this barcode at design time, and this barcode will not update after form object value changes.
And my question is how to generate a PDF 417 Barcode by assigning a dynamic value at runtime?All the information you described points to the problem that reports seems can't generate to a file which already exist. You can verify that by simply doing
r30run32 C:\AC_REPORT.REP DESTYPE = FILE DESFORMAT = PDF BATCH = YES' desname=c:\temp\ac_report.pdf
several times. If first time the report is successfully generated in c:\temp\ac_report.pdf, but not the second, third time, then it looks like there is a bug on reports r30run32 executable.
You may try to find any latest patch for Reports 3.0 to see if patch can solve you problem. But keep in mind Reports 3.0 is de-supported, you are better to move to 6i or 9i reports.
Thanks,
-Shaun -
How to create dynamic room in runtime execution?
Hello All,
Can you please suggest me how can I create dynamic room in runtime execution? I do not want to create fixed room from the room consol. I want to create a new room & also delete it after work complete in runtime execution.
thanks,
krishHi Krish,
If you are using your own server to do ExternalAuthentication, then you can
user server to server API's to do that. Please refer to Server2Server apps
in the SDK's sample apps folder.
Else you might have to use AccountManager with room
owner credentials. But the Server2Server aprroach is highly recommended.
private var acctMgr:AccountManager = new AccountManager();
acctMgr.accountURL = m_accountURL;
acctMgr.authenticator = authenticator;
acctMgr.addEventListener(AccountManagerEvent.LOGIN_SUCCESS, authenticateSuccess);
//acctMgr.addEventListener(AccountManagerEvent.LOGIN_FAILURE, authenticateFailure);
//acctMgr.addEventListener(AccountManagerEvent.ACCESS_ERROR, onAuthenticationAccessError);
public function authenticateSuccess(event:AccountManagerEvent):void {
acctMgr.addEventListener(AccountManagerEvent.ROOM_DELETE, onRoomDelete);
acctMgr.deleteRoom(name, template);
public function onRoomDelete(event:AccountManagerEvent):void {
Thanks
Arun -
Report viewer "Go To Next Page" button always load Page2 with Crystal Reports Runtime version 10.0.10. No problem with Crystal Reports Runtime version 10.0.5.
NOTE: I did not check other Crystal Runtime versions.
Any solution?Visual Studio Premium 2012.
It is a web application.
It was working fine with Crystal Report version 13.0.5. Only change is uninstall Crystal Report version 13.0.5 and install Crystal Report version 13.0.10
Entering page number works fine to view that page Request.Form parameters sample for that (change page from page 3 to page 5):
__CRYSTALSTATEviewer:{"0":{"rptViewLabel":"Ana Rapor", "gpTreeCurrentExpandedPaths":{}, "vCtxt":"/wEXAwUVSXNMYXN0UGFnZU51bWJlcktub3duZwUOTGFzdFBhZ2VOdW1iZXICBQUKUGFnZU51bWJlcgIC", "pageNum":2}, "common":{"width":"100%", "Height":"100%", "enableDrillDown":true, "drillDownTarget":"_self", "printMode":"Pdf", "displayToolbar":true, "pageToTreeRatio":6, "pdfOCP":true, "promptingType":"html", "viewerState":"/wEXBAUkU3lzdGVtLldlYi5VSS5XZWJDb250cm9scy5XZWJDb250cm9sDxYGHgVXaWR0aBsAAAAAAABZQAcAAAAeBkhlaWdodBsAAAAAAABZQAcAAAAeBF8hU0ICgANkBQJodAUGX2JsYW5rBQ9SZXBvcnRWaWV3U3RhdGUXCAUDZHBpAngFB0lMT0lVSVNoBQdGYWN0b3J5BZYBQ3J5c3RhbERlY2lzaW9ucy5SZXBvcnRTb3VyY2UuUmVwb3J0U291cmNlRmFjdG9yeSxDcnlzdGFsRGVjaXNpb25zLlJlcG9ydFNvdXJjZSwgVmVyc2lvbj0xMy4wLjIwMDAuMCwgQ3VsdHVyZT1uZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj02OTJmYmVhNTUyMWUxMzA0BQlSZXBvcnRVUkkFSkQ6XFBSSi5ORVRcV2ViUmVwb3J0czIwXFdlYlJlcG9ydHMuREFMXFJlcG9ydHNcVzJfNDMzN19SRVNfQllfQ1JFQVRJT04ucnB0BQpEZXNpZ25Nb2RlaAUHUmVmcmVzaGgFElBhZ2VSZXF1ZXN0Q29udGV4dBcEBRVJc0xhc3RQYWdlTnVtYmVyS25vd25nBQ5MYXN0UGFnZU51bWJlcgIFBQpQYWdlTnVtYmVyAgIFFEludGVyYWN0aXZlU29ydEluZm9zFClYU3lzdGVtLkJ5dGUsIG1zY29ybGliLCBWZXJzaW9uPTQuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjc3YTVjNTYxOTM0ZTA4OY0BAzwDPwN4A20DbAMgA3YDZQNyA3MDaQNvA24DPQMiAzEDLgMwAyIDPwM+Aw0DCgM8A0EDcgNyA2EDeQNPA2YDUwNvA3IDdANJA24DZgNvAyADeANtA2wDbgNzAzoDeANzA2kDPQMiA2gDdAN0A3ADOgMvAy8DdwN3A3cDLgN3AzMDLgNvA3IDZwMvAzIDMAMwAzEDLwNYA00DTANTA2MDaANlA20DYQMtA2kDbgNzA3QDYQNuA2MDZQMiAyADeANtA2wDbgNzAzoDeANzA2QDPQMiA2gDdAN0A3ADOgMvAy8DdwN3A3cDLgN3AzMDLgNvA3IDZwMvAzIDMAMwAzEDLwNYA00DTANTA2MDaANlA20DYQMiAyADLwM+BQlScHRTb3VyY2UFN0NyeXN0YWxEZWNpc2lvbnMuUmVwb3J0U291cmNlLk5vbkhUVFBDYWNoZWRSZXBvcnRTb3VyY2UFA2Nzc2U=", "rptAlbumOrder":["0"], "toolPanelType":"GroupTree", "toolPanelWidth":200, "toolPanelWidthUnit":"px", "iactParams":[{"paramName":"pFromDate", "description":"From Date", "valueDataType":"d", "value":[{"d":9, "m":4, "y":2014, "h":0, "min":0, "s":0, "ms":0}], "allowCustomValue":true, "allowMultiValue":false, "allowRangeValue":false, "allowDiscreteValue":true, "isEditable":true, "usage":25, "isDataFetching":false, "attributes":{"IsDCP":false}, "isOptionalPrompt":false, "allowNullValue":false, "defaultValues":[], "defaultDisplayType":1}, {"paramName":"pToDate", "description":"To Date", "valueDataType":"d", "value":[{"d":9, "m":6, "y":2014, "h":0, "min":0, "s":0, "ms":0}], "allowCustomValue":true, "allowMultiValue":false, "allowRangeValue":false, "allowDiscreteValue":true, "isEditable":true, "usage":25, "isDataFetching":false, "attributes":{"IsDCP":false}, "isOptionalPrompt":false, "allowNullValue":false, "defaultValues":[], "defaultDisplayType":1}, {"paramName":"pGroupBy", "description":"Group by", "valueDataType":"n", "value":[2], "allowCustomValue":true, "allowMultiValue":false, "allowRangeValue":false, "allowDiscreteValue":true, "isEditable":true, "usage":25, "isDataFetching":false, "attributes":{"IsDCP":false}, "isOptionalPrompt":false, "allowNullValue":false, "defaultValues":[{"value":1, "desc":"Boardtype"}, {"value":2, "desc":"Room type"}, {"value":3, "desc":"Rate Room type"}, {"value":4, "desc":"Rate code"}, {"value":5, "desc":"Guarantee code"}, {"value":6, "desc":"Adults"}, {"value":7, "desc":"Children"}, {"value":8, "desc":"Market code"}, {"value":9, "desc":"Source code"}, {"value":10, "desc":"Channel code"}, {"value":11, "desc":"Country"}, {"value":12, "desc":"Nationality"}, {"value":13, "desc":"Created by"}, {"value":14, "desc":"Adult+Child"}, {"value":15, "desc":"Agency"}, {"value":16, "desc":"Company"}, {"value":17, "desc":"Source"}, {"value":18, "desc":"Group"}, {"value":19, "desc":"Micros Discount"}, {"value":-1, "desc":"None"}], "defaultDisplayType":1}, {"paramName":"pDistributionBy", "description":"Distribution by", "valueDataType":"n", "value":[1], "allowCustomValue":true, "allowMultiValue":false, "allowRangeValue":false, "allowDiscreteValue":true, "isEditable":true, "usage":25, "isDataFetching":false, "attributes":{"IsDCP":false}, "isOptionalPrompt":false, "allowNullValue":false, "defaultValues":[{"value":1, "desc":"RN"}, {"value":2, "desc":"ARR"}], "defaultDisplayType":1}, {"paramName":"pShowDetails", "description":"Show details", "valueDataType":"b", "value":[true], "allowCustomValue":false, "allowMultiValue":false, "allowRangeValue":false, "allowDiscreteValue":true, "isEditable":true, "usage":25, "isDataFetching":false, "attributes":{"IsDCP":false}, "isOptionalPrompt":false, "allowNullValue":false, "defaultValues":[{"value":true}, {"value":false}], "defaultDisplayType":1}, {"paramName":"pSubGroupBy", "description":"Sub Group", "valueDataType":"n", "value":[-1], "allowCustomValue":true, "allowMultiValue":false, "allowRangeValue":false, "allowDiscreteValue":true, "isEditable":true, "usage":25, "isDataFetching":false, "attributes":{"IsDCP":false}, "isOptionalPrompt":false, "allowNullValue":false, "defaultValues":[{"value":1, "desc":"Boardtype"}, {"value":2, "desc":"Room type"}, {"value":3, "desc":"Rate Room type"}, {"value":4, "desc":"Rate code"}, {"value":5, "desc":"Guarantee code"}, {"value":6, "desc":"Adults"}, {"value":7, "desc":"Children"}, {"value":8, "desc":"Market code"}, {"value":9, "desc":"Source code"}, {"value":10, "desc":"Channel code"}, {"value":11, "desc":"Country"}, {"value":12, "desc":"Nationality"}, {"value":13, "desc":"Created by"}, {"value":14, "desc":"Adult+Child"}, {"value":15, "desc":"Agency"}, {"value":16, "desc":"Company"}, {"value":17, "desc":"Source"}, {"value":18, "desc":"Group"}, {"value":19, "desc":"Micros Discount"}, {"value":-1, "desc":"None"}], "defaultDisplayType":1}, {"paramName":"pIncludeDayUse", "description":"Include Day Use", "valueDataType":"b", "value":[true], "allowCustomValue":false, "allowMultiValue":false, "allowRangeValue":false, "allowDiscreteValue":true, "isEditable":true, "usage":25, "isDataFetching":false, "attributes":{"IsDCP":false}, "isOptionalPrompt":false, "allowNullValue":false, "defaultValues":[{"value":true}, {"value":false}], "defaultDisplayType":1}, {"paramName":"pDateType", "description":"Date Type", "valueDataType":"n", "value":[1], "allowCustomValue":true, "allowMultiValue":false, "allowRangeValue":false, "allowDiscreteValue":true, "isEditable":true, "usage":25, "isDataFetching":false, "attributes":{"IsDCP":false}, "isOptionalPrompt":false, "allowNullValue":false, "defaultValues":[], "defaultDisplayType":1}, {"paramName":"pCompHuse", "description":"Comp-Huse", "valueDataType":"n", "value":[0, 1, 2], "allowCustomValue":true, "allowMultiValue":true, "allowRangeValue":false, "allowDiscreteValue":true, "isEditable":true, "usage":25, "isDataFetching":false, "attributes":{"IsDCP":false}, "isOptionalPrompt":false, "allowNullValue":false, "defaultValues":[], "defaultDisplayType":1}, {"paramName":"pOrderBy", "description":"Order By", "valueDataType":"n", "value":[2], "allowCustomValue":true, "allowMultiValue":false, "allowRangeValue":false, "allowDiscreteValue":true, "isEditable":true, "usage":25, "isDataFetching":false, "attributes":{"IsDCP":false}, "isOptionalPrompt":false, "allowNullValue":false, "defaultValues":[], "defaultDisplayType":1}], "paramOpts":{"numberFormat":{"groupSeperator":".", "decimalSeperator":","}, "dateFormat":"d.M.yyyy", "timeFormat":"H:mm:ss", "dateTimeFormat":"d.M.yyyy H:mm:ss", "booleanFormat":{"true":"True", "false":"False"}, "maxNumParameterDefaultValues":"200", "canOpenAdvancedDialog":true}, "zoom":100, "zoomFromUI":false, "lastRefresh":"9.7.2014 17:47:04"}, "curViewId":"0"}
viewer_toptoolbar_search_textField:Bul...
text_viewer_toptoolbar_selectPg:5
text_viewer_toptoolbar_zoom:100%
__CALLBACKID:viewer
__CALLBACKPARAM:{"tb":"gototext", "text":"5"}
Try to view New Page does not work. Request.Form parameters sample for that (try change page from page 2 to page 3):
__CRYSTALSTATEviewer:{"0":{"rptViewLabel":"Ana Rapor", "gpTreeCurrentExpandedPaths":{}, "vCtxt":"/wEXAwUVSXNMYXN0UGFnZU51bWJlcktub3duZwUOTGFzdFBhZ2VOdW1iZXICBQUKUGFnZU51bWJlcgIC", "pageNum":2}, "common":{"width":"100%", "Height":"100%", "enableDrillDown":true, "drillDownTarget":"_self", "printMode":"Pdf", "displayToolbar":true, "pageToTreeRatio":6, "pdfOCP":true, "promptingType":"html", "viewerState":"/wEXBAUkU3lzdGVtLldlYi5VSS5XZWJDb250cm9scy5XZWJDb250cm9sDxYGHgVXaWR0aBsAAAAAAABZQAcAAAAeBkhlaWdodBsAAAAAAABZQAcAAAAeBF8hU0ICgANkBQJodAUGX2JsYW5rBQ9SZXBvcnRWaWV3U3RhdGUXCAUDZHBpAngFB0lMT0lVSVNoBQdGYWN0b3J5BZYBQ3J5c3RhbERlY2lzaW9ucy5SZXBvcnRTb3VyY2UuUmVwb3J0U291cmNlRmFjdG9yeSxDcnlzdGFsRGVjaXNpb25zLlJlcG9ydFNvdXJjZSwgVmVyc2lvbj0xMy4wLjIwMDAuMCwgQ3VsdHVyZT1uZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj02OTJmYmVhNTUyMWUxMzA0BQlSZXBvcnRVUkkFSkQ6XFBSSi5ORVRcV2ViUmVwb3J0czIwXFdlYlJlcG9ydHMuREFMXFJlcG9ydHNcVzJfNDMzN19SRVNfQllfQ1JFQVRJT04ucnB0BQpEZXNpZ25Nb2RlaAUHUmVmcmVzaGgFElBhZ2VSZXF1ZXN0Q29udGV4dBcEBRVJc0xhc3RQYWdlTnVtYmVyS25vd25nBQ5MYXN0UGFnZU51bWJlcgIFBQpQYWdlTnVtYmVyAgIFFEludGVyYWN0aXZlU29ydEluZm9zFClYU3lzdGVtLkJ5dGUsIG1zY29ybGliLCBWZXJzaW9uPTQuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjc3YTVjNTYxOTM0ZTA4OY0BAzwDPwN4A20DbAMgA3YDZQNyA3MDaQNvA24DPQMiAzEDLgMwAyIDPwM+Aw0DCgM8A0EDcgNyA2EDeQNPA2YDUwNvA3IDdANJA24DZgNvAyADeANtA2wDbgNzAzoDeANzA2kDPQMiA2gDdAN0A3ADOgMvAy8DdwN3A3cDLgN3AzMDLgNvA3IDZwMvAzIDMAMwAzEDLwNYA00DTANTA2MDaANlA20DYQMtA2kDbgNzA3QDYQNuA2MDZQMiAyADeANtA2wDbgNzAzoDeANzA2QDPQMiA2gDdAN0A3ADOgMvAy8DdwN3A3cDLgN3AzMDLgNvA3IDZwMvAzIDMAMwAzEDLwNYA00DTANTA2MDaANlA20DYQMiAyADLwM+BQlScHRTb3VyY2UFN0NyeXN0YWxEZWNpc2lvbnMuUmVwb3J0U291cmNlLk5vbkhUVFBDYWNoZWRSZXBvcnRTb3VyY2UFA2Nzc2U=", "rptAlbumOrder":["0"], "toolPanelType":"GroupTree", "toolPanelWidth":200, "toolPanelWidthUnit":"px", "iactParams":[{"paramName":"pFromDate", "description":"From Date", "valueDataType":"d", "value":[{"d":9, "m":4, "y":2014, "h":0, "min":0, "s":0, "ms":0}], "allowCustomValue":true, "allowMultiValue":false, "allowRangeValue":false, "allowDiscreteValue":true, "isEditable":true, "usage":25, "isDataFetching":false, "attributes":{"IsDCP":false}, "isOptionalPrompt":false, "allowNullValue":false, "defaultValues":[], "defaultDisplayType":1}, {"paramName":"pToDate", "description":"To Date", "valueDataType":"d", "value":[{"d":9, "m":6, "y":2014, "h":0, "min":0, "s":0, "ms":0}], "allowCustomValue":true, "allowMultiValue":false, "allowRangeValue":false, "allowDiscreteValue":true, "isEditable":true, "usage":25, "isDataFetching":false, "attributes":{"IsDCP":false}, "isOptionalPrompt":false, "allowNullValue":false, "defaultValues":[], "defaultDisplayType":1}, {"paramName":"pGroupBy", "description":"Group by", "valueDataType":"n", "value":[2], "allowCustomValue":true, "allowMultiValue":false, "allowRangeValue":false, "allowDiscreteValue":true, "isEditable":true, "usage":25, "isDataFetching":false, "attributes":{"IsDCP":false}, "isOptionalPrompt":false, "allowNullValue":false, "defaultValues":[{"value":1, "desc":"Boardtype"}, {"value":2, "desc":"Room type"}, {"value":3, "desc":"Rate Room type"}, {"value":4, "desc":"Rate code"}, {"value":5, "desc":"Guarantee code"}, {"value":6, "desc":"Adults"}, {"value":7, "desc":"Children"}, {"value":8, "desc":"Market code"}, {"value":9, "desc":"Source code"}, {"value":10, "desc":"Channel code"}, {"value":11, "desc":"Country"}, {"value":12, "desc":"Nationality"}, {"value":13, "desc":"Created by"}, {"value":14, "desc":"Adult+Child"}, {"value":15, "desc":"Agency"}, {"value":16, "desc":"Company"}, {"value":17, "desc":"Source"}, {"value":18, "desc":"Group"}, {"value":19, "desc":"Micros Discount"}, {"value":-1, "desc":"None"}], "defaultDisplayType":1}, {"paramName":"pDistributionBy", "description":"Distribution by", "valueDataType":"n", "value":[1], "allowCustomValue":true, "allowMultiValue":false, "allowRangeValue":false, "allowDiscreteValue":true, "isEditable":true, "usage":25, "isDataFetching":false, "attributes":{"IsDCP":false}, "isOptionalPrompt":false, "allowNullValue":false, "defaultValues":[{"value":1, "desc":"RN"}, {"value":2, "desc":"ARR"}], "defaultDisplayType":1}, {"paramName":"pShowDetails", "description":"Show details", "valueDataType":"b", "value":[true], "allowCustomValue":false, "allowMultiValue":false, "allowRangeValue":false, "allowDiscreteValue":true, "isEditable":true, "usage":25, "isDataFetching":false, "attributes":{"IsDCP":false}, "isOptionalPrompt":false, "allowNullValue":false, "defaultValues":[{"value":true}, {"value":false}], "defaultDisplayType":1}, {"paramName":"pSubGroupBy", "description":"Sub Group", "valueDataType":"n", "value":[-1], "allowCustomValue":true, "allowMultiValue":false, "allowRangeValue":false, "allowDiscreteValue":true, "isEditable":true, "usage":25, "isDataFetching":false, "attributes":{"IsDCP":false}, "isOptionalPrompt":false, "allowNullValue":false, "defaultValues":[{"value":1, "desc":"Boardtype"}, {"value":2, "desc":"Room type"}, {"value":3, "desc":"Rate Room type"}, {"value":4, "desc":"Rate code"}, {"value":5, "desc":"Guarantee code"}, {"value":6, "desc":"Adults"}, {"value":7, "desc":"Children"}, {"value":8, "desc":"Market code"}, {"value":9, "desc":"Source code"}, {"value":10, "desc":"Channel code"}, {"value":11, "desc":"Country"}, {"value":12, "desc":"Nationality"}, {"value":13, "desc":"Created by"}, {"value":14, "desc":"Adult+Child"}, {"value":15, "desc":"Agency"}, {"value":16, "desc":"Company"}, {"value":17, "desc":"Source"}, {"value":18, "desc":"Group"}, {"value":19, "desc":"Micros Discount"}, {"value":-1, "desc":"None"}], "defaultDisplayType":1}, {"paramName":"pIncludeDayUse", "description":"Include Day Use", "valueDataType":"b", "value":[true], "allowCustomValue":false, "allowMultiValue":false, "allowRangeValue":false, "allowDiscreteValue":true, "isEditable":true, "usage":25, "isDataFetching":false, "attributes":{"IsDCP":false}, "isOptionalPrompt":false, "allowNullValue":false, "defaultValues":[{"value":true}, {"value":false}], "defaultDisplayType":1}, {"paramName":"pDateType", "description":"Date Type", "valueDataType":"n", "value":[1], "allowCustomValue":true, "allowMultiValue":false, "allowRangeValue":false, "allowDiscreteValue":true, "isEditable":true, "usage":25, "isDataFetching":false, "attributes":{"IsDCP":false}, "isOptionalPrompt":false, "allowNullValue":false, "defaultValues":[], "defaultDisplayType":1}, {"paramName":"pCompHuse", "description":"Comp-Huse", "valueDataType":"n", "value":[0, 1, 2], "allowCustomValue":true, "allowMultiValue":true, "allowRangeValue":false, "allowDiscreteValue":true, "isEditable":true, "usage":25, "isDataFetching":false, "attributes":{"IsDCP":false}, "isOptionalPrompt":false, "allowNullValue":false, "defaultValues":[], "defaultDisplayType":1}, {"paramName":"pOrderBy", "description":"Order By", "valueDataType":"n", "value":[2], "allowCustomValue":true, "allowMultiValue":false, "allowRangeValue":false, "allowDiscreteValue":true, "isEditable":true, "usage":25, "isDataFetching":false, "attributes":{"IsDCP":false}, "isOptionalPrompt":false, "allowNullValue":false, "defaultValues":[], "defaultDisplayType":1}], "paramOpts":{"numberFormat":{"groupSeperator":".", "decimalSeperator":","}, "dateFormat":"d.M.yyyy", "timeFormat":"H:mm:ss", "dateTimeFormat":"d.M.yyyy H:mm:ss", "booleanFormat":{"true":"True", "false":"False"}, "maxNumParameterDefaultValues":"200", "canOpenAdvancedDialog":true}, "zoom":100, "zoomFromUI":false, "lastRefresh":"9.7.2014 17:47:04"}, "curViewId":"0"}
viewer_toptoolbar_search_textField:Bul...
text_viewer_toptoolbar_selectPg:2 / 5
text_viewer_toptoolbar_zoom:100%
__CALLBACKID:viewer
__CALLBACKPARAM:{"tb":"next"} -
In my SWF fie, I have an externally loaded FLV file.
I now want to add another FLV that will load and play
automatically when the first one is finished.
I actually want the SWF to jump to a new scene when the first
movie is done.
How can I do that/ what the actionscript?
StevenHey Steven,
I am not very sure but just giving a shot answering it...
You can use FLVPlayback.complete event to detect the
comepletion of first flv and set the path of other flv on complete.
Something like this:
import mx.video.*;
my_FLVPlybk.contentPath = "
http://www.helpexamples.com/flash/video/clouds.flv";
var listenerObject:Object = new Object();
// listen for complete event; play new FLV
listenerObject.complete = function(eventObject:Object):Void {
if (my_FLVPlybk.contentPath == "
http://www.helpexamples.com/flash/video/clouds.flv")
my_FLVPlybk.play("
http://www.helpexamples.com/flash/video/water.flv");
my_FLVPlybk.addEventListener("complete", listenerObject);
Hope that works... -
Hi guys,
The Matlab Builder JA generates JAR files that allow you to use Matlab functions in JAVA. I have had a friend run through the process of creating the files and running them on WINDOWS and it works fine, but it fails on Mac OSX.
The program uses the JAR file displayTest2.jar, and also requires the JAR file javabuilder.jar, which are both loaded as external JARS in eclipse. My code is as follows:
{color:#0000ff}import com.mathworks.toolbox.javabuilder.*;
import displayTest2.*;
public class Tester
public static void main(String[] args) throws MWException
System.out.println("Hello");
DisplayTest2 object = new DisplayTest2();
}{color}
This gives the following output:
Hello
{color:#ff0000}Exception in thread "main" java.lang.UnsatisfiedLinkError: Failed to find the library libmwmclmcrrt.7.10.dylib, required by MATLAB Builder JA, on java.library.path
at com.mathworks.toolbox.javabuilder.internal.MCRConfiguration$ProxyLibraryDir.get(MCRConfiguration.java:123)
at com.mathworks.toolbox.javabuilder.internal.MCRConfiguration$ProxyLibraryDir.<clinit>(MCRConfiguration.java:126)
at com.mathworks.toolbox.javabuilder.internal.MCRConfiguration.getProxyLibraryDir(MCRConfiguration.java:131)
at com.mathworks.toolbox.javabuilder.internal.MCRConfiguration$MCRRoot.get(MCRConfiguration.java:62)
at com.mathworks.toolbox.javabuilder.internal.MCRConfiguration$MCRRoot.<clinit>(MCRConfiguration.java:72)
at com.mathworks.toolbox.javabuilder.internal.MCRConfiguration.getMCRRoot(MCRConfiguration.java:77)
at com.mathworks.toolbox.javabuilder.internal.MCRConfiguration$ModuleDir.<clinit>(MCRConfiguration.java:51)
at com.mathworks.toolbox.javabuilder.internal.MCRConfiguration.getModuleDir(MCRConfiguration.java:56)
at com.mathworks.toolbox.javabuilder.internal.MWMCR.<clinit>(MWMCR.java:1447)
at displayTest2.DisplayTest2MCRFactory.<clinit>(DisplayTest2MCRFactory.java:98)
at displayTest2.DisplayTest2.<init>(DisplayTest2.java:61)
at Tester.main(Tester.java:9){color}
I have tried placing the missing library in the folders on java.library.path, but this has no effect. I have also tried loading the library like so:
{color:#0000ff}public static void main(String[] args) throws MWException
System.out.println("Hello");
System.load("/Applications/MATLAB/MATLAB_Compiler_Runtime/v710/runtime/maci/libmwmclmcrrt.7.10.dylib");
DisplayTest2 object = new DisplayTest2();
}{color}
But I get the following output:
Hello
{color:#ff0000}Exception in thread "main" java.lang.UnsatisfiedLinkError: /Applications/MATLAB/MATLAB_Compiler_Runtime/v710/runtime/maci/libmwmclmcrrt.7.10.dylib:
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1822)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1702)
at java.lang.Runtime.load0(Runtime.java:770)
at java.lang.System.load(System.java:1005)
at Tester.main(Tester.java:8){color}
Is this not the correct way to load the library? I have scoured the internet to the best of my ability but can’t find any solutions. As I said it works on Windows. Is there something special that needs to happened on Mac OSX. I could just develop on Windows, but there has to be a way to make it work on Mac, right?
I appreciate any help at all so I can get on with my project!
Thanks,
--JohnJohn_Sparger
Welcome to the forums. In furure, please take adequate care to post a question once only. I've removed the aborted post you submitted 18 minutes before this one.
To edit a post that has been submitted prematurely, use the pencil icon to the right of the post header, not the browser's back button.
db -
We have this 48 port switch in our engineering department, and it basically stopped passing network traffic.
When connecting to the Console port and power cycling the switch, this is what I see:
Image Loader 1.0.1
Loading Diagnostic Image File : SRW224G4P_SRW248G4P_boot.bix
Diagnostic 1.0.1
User Mode
--- Performing Power-On Self Tests (POST) ---
DUMMY Test 1 ................. PASS
UART Loopback Test ........... PASS
POE UART Loopback Test ....... PASS
DRAM Test .................... PASS
Timer Test ................... PASS
Done All Pass.
------------------ DONE ---------------------
(!)Loader Binary checksum error
<ERR> Runtime Loading Fail - System Halt.
This error obviously doesn't look "normal".
When pressing CTRL-U, I get the following screen:
File Name S/Up Type Size Create Time
$logfile_1 0 3 64 1193046:28:15
Factory_Default_Config.cfg 0 5 354 24:01:02
SRW224G4P_SRW248G4P_boot.bix 1 1 1377600 00:01:03
certificate 0 8 18040 24:00:56
startup-config 1 5 5651 25:00:38
startup1.cfg 0 5 5537 24:01:14
Free Space : 5636096
[X]modem Download [D]elete File [S]et Startup File
[Q]uit
Select>
I've tried to update the "SRW224G4P_SRW248G4P_image_v1310.bix" file using Xmodem download, but since I really wasn't sure how to use this boot loader tool, I haven't been successful at doing that, nor do I even know if that's the solution for the problem that I'm having.
Xmodem Receiving Start ::
XMODEM, Successful.
Blocks Received = 7289
Bytes Received = 394480
Errors:
Checksum = 0
Complement = 0
Duplicates = 0
Image downloaded to buffer.
[R]untime
[D]iagnostic
M[u]ltipe Image
[L]oader (Warning: Are you sure what you are doing?)
[Q]uit
Update Image File:r
Runtime Image Filename : SRW224G4P_SRW248G4P_image_v1310.bix
Updating file system.
File system update fail.
I'm guessing that I'll need to contact Cisco tech support, although at least through their web site, they make that nearly impossible to accomplish.
Does anyone have any suggestions on what may have happened to our switch and what I should do to recover? Of course we're about to start a time-critical round of product testing, and without this switch, I'm dead in the water. And it's not like we have a spare 48-port PoE switch lying around.Hello,
I got the same issue. After downloading and uploading the firmware, I got the following result and all LED on the switch are glowing. Could you please help on this issue? Where can I find the right firmware. I also have Image loader 1.0.1.
Xmodem Receiving Start ::
XMODEM, Successful.
Blocks Received = 6b59
Bytes Received = 35ac80
Errors:
Checksum = 0
Complement = 0
Duplicates = 0
Image downloaded to buffer.
[R]untime
[D]iagnostic
M[u]ltipe Image
[L]oader (Warning: Are you sure what you are doing?)
[Q]uit
Update Image File:r
Runtime Image Filename : SRW224G4P_SRW248G4P_image_v1020.bix
Updating file system.
File system update fail.
File Name S/Up Type Size Create Time
All I got now after restarting the switch is:
File Name S/Up Type Size Create Time
Factory_Default_Config.cfg 1 5 354 24:01:02
certificate 0 8 18040 24:00:56
Free Space : 7602176
[X]modem Download [D]elete File [S]et Startup File
[Q]uit
Select>
Thnx in advance. -
Loading into the library at runtime?
I have built a flash animation (for a web site) that requires a number of decent quality JPG images. I don't display all of these at the start, so I don't want to wait for them all to load before starting the animation. Thus I want to be able to load these images in the background - the obvious process would involve MovieClipLoader.loadClip() method. This works fine if I am loading into an INSTANCE of a moveclip (either existing on the stage or one that I creat in actionscript) - but I really want to load into a library movieclip.
The problem is that I end up using these images in two different movies on the stage - each pulls from a movieclip in the library (that contains the image I want). So my original thought was simply to load (using loadClip()) into the library movie - which in turn would show up in the two stage movieclips that have this library clip in the timeline. However, I cannot seem to get loadClip() to work with a library object.
I tried exporting the library movieclip to actionscript (giving it a name) - but loadClip() doesn't seem to want to load into it. I can only get loadClip() to load into an instance that exists on the stage.
Sorry if I am asking a stupid question - I don't do a lot of flash programming - although I have extensive programming experience in other languages.
So can this be done? Is there another way to accomplish what I want to do?
I can easily load into an instance of a movieclip - but I don't want to load each image twice (into two different movieclips that I need to manipulate) - hence my desire to load into a single library object that end up having multiple instances on the stage.
My other thought was to load into an instance and then COPY that instance to the second instance. But I can't seem to find a way to copy one clip into another clip?
Any pointers would be very much appreciated.
Just to clarify, here is an example.
* I have several library movieclips (call them clip1, clip2, clip3... ) which contain a single frame with a JPG image in that frame.
* I have a library movieclip called bkgnd which has 10 frames in it. Each frame has an instance of the different clips above (e.g. frame 1 has clip1 in it, frame 2 has clip2 in it, frame 3 has clip3 in it etc). At run time, this move is manipulated through gotoAndStop() to display a particular image.
* I use this bkgnd library movieclip in TWO places on the real stage (two instances). Each is controlled through actionscript to display particular frames (particular images) through the gotoAndStop() method.
* I want to be able to load the individual images at runtime - my thought was to use loadClip() to load JPG files into the clip1, clip2, clip3... library clips. However, loadClip() doesn't seem to want to load into a library clip.Thank you. I was able to use the bitmap class draw function to accomplish what I wanted.
It got pretty convoluted though. Used actionscript on instances of hidden movies to initiate the loading.
Had a loader bar on images when they are used - but wanted them to load asynchronously in the background (use the first while others are loading).
There are lots of little "gotchas" with this stuff, and while flash is very powerful, it is difficult to document / take apart. Because action script is all over the place and interacts in very funny ways, it can be very complicated to figure out how all the timelines mesh and what code is running when.
I have to say I am quite disappointed in a few items - one of which is that if you associate actionscript with a particular item on the stage (a movie clip), you don't see it highlighted in the timeline and you don't see it on the movie inspector. It is kind of hidden out there unless you know to look for it.
Anyway - thanks again. Definitely did the trick..... Warren -
Loading data dynamically to XML file
Hi ,
1) in my project i need an xml file that loads data
dynamically,i will get data using HttpService,
How to do this ?Please Help me its urgent.
2)Can i create an xml file that loads data dynamically using
Flex???Just need to clarify if you mean to load your data FROM an
XML file, which is relatively straightforward, or if you're saying
you want to WRITE an XML file based on something that's happened in
your application and store it on a server somewhere. -
Hi,
I need to load font dynamically in my application
The swf size is 2.34 MB (which contains the 20 embeded fonts)
My application size is 1.92 MB
SDK 4.0
OS is windows XP
It takes 1 min to load 20 fonts in list. But i wants to load more than 200 fonts dynamically
Please suggest me the way to reduce the loading time.
I have used the following code in application's creation complete event to load the swf,
var cssEventDispatcher:IEventDispatcher=styleManager.loadStyleDeclarations("assets/style/Prop ertyFonts1.swf")
cssEventDispatcher.addEventListener(StyleEvent.COMPLETE, onComplete);
Thanks in Advance
Sivayou want to load font or text??
-
Is there a method, a function or a way to have flash (or something else) create a .flv - dynamically??
I have a dynamically generated slideshow.
When call slideshow.php?=123 - one slideshow appears
When call slideshow.php?=456 - another slideshow appears
I want to accomplish a video file - for each dynamically generated tour
Is that possible???
Thank you for your time and attention
I appreciate your input
BennNo response in 4 weeks
Does this indicate it is NOT possible?
or that I need to contract overseas?? -
I'm using a remote hosting service for my FLV storage (
http://www.blip.tv). When I load
FLVs remotely into my player, they just seem to load infinitely
without play control. All except for 1. There is 1 video that
actually loads and plays just fine, which indicates to me it might
not be a problem with the host.
Below are testing-purpose links. (This is a php script which
passes the flv link to my player). The first one will work and load
correctly, the second link loads forever.
http://behindlacrosse.com/videos.php?video=http://blip.tv/file/get/Treschonde-BehindLacros seEp3249.flv
http://behindlacrosse.com/videos.php?video=http://blip.tv/file/get/Treschonde-BLSummer2006 2549.flv
I've tried this with several different flv's, and only that
first one above ever loads. I'm not doing anything complex with my
code, I use the following actionscript:
_root.playback.play(vidurl);
I've traced the vidurl variable to ensure that the urls are
correct. So I'm really stumped on this one.
One more interesting note.. in Firefox, on that website
linked above, if you click on any of the other videos in the list,
they won't load. It's like the player locked up. But in Internet
Explorer, you can still click other videos to bypass the currently
loading one.
Any help or suggestions at all? I appreciate anything.This is the way I work with videos.
Each video is in a differente frame.
Name you FLV playback like movie1, movie2, etc.
You may have a frontpage that links to each video or place a
button on the keyframe where you want specific video to play. For
example, on movie1, place a button. On movie2, place another
button.
The code below is used assuming you customized your video
controller.
// in a MovieClip named Video Controller insert a play, pause
and stop buttons and a slider//
stop();
import mx.video.*;
movi1.contentPath = "EditedFlash/Text_Edited.flv";
movi1.playButton = VideoControl.my_playButton;
movi1.pauseButton = VideoControl.my_pauseButton;
movi1.stopButton = VideoControl.my_stopButton;
movi1.seekBar=VideoControl.my_seekButton;
var cuePt:Object = new Object ();
cuePt.time =0.5;// title - no voice//
cuePt.name = "Pt1";
cuePt.type = "actionscript";
movi1.addASCuePoint(cuePt);
movi1.addASCuePoint(3.2, "Pt2");
var listenerObject:Object = new Object();
listenerObject.cuePoint = function(eventObject:Object): Void{
if(eventObject.info.name=="Pt1"){
_root.Texto.gotoAndStop("uno");
if(eventObject.info.name=="Pt2"){
_root.Texto.gotoAndStop("dos");
movi1.addEventListener("cuePoint", listenerObject);
//second cue point//
movi1.addEventListener("cuePoint", listenerObject);
listenerObject.complete = function(eventObject:Object):Void {
_root.Texto.gotoAndStop("uno");
movi1.addEventListener("complete", listenerObject);
Hope this helps. -
How to load a flv from 10 second to 20 second ?
BruceMCE wrote:
> I have 3 flv files that I would like to load onto the
stage via corresponding
> buttons. I put one of the flv files on the stage and
named the Instance
> "player" and assigned the following action script to a
button:
> on (release) {loadMovie(player.nonstoprockplayer.swf);
> }
The action is incorrect to start with, so is the entire
arrangement.
If you want to load SWF, you need to load it in level or
movie clip holder
not in FLV file. It's like trying to load something in a GIF
or JPG file
on flash's timeline. Just does not work like that. Level or
holder MC only.
Secondly, if you load FLV you don't load them in holder movie
clip but into
a FLVplayback components and not with loadMovie action.
Check for FLV Playback, under the Components section in your
help files.
You will find action samples on how to set it up.
Best Regards
Urami
!!!!!!! Merry Christmas !!!!!!!
Happy New Year
<urami>
If you want to mail me - DO NOT LAUGH AT MY ADDRESS
</urami>
Maybe you are looking for
-
Troubles importing Flash 10 Animation with 3D Transform
I am looking for any workaround/experiences for importing a Flash 10 animation with 3D transforms. Currently, doing this will wig out Captivate 4 and break the embedded animation in all sorts of ways. AS3 support in Captivate is turned on and the sam
-
Download report result views in separate sheets
Hi, I have a requirement in OBIEE report in which the result is being displayed in Pivot table as well as Chart view. My requirement is while downloading the report in excel sheet, I want the report view needs to be downloaded in 02 separate workshee
-
How to initialize the index with "at new" command ??
Hi All, I am facing a problem of Initializing the index . I want to Initialize the Index with the " at new " command within a loop but its not working. Otherwise,please tell me the way to put a flag on the first record with " at new " command. Please
-
Error in cancelling invoice document
Hello Experts, I am trying to cancel invoice document number xxxxxxxxxx using tx MR8M, with Reversal reason 02 and Posting date 18.08.2010. But by clicking on save button you get the following error message: "No reversal possible. Reverse value must
-
I want to have some of the music from my iPod on my home PC. I heard I can share iTunes with my home PC by sending via AOL IM, is this true?