درخواست راه حل براي مشكل در نرم افزار mmb

mtr_1389

New Member
باسلام
من منوهايي را در فلش طراحي كرده ام ميخواهم از طريق كليك بر هر يك از آنها در برنامه mmb يك دستوري اجرا بشه .
چگونه ميتوانم اين مشكل را حل كنم
درصورت امكان پاسخ را در قالب يك مثال mmb 4.9.8 بيان كنيد . با تشكر

[email protected]
 
آخرین ویرایش:

splinter cell

Well-Known Member
Calling the MMB commands directly from Macromedia Flash Action Script:

To communication between the Flash movie and MMB is used the fscommand command. It has two parameters: command and arguments. If you want to send a command to MMB, then the command parameter must be always string "mmb" and the second parameter (argument) should contain the MMB scripting action.
Example of usage of fscommand command in Flash movie:
کد:
// this example will fill the Time$ variable from the Flash variable
fscommand("mmb","Time$ =" + MMBCurTimeFull);[/LEFT]
 
[LEFT]// this example will call the LoadText MMB command and fill the DirStr text object in MMB
fscommand("mmb","LoadText(\"DirStr\",\""+ DirString +"\")");[/LEFT]
 
[LEFT]// this example will go to next MMB page
fscommand("mmb","NextPage()");[/LEFT]
 
[LEFT]// this example will go to a defined MMB page - in this case "Page 2"
fscommand("mmb","Page(\"Page 2\")");[/LEFT]
 
[LEFT]// this example will run an external mbd file (and jump to "Page 1" of this mbd) from the source folder where the application.exe is located
fscommand("mmb","RunMBD(\"<SrcDir>\\test_1.mbd\",\"Page 1\")");[/LEFT]
 
[LEFT]
help بیلدر بهترین منبع برای راهنمایی تونه. ضمناً کسی دیگه این نسحه ای که شما دارین رو استفاده نمیکنه و مثالها هم با آخرین ورژن بیلدر ساخته میشه.بهتره آخرین نسخه رو دانلود و استفاده کنید.
 

جدیدترین ارسال ها

بالا