Ticket #310 (closed enhancement: fixed)
add TextModel and extend models instead of having a flat list.
| Reported by: | jeroen | Owned by: | jeroen |
|---|---|---|---|
| Priority: | Milestone: | Flash 4.3 | |
| Component: | Keywords: | ||
| Cc: | Forum thread: |
Description
Change History
comment:2 Changed 5 years ago by jeroen
- Status changed from new to closed
- Resolution set to fixed
- Extending the models isn't really needed yet, but easy enough: VideoModel > HTTPModel + RTMPModel. Let's do this when the first CDN-specific models are being written.
- A TextModel tends to add more issues than it solves: which text? description? So discarded.
Adding custom models is now very simple:
- Write the model (implementing ModelInterface)
- Add the model to the Model.as lists' loadModel.
- Load a video with the 'file' and 'type=mymodel' flashvars.
If autodetection of a certain model is needed, the Controller.as' getModelType() function can be amended.
Note: See
TracTickets for help on using
tickets.
