Jump to content

Search the Community

Showing results for tags 'WidgetFlash'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Welcome to UNIGINE Forums
    • News & Announcements
    • Getting started
  • Development
    • Content Creation
    • World Design
    • Rendering
    • Animation
    • Physics, Navigation and Path Finding
    • UI Systems
    • Sound & Video
    • Editor
    • C++ Programming
    • C# Programming
    • Networking
    • Sim IG (Image Generator)
    • VR Discussions
    • General
  • Improving UNIGINE
    • Documentation
    • Feedback for UNIGINE team
    • Bug Reports
    • Unigine SDK Beta feedback
  • Community
    • Add-on Store (https://store.unigine.com/)
    • Showcase
    • Collaboration
    • Tools, Plugins, Materials & Tutorials
    • General Discussions
  • Legacy
    • UnigineScript

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Found 11 results

  1. Hello. Проблема с наследование от MovieClip во Flash. Пример прилагается: Есть клип (movie) к которому подключен класс (_movie) без наследования, в клипе есть несколько кадров, по которым будем переключаться с помощью функции в классе. Если сейчас откомпилировать данный пример во Flash, то ничего работать не будет, обязательно надо в классе (_movie) сделать наследование от extends MovieClip. А вот в Unigine все как раз наоборот, будет работать. Если наследование сделать, то во Flash работать будет хорошо, а в Unigine будет много ошибок. ===================== translation from google ===================== The problem with inheriting from MovieClip in Flash. Example attached: a clip (movie) is connected to the class (_movie) without inheritance, the clip is a few frames, which will switch from using in the classroom. If you now compile this example in Flash, then it will not work, be sure to be in the class (_movie) to inherit from extends MovieClip. But in Unigine is just the opposite will work. If inheritance is done, the Flash will work well, and in Unigine will be a lot of errors. Thank you. flash_mc.zip
  2. Здравствуйте. Проблема с наследованием в классах Flash. Простой пример прилагается. Результаты во Flash и Unigine разные. вкратце: Проблема заключается в обращении из frame к функции (в примере Hide() ), которая имеет одинаковое имя во всех трех классах. Мы вызываем Hide() из FIRST, а срабатывает Hide из SECOND. Проблема исчезнет если убрать у классов наследников наследование от родителя "extends _main". Спасибо. ===================== translation from google ===================== Hello The problem with inheritance in classes Flash. A simple example is attached. Results in Flash and Unigine different. briefly: The problem is to use a function of the from frame (in the example Hide() ), which has the same name in all three classes. We call Hide() from FIRST, and works from Hide SECOND. The problem goes away if you remove the classes of heirs to inherit from parent "extends _main". Thank you. flash.rar
  3. Hello Perhaps in a future version of the engine Unigine, implement support for a 'WidgetFlash.Button' properties 'enabled'? Thanks in advance. ===================== translation from google ===================== Здравствуйте. Возможно в будущей версии движка Unigine, реализовать поддержку у 'WidgetFlash.Button' свойства 'enabled'? Заранее спасибо.
  4. Hello In WidgetFlash very common bug. Understand exactly what it is, I do not know, but there are some assumptions. Interface which I did, works fine in Flash-player, but in Unigine appears this bug. Noticed a mistake on this enigmatic appeal to clone MovieClip in function. For example: create a single cell MovieClip for equipment that handles mouse events contains graphics, icon, properties, parameters and effects. Next, from the cell to collect group of cells, such as inventory or bag, then make a copy of the inventory (or group of cells) eg for shop windows, or other equipment for the NPC. And if we now start some action with a cell from the second inventory, all actions will be reflected in the cell of the first inventory. the example below. Thank you. ===================== translation from google ===================== Здравствуйте. В WidgetFlash очень часто встречается глюк. Понять что его вызывает я не могу, но некоторые предположения есть. Интерфейс который я сделал, отлично работает под Flash-player, а вот в Unigine работать мешает этот глюк. Замечал эту загадочную ошибку на обращение к клонированным MovieClip через функцию. Например: создаем одну ячейку MovieClip для инвентаря, которая обрабатывает события мыши, содержит графику, иконку, свойства, параметры и эффекты. Далее из этой ячейки собираем группу ячеек, например инвентарь или сумку, затем сделать копию этого инвентаря к примеру для витрины магазина, или инвентаря для другого NPC. И если сейчас начать какие-нибудь действия с ячейкой из второго инвентаре, то все действия будут отражаться на ячейке из первого инвентаря. Mini example, the technique that I use: / Мини пример, техника которую использовал я: on stage in the first frame: / на сцене в первом кадре: function itemDrag (mc: MovieClip) { mc.alpha = 60; } MovieClip cell: / MovieClip ячейки: cell.onRollDrag = function () { _root.itemDrag (this); } Спасибо.
  5. Здравствуйте! После обновления Unigine, в WidgetFlash появилась проблемы, в предыдущих версиях это возможность была плюсом. Верните её обратно, пожалуйста. Причина в деталях: Если сделать UI во Flash, а при использовании его в движке Unigine, размер делаем фиксированым: flash.setWidth(1024); flash.setHeight(768); То теперь UI не растягивается с искажением, и работает как надо, в игре можно ставить любое расширение, а интерфейс выглядит отлично, Flash-ролик получает все события мышки. После обновления появилось ограничение :( Мышь со своими событиями действует только в пределах размера Flash-ролика, то есть от 0х0 до 1024х768. Если теперь переместим любой элемент за пределы этого размера, то тогда он будет пропускать события. В предыдущей версии было все шикарно, а сейчас нет. Верните эту возможность, пожалуйста. P.S.: У Buttom события работают нормально. Спасибо! ===================== translation from google ===================== Hello! After the upgrade, Unigine, in WidgetFlash a problem, in previous versions, this feature was a plus. Return it back, please. The reason in detail: If we make the UI in Flash, but when it is used in the engine Unigine, size do fixity: flash.setWidth (1024); flash.setHeight (768), now the UI does not stretch, and works as expected, the game can install any extension and the interface will look great, Flash-movie gets all mouse events. After the upgrade, there was limitation: (Mouse with their events is only valid within the size of Flash-movie, that is from 0x0 to 1024x768. If we move any element beyond this size, then it will skip the event. Previous versions were all gorgeous, but right now I do not. Return this opportunity, please. PS: Button events are working properly. Thank you!
  6. Здравствуйте! Реализуйте пожалуйста в следующей версии Unigine, функцию swapDepths в WidgetFlash. Спасибо. ===================== translation from google ===================== Hello! Implement please in the next version of Unigine, function in swapDepths WidgetFlash. Thanks.
  7. Hello Unigine Team, sorry that I need to annoy you again with another question: I'm trying to include in my WidgetFlash a ComboBox or Label, a normal elipse or so on as "button" (like in https://developer.un...lling-function/) is shown but the rest components are not shown. I attached the example. Hope you can help me :wacko: PS: AS 2.0 is used. PS: We're trying to reimplement our menu with a flash menu that's why I'm comming up in the forum at the moment. Best regards and thanks. Graphefruit ui_layout.zip
  8. Hello. Created an interface with WidgetFlash, but there was a problem. If you click the mouse on the panel Flash, the event 'click' on WidgetFlash work on the stage and Unigine. It is possible to stop the spread of the event? Thank.
  9. Hello I can not understand how it works WidgetFlash :: loadMovie. example: var counter:Number = 0; this.createEmptyMovieClip( 'contener', 0 ); onEnterFrame = function() { counter++; if (counter >= 100) { counter = 0; string = 'icons/' + String(Math.round(Math.random() * 17)) + '.png'; contener.loadMovie( string ); trace( string ); } } In Flash, everything works perfectly, Unigine icon is loaded only once, the next load is performed. Thank you.
  10. Hello! I can not understand how the HitTest in WidgetFlash. In one example, everything works fine with another problem in Unigine. I want to implement Drag & Drop onMouseUp = function() { for (var i = 0; i < 20; i++ ){ var mc:MovieClip = _root.group['cell'+i]; if ( mc.hitTest( mouse ) ) { trace(mc._name); return; } } }
  11. Hello! Simply as an example: ///////// Example 1 /////////// var arr:Array = new Array(); trace('Len: ' + arr.length); // Print: Len: 0 // Right! ///////// Example 2 /////////// var arr:Array = new Array("one"); trace('Len: ' + arr.length); // Print: Len: 0 // Error! ///////// Example 3 /////////// var arr:Array = new Array("one", "two"); trace('Len: ' + arr.length); // Print: Len: 2 // Right! Thank you.
×
×
  • Create New...