我将如何将这些两条论点纳入行动说明2的外部调子?
name: go
params: {}
为什么不这样做?
ExternalInterface.call("eventaction",({name: ‘go’,params: {}}));
我将如何将这些两条论点纳入行动说明2的外部调子?
name: go
params: {}
为什么不这样做?
ExternalInterface.call("eventaction",({name: ‘go’,params: {}}));
1. 每一论点使用物体字面提子:
ExternalInterface.call("eventaction", {"name": "go"}, {"params": {} });
I ve been looking for a took or a method of benchmarking as2 code specifically individual functions. I ve looked at Grant Skinners Performance Test which is for as3 so it does me no good. Does anyone ...
I have noticed that my AS2 swf that I load into an AS3 swf with SWFBridge sometimes doesnt load. I have usually loaded the page several times and it works fine then sometimes it does not load. When I ...
I m an actionscript novice so I hope I m missing something simple here. In a nutshell, I have a for loop updating a dynamic text element but it seems to iterate so fast that only the last item in the ...
I have this action script that pulls images from a xml file > myPhoto = new XML(); > myPhoto.ignoreWhite = true; > myPhoto.onLoad = function(success) { > //portfolioTag = this....
I ve created a small music player with a sliding volume control. I m having trouble with the volume. Though it does control volume properly, if I set the initial volume to less than 100%, the volume ...
I have got an xml file that brings text into a flash movie in the form of an array, I need to population some textboxes and want to do this using a for loop. My loop look like this: for(var i=...
I have a function in jquery I would like run in flash using action script 2.0 The Jquery: <script> $(document).ready(function(){ $("a").click(function(event){ $("div#Header")....
I have the following function, but I can t seem to get the myVar variable into the inline function. What am I doing wrong here? What I would like to have happen is when I click on myMc, it should ...