sikaldinho Posted February 28, 2011 Report Posted February 28, 2011 Am o intrebare...sa va spun mai intai despre ce e vorba...Imi place foarte mult ce fac cei din echipa site-ului si nu ai cum sa inveti decat uitandu-te in fisierul extensia *.fla, dar asa ceva nu poti lua de pe site-ul lor, in schimb se poate lua fisierul cu extensia *.swf iar cu o decompilare se rezolva... asta e logic... bine ca si cu asta e o problema deoarece majoriatatea programelor nu iti da si actionscriptul din fisierul .fla. ASA. acum unele fisiere ;e poti lua foarte usor deoarece cu developer tools din google chrome gasesti foarte repede fisierele swf. dar am intalnit la unele pagini scriptul acesta <script type="text/javascript"> var minWidth = 1040; var minHeight = 800; var params = { menu: "false", allowScriptAccess: "always", scale: "noscale", allowFullScreen: "true" }; swfobject.embedSWF("32484.swf", "flashcontent", "100%", "100%", "10.0.0", "32484-expressinstall.swf", {}, params, {}); if (swfobject.hasFlashPlayerVersion("6.0.0")) { swfobject.addDomLoadEvent(createFullBrowserFlash); } </script>si nu stiu cum da de 32484.swf mersi anticipat Quote
Claps Posted March 21, 2011 Report Posted March 21, 2011 swfobject.embedSWF(swfUrl, id, width, height, version, expressInstallSwfurl, flashvars, params, attributes, callbackFn) has five required and five optional arguments:swfUrl (String, required) specifies the URL of your SWFid (String, required) specifies the id of the HTML element (containing your alternative content) you would like to have replaced by your Flash contentwidth (String, required) specifies the width of your SWFheight (String, required) specifies the height of your SWFversion (String, required) specifies the Flash player version your SWF is published for (format is: "major.minor.release" or "major")expressInstallSwfurl (String, optional) specifies the URL of your express install SWF and activates Adobe express install. Please note that express install will only fire once (the first time that it is invoked), that it is only supported by Flash Player 6.0.65 or higher on Win or Mac platforms, and that it requires a minimal SWF size of 310x137px.flashvars (Object, optional) specifies your flashvars with name:value pairsparams (Object, optional) specifies your nested object element params with name:value pairsattributes (Object, optional) specifies your object's attributes with name:value pairscallbackFn (JavaScript function, optional) can be used to define a callback function that is called on both success or failure of embedding a SWF file (see API documentation) Quote