Jump to content

Recommended Posts

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 :D mersi anticipat

Link to comment
Share on other sites

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 SWF

id (String, required) specifies the id of the HTML element (containing your alternative content) you would like to have replaced by your Flash content

width (String, required) specifies the width of your SWF

height (String, required) specifies the height of your SWF

version (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 pairs

params (Object, optional) specifies your nested object element params with name:value pairs

attributes (Object, optional) specifies your object's attributes with name:value pairs

callbackFn (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)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...